static { try { Localizer l = new Localizer("/imc/lecturnity/converter/wizard/StreamingConvertWizardData_", "en"); SOURCE = l.getLocalized("SOURCE"); TARGET = l.getLocalized("TARGET"); NA = l.getLocalized("NA"); PUBLISH = l.getLocalized("PUBLISH"); PUBLISH_LOCAL = l.getLocalized("PUBLISH_LOCAL"); PUBLISH_HTTP = l.getLocalized("PUBLISH_HTTP"); HTTP_DIR = l.getLocalized("HTTP_DIR"); HTTP_URL = l.getLocalized("HTTP_URL"); LOCAL_DIR = l.getLocalized("LOCAL_DIR"); TARGET_VER = l.getLocalized("TARGET_VER"); } catch (Exception e) { JOptionPane.showMessageDialog( null, "Could not open Locale database!\n" + "StreamingConvertWizardData\n" + e.toString(), "Error", JOptionPane.ERROR_MESSAGE); e.printStackTrace(); System.exit(1); } }
static { try { Localizer l = new Localizer("/imc/lecturnity/util/gif2png/UpdaterSelectWizardPanel_", "en"); CAPTION = l.getLocalized("CAPTION"); HEADER = l.getLocalized("HEADER"); SUBHEADER = l.getLocalized("SUBHEADER"); SELECT = l.getLocalized("SELECT"); FIND = l.getLocalized("FIND"); MNEM_FIND = l.getLocalized("MNEM_FIND").charAt(0); FILE1_DESCRIPTION = l.getLocalized("FILE1_DESCRIPTION"); FILE2_DESCRIPTION = l.getLocalized("FILE2_DESCRIPTION"); FILE3_DESCRIPTION = l.getLocalized("FILE3_DESCRIPTION"); FILE4_DESCRIPTION = l.getLocalized("FILE4_DESCRIPTION"); ERROR = l.getLocalized("ERROR"); ERR_OPEN = l.getLocalized("ERR_OPEN"); INFORMATION = l.getLocalized("INFORMATION"); INFO_LRD = l.getLocalized("INFO_LRD"); } catch (Exception e) { e.printStackTrace(); JOptionPane.showMessageDialog( null, "Localizer error in imc.lecturnity.util.gif2png.UpdaterSelectWizardPanel:\n" + e.toString(), "Error", JOptionPane.ERROR_MESSAGE); System.exit(0); } }