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/TextRunner.java

    r15210 r17514  
    4747    implements Runner {
    4848   
    49     private static final ResourceBundle res = ResourceBundle.getBundle("resources.LanguagePack");
    50 
    5149    protected final InstallerContext ctx;
    5250    protected final Installer installer;
     
    8684            logger.log(installer, ex);
    8785           
    88             ctx.getMessageRenderer().printMessage(res.getString("installationFailed") + ":" + ex.getMessage());
     86            ctx.getMessageRenderer().printMessage(org.tp23.antinstaller.Installer.langPack.getString("installationFailed") + ":" + ex.getMessage());
    8987            //Fixed BUG: ctx.getMessageRenderer().printMessage("Installation failed:"+ex.getMessage());
    9088            throw new InstallException("Installation failed", ex);
     
    127125     */
    128126    public void antFinished() {
    129         System.out.println(res.getString("finished"));
     127        System.out.println(org.tp23.antinstaller.Installer.langPack.getString("finished"));
    130128        //System.exit(0);
    131129    }
     
    134132     */
    135133    public void fatalError(){
    136         System.out.println(res.getString("failed"));
     134        System.out.println(org.tp23.antinstaller.Installer.langPack.getString("failed"));
    137135        //System.exit(1);
    138136    }
Note: See TracChangeset for help on using the changeset viewer.