Ignore:
Timestamp:
2008-10-10T09:05:07+13:00 (16 years ago)
Author:
oranfry
Message:

changes to the way ant-installer loads and reloads the language packs, and a new attribute to the select input which triggers it to change the language to the input value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/shared/ant-installer/src/org/tp23/antinstaller/input/AppRootInput.java

    r15210 r17514  
    3636    extends DirectoryInput {
    3737
    38     private static final ResourceBundle res = ResourceBundle.getBundle("resources.LanguagePack");
    39 
    40 
    4138    private String checkFile1;
    4239    private String checkFile2;
     
    6360//      }
    6461        if(!file.isDirectory()){
    65             mr.printMessage(res.getString("dirNotExist")+":"+file.getAbsolutePath());
     62            mr.printMessage(org.tp23.antinstaller.Installer.langPack.getString("dirNotExist")+":"+file.getAbsolutePath());
    6663            return false;
    6764        }
     
    9289    private void reportMissing(MessageRenderer mr,File missing){
    9390        StringBuffer message = new StringBuffer();
    94         message.append(res.getString("appRootInvalid"));
     91        message.append(org.tp23.antinstaller.Installer.langPack.getString("appRootInvalid"));
    9592        message.append(System.getProperty("line.separator"));
    9693        if(missing.isDirectory()){
    97             message.append(res.getString("dirNotExist"));
     94            message.append(org.tp23.antinstaller.Installer.langPack.getString("dirNotExist"));
    9895        }
    9996        else{
    100             message.append(res.getString("fileNotExist"));
     97            message.append(org.tp23.antinstaller.Installer.langPack.getString("fileNotExist"));
    10198        }
    10299        message.append(":");
Note: See TracChangeset for help on using the changeset viewer.