- Timestamp:
- 2005-02-02T14:47:06+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2Construct.java
r7993 r8955 228 228 // check that the coll is there in the first place 229 229 if (!coll_dir.exists()) { 230 t = this.doc.createTextNode(getTextString("delete.exists_error", args, lang));230 t = this.doc.createTextNode(getTextString("delete.exists_error", lang, args)); 231 231 status.appendChild(t); 232 232 status.setAttribute(GSXML.STATUS_ERROR_CODE_ATT, Integer.toString(GSStatus.ERROR)); … … 236 236 // try to delete the directory 237 237 if (!GSFile.deleteFile(coll_dir)) { 238 t = this.doc.createTextNode(getTextString("delete.delete_error", args, lang));238 t = this.doc.createTextNode(getTextString("delete.delete_error", lang, args)); 239 239 status.setAttribute(GSXML.STATUS_ERROR_CODE_ATT, Integer.toString(GSStatus.ERROR)); 240 240 status.appendChild(t); … … 309 309 310 310 if (response == null) { 311 t = this.doc.createTextNode(getTextString(action_name+".configure_error", args , lang));311 t = this.doc.createTextNode(getTextString(action_name+".configure_error", lang, args)); 312 312 status.setAttribute(GSXML.STATUS_ERROR_CODE_ATT, Integer.toString(GSStatus.ERROR)); 313 313 status.appendChild(t); … … 316 316 317 317 // if we got here, we have succeeded! 318 t = this.doc.createTextNode(getTextString(action_name+".success", args, lang));318 t = this.doc.createTextNode(getTextString(action_name+".success", lang, args)); 319 319 status.setAttribute(GSXML.STATUS_ERROR_CODE_ATT, Integer.toString(GSStatus.SUCCESS)); 320 320 status.appendChild(t);
Note:
See TracChangeset
for help on using the changeset viewer.