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/renderer/text/LicensePageRenderer.java

    r15353 r17514  
    3131    extends AbstractTextPageRenderer {
    3232
    33     private static final ResourceBundle res = ResourceBundle.getBundle("resources.LanguagePack");
    34     private static final String nextChar = res.getString("nextChar");
     33    private static final String nextChar = org.tp23.antinstaller.Installer.langPack.getString("nextChar");
    3534   
    3635    private boolean usePaging = false;
     
    5554            BufferedReader commandReader = reader;
    5655            out.println();
    57             out.println(res.getString("clickViewLicense"));
     56            out.println(org.tp23.antinstaller.Installer.langPack.getString("clickViewLicense"));
    5857            commandReader.readLine();
    5958
     
    9796            }
    9897            out.println();
    99             out.println(res.getString("licenseAccept"));
     98            out.println(org.tp23.antinstaller.Installer.langPack.getString("licenseAccept"));
    10099            command = commandReader.readLine();
    101100            command = command.trim();
     
    114113
    115114    private String getNextInstructions() {
    116         return res.getString("license_next");
     115        return org.tp23.antinstaller.Installer.langPack.getString("license_next");
    117116    }
    118117}
Note: See TracChangeset for help on using the changeset viewer.