- public void updateI18n() {
- putValue(Action.NAME, I18n.get(i18nName + ".name"));
- putValue(Action.MNEMONIC_KEY, I18n.getKey(i18nName + ".mnemonic"));
- putValue(Action.ACCELERATOR_KEY, I18n.getKeyStroke(i18nName + ".accelerator"));
- putValue(Action.SHORT_DESCRIPTION, I18n.get(i18nName + ".shortDescription"));
- putValue(Action.LONG_DESCRIPTION, I18n.get(i18nName + ".longDescription"));
+ public void updateI18n(I18n i18n) {
+ putValue(Action.NAME, i18n.get(i18nName + ".name"));
+ putValue(Action.MNEMONIC_KEY, i18n.getKey(i18nName + ".mnemonic"));
+ putValue(Action.ACCELERATOR_KEY, i18n.getKeyStroke(i18nName + ".accelerator"));
+ putValue(Action.SHORT_DESCRIPTION, i18n.get(i18nName + ".shortDescription"));
+ putValue(Action.LONG_DESCRIPTION, i18n.get(i18nName + ".longDescription"));