Changeset 5593 for trunk/gli/src/org/greenstone/gatherer/shell
- Timestamp:
- 2003-10-07T15:35:23+13:00 (21 years ago)
- 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 159 159 160 160 public void saving() { 161 progress_bar.setString(Dictionary. newget("SaveProgressDialog.Title"));161 progress_bar.setString(Dictionary.get("SaveProgressDialog.Title")); 162 162 progress_bar.setValue(MAX / (10 * 2)); 163 163 } … … 174 174 */ 175 175 public void start() { 176 progress_bar.setString(Dictionary. newget("FileActions.Calculating_Size"));176 progress_bar.setString(Dictionary.get("FileActions.Calculating_Size")); 177 177 progress_bar.setValue(MAX / 10); 178 178 num_files = Gatherer.c_man.getCollection().getDocumentCount(); -
trunk/gli/src/org/greenstone/gatherer/shell/GShell.java
r5581 r5593 151 151 } 152 152 ///ystem.err.println("Command: " + command); 153 fireMessage(type, Dictionary. newget("GShell.Command") + ": " + command, status);153 fireMessage(type, Dictionary.get("GShell.Command") + ": " + command, status); 154 154 155 155 Runtime rt = Runtime.getRuntime(); … … 188 188 if(prcs.exitValue() == 0) { 189 189 status = OK; 190 fireMessage(type, typeAsString(type) + "> " + Dictionary. newget("GShell.Success"), status);190 fireMessage(type, typeAsString(type) + "> " + Dictionary.get("GShell.Success"), status); 191 191 } 192 192 else { 193 193 status = ERROR; 194 fireMessage(type, typeAsString(type) + "> " + Dictionary. newget("GShell.Failure"), status);194 fireMessage(type, typeAsString(type) + "> " + Dictionary.get("GShell.Failure"), status); 195 195 } 196 196 } … … 210 210 // If no error occured, and this was an import process we now extract any new metadata from the archive directory. 211 211 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); 213 213 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); 215 215 } 216 216 // Tidy up. … … 292 292 switch(type) { 293 293 case BUILD: 294 name = Dictionary. newget("GShell.Build");294 name = Dictionary.get("GShell.Build"); 295 295 break; 296 296 case IMPORT: 297 name = Dictionary. newget("GShell.Import");297 name = Dictionary.get("GShell.Import"); 298 298 break; 299 299 case NEW: 300 name = Dictionary. newget("GShell.New");300 name = Dictionary.get("GShell.New"); 301 301 break; 302 302 default: 303 name = Dictionary. newget("GShell.Other");303 name = Dictionary.get("GShell.Other"); 304 304 } 305 305 return name;
Note:
See TracChangeset
for help on using the changeset viewer.