Ignore:
Timestamp:
2005-02-02T14:47:06+13:00 (19 years ago)
Author:
kjdon
Message:

now we specify a dictionary name. also some calls to getTextString, the args are in a different order

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2Construct.java

    r7993 r8955  
    228228    // check that the coll is there in the first place
    229229    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));
    231231        status.appendChild(t);
    232232        status.setAttribute(GSXML.STATUS_ERROR_CODE_ATT, Integer.toString(GSStatus.ERROR));
     
    236236    // try to delete the directory
    237237    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));
    239239        status.setAttribute(GSXML.STATUS_ERROR_CODE_ATT, Integer.toString(GSStatus.ERROR));
    240240        status.appendChild(t);
     
    309309       
    310310    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));
    312312        status.setAttribute(GSXML.STATUS_ERROR_CODE_ATT, Integer.toString(GSStatus.ERROR));
    313313        status.appendChild(t);
     
    316316       
    317317    // 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));
    319319    status.setAttribute(GSXML.STATUS_ERROR_CODE_ATT, Integer.toString(GSStatus.SUCCESS));
    320320    status.appendChild(t);
Note: See TracChangeset for help on using the changeset viewer.