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/runtime/ExecInstall.java

    r17314 r17514  
    4949public class ExecInstall {
    5050
    51     private static final ResourceBundle res = ResourceBundle.getBundle("resources.LanguagePack");
    5251    public static final String CONFIG_RESOURCE = "/org/tp23/antinstaller/runtime/exe/script.fconfig";
    5352   
     
    118117                MessageRenderer vLogger = ctx.getMessageRenderer();
    119118                if(vLogger != null){
    120                     vLogger.printMessage(res.getString("installationFailed") + "\n" + ex.getMessage());
     119                    vLogger.printMessage(org.tp23.antinstaller.Installer.langPack.getString("installationFailed") + "\n" + ex.getMessage());
    121120                    //Fixed BUG:1295944 vLogger.printMessage("Install failed\n" + ex.getMessage());
    122121                } else {
    123                     System.err.println(res.getString("installationFailed") + ex.getClass().getName());
     122                    System.err.println(org.tp23.antinstaller.Installer.langPack.getString("installationFailed") + ex.getClass().getName());
    124123                    System.err.println(ex.getMessage());
    125124                }
Note: See TracChangeset for help on using the changeset viewer.