Ignore:
Timestamp:
2003-08-29T11:21:01+12:00 (21 years ago)
Author:
mdewsnip
Message:

Changed dictionary get()s to have the whole key.

File:
1 edited

Legend:

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

    r5152 r5349  
    150150        }
    151151        ///ystem.err.println("Command: " + command);
    152         fireMessage(type, get("Command") + ": " + command, status);
     152        fireMessage(type, get("GShell.Command") + ": " + command, status);
    153153               
    154154        Runtime rt = Runtime.getRuntime();
     
    188188        if(prcs.exitValue() == 0) {
    189189            status = OK;
    190             fireMessage(type, typeAsString(type) + "> " + get("Success"), status);
     190            fireMessage(type, typeAsString(type) + "> " + get("GShell.Success"), status);
    191191           
    192192        } else {
    193193            status = ERROR;
    194             fireMessage(type, typeAsString(type) + "> " + get("Failure"), status);
     194            fireMessage(type, typeAsString(type) + "> " + get("GShell.Failure"), status);
    195195           
    196196        }
     
    211211    // If no error occured, and this was an import process we now extract any new metadata from the archive directory.
    212212    if(status == OK && type == IMPORT) {
    213         fireMessage(type, typeAsString(type) + "> " + get("Parsing_Metadata_Start"), status);
     213        fireMessage(type, typeAsString(type) + "> " + get("GShell.Parsing_Metadata_Start"), status);
    214214        new GreenstoneArchiveParser(progress, this);
    215         fireMessage(type, typeAsString(type) + "> " + get("Parsing_Metadata_Complete"), status);
     215        fireMessage(type, typeAsString(type) + "> " + get("GShell.Parsing_Metadata_Complete"), status);
    216216    }
    217217    // Tidy up.
     
    302302    switch(type) {
    303303    case BUILD:
    304         name = get("Build");
     304        name = get("GShell.Build");
    305305        break;
    306306    case IMPORT:
    307         name = get("Import");
     307        name = get("GShell.Import");
    308308        break;
    309309    case NEW:
    310         name = get("New");
     310        name = get("GShell.New");
    311311        break;
    312312    default:
    313         name = get("Other");
     313        name = get("GShell.Other");
    314314    }
    315315    return name;
Note: See TracChangeset for help on using the changeset viewer.