Ignore:
Timestamp:
2003-10-07T15:35:23+13:00 (21 years ago)
Author:
mdewsnip
Message:

Changed calls to the Dictionary.

Location:
trunk/gli/src/org/greenstone/gatherer/shell
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/shell/GImportProgressMonitor.java

    r5564 r5593  
    159159
    160160    public void saving() {
    161     progress_bar.setString(Dictionary.newget("SaveProgressDialog.Title"));
     161    progress_bar.setString(Dictionary.get("SaveProgressDialog.Title"));
    162162    progress_bar.setValue(MAX / (10 * 2));
    163163    }
     
    174174     */
    175175    public void start() {
    176     progress_bar.setString(Dictionary.newget("FileActions.Calculating_Size"));
     176    progress_bar.setString(Dictionary.get("FileActions.Calculating_Size"));
    177177    progress_bar.setValue(MAX / 10);
    178178    num_files = Gatherer.c_man.getCollection().getDocumentCount();
  • trunk/gli/src/org/greenstone/gatherer/shell/GShell.java

    r5581 r5593  
    151151        }
    152152        ///ystem.err.println("Command: " + command);
    153         fireMessage(type, Dictionary.newget("GShell.Command") + ": " + command, status);
     153        fireMessage(type, Dictionary.get("GShell.Command") + ": " + command, status);
    154154               
    155155        Runtime rt = Runtime.getRuntime();
     
    188188        if(prcs.exitValue() == 0) {
    189189            status = OK;
    190             fireMessage(type, typeAsString(type) + "> " + Dictionary.newget("GShell.Success"), status);
     190            fireMessage(type, typeAsString(type) + "> " + Dictionary.get("GShell.Success"), status);
    191191        }
    192192        else {
    193193            status = ERROR;
    194             fireMessage(type, typeAsString(type) + "> " + Dictionary.newget("GShell.Failure"), status);
     194            fireMessage(type, typeAsString(type) + "> " + Dictionary.get("GShell.Failure"), status);
    195195        }
    196196        }
     
    210210    // If no error occured, and this was an import process we now extract any new metadata from the archive directory.
    211211    if(status == OK && type == IMPORT) {
    212         fireMessage(type, typeAsString(type) + "> " + Dictionary.newget("GShell.Parsing_Metadata_Start"), status);
     212        fireMessage(type, typeAsString(type) + "> " + Dictionary.get("GShell.Parsing_Metadata_Start"), status);
    213213        new GreenstoneArchiveParser(progress, this);
    214         fireMessage(type, typeAsString(type) + "> " + Dictionary.newget("GShell.Parsing_Metadata_Complete"), status);
     214        fireMessage(type, typeAsString(type) + "> " + Dictionary.get("GShell.Parsing_Metadata_Complete"), status);
    215215    }
    216216    // Tidy up.
     
    292292    switch(type) {
    293293    case BUILD:
    294         name = Dictionary.newget("GShell.Build");
     294        name = Dictionary.get("GShell.Build");
    295295        break;
    296296    case IMPORT:
    297         name = Dictionary.newget("GShell.Import");
     297        name = Dictionary.get("GShell.Import");
    298298        break;
    299299    case NEW:
    300         name = Dictionary.newget("GShell.New");
     300        name = Dictionary.get("GShell.New");
    301301        break;
    302302    default:
    303         name = Dictionary.newget("GShell.Other");
     303        name = Dictionary.get("GShell.Other");
    304304    }
    305305    return name;
Note: See TracChangeset for help on using the changeset viewer.