Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7000757

NLS: Converter.java and Deployment.java cannot be processed by translation team

XMLWordPrintable

    • b123
    • generic
    • generic
    • Verified

        Translation team cannot handle function calls in resource files. Please move these into separate resource files so that we can handle the translation manually.

        deploy/src/plugin/share/converter/sun/plugin/converter/resources/Converter.java
        % grep VK Converter.java
                { "button.reset.acceleratorKey", new Integer(KeyEvent.VK_R)},
                { "button.okay.acceleratorKey", new Integer(KeyEvent.VK_O)},
                { "button.cancel.acceleratorKey", new Integer(KeyEvent.VK_C)},
                { "button.done.acceleratorKey", new Integer(KeyEvent.VK_D)},
                { "button.browse.dir.acceleratorKey", new Integer(KeyEvent.VK_B)},
                { "button.browse.backup.acceleratorKey", new Integer(KeyEvent.VK_R)},
                { "button.convert.acceleratorKey", new Integer(KeyEvent.VK_C)},
                { "advanced_dialog.generate.acceleratorKey", new Integer(KeyEvent.VK_G)},
                { "converter_gui.lablel3.acceleratorKey", new Integer(KeyEvent.VK_I)},
                { "menu.file.acceleratorKey", new Integer(KeyEvent.VK_F)},
                { "menu.exit.acceleratorKey", new Integer(KeyEvent.VK_X)},
                { "menu.edit.acceleratorKey", new Integer(KeyEvent.VK_E)},
                { "menu.option.acceleratorKey", new Integer(KeyEvent.VK_O)},
                { "menu.help.acceleratorKey", new Integer(KeyEvent.VK_H)},
                { "menu.about.acceleratorKey", new Integer(KeyEvent.VK_A)},
                { "static.versioning.radio.button.acceleratorKey", new Integer(KeyEvent.VK_U)},
                { "dynamic.versioning.radio.button.acceleratorKey", new Integer(KeyEvent.VK_S)},

        deploy/src/common/share/classes/com/sun/deploy/resources/Deployment.java
        % grep VK Deployment.java
                { "console.clear.acceleratorKey", new Integer(KeyEvent.VK_C)},
                { "console.close.acceleratorKey", new Integer(KeyEvent.VK_E) },
                { "console.copy.acceleratorKey", new Integer(KeyEvent.VK_Y) },
                { "security.dialog.always.mnemonic", "VK_A" },
                { "security.more.info.details.acceleratorKey", new Integer(KeyEvent.VK_C)},
                { "password.dialog.username.acceleratorKey", new Integer(KeyEvent.VK_U)},
                { "password.dialog.password.acceleratorKey", new Integer(KeyEvent.VK_P)},
                { "password.dialog.domain.acceleratorKey", new Integer(KeyEvent.VK_D)},
                { "cert.dialog.close.acceleratorKey", new Integer(KeyEvent.VK_C) },
                { "dialogfactory.confirm.yes.acceleratorKey", new Integer(KeyEvent.VK_Y)},
                { "dialogfactory.confirm.no.acceleratorKey", new Integer(KeyEvent.VK_N)},
                { "dialogfactory.moreInfo.acceleratorKey", new Integer(KeyEvent.VK_M)},
                { "dialogfactory.lessInfo.acceleratorKey", new Integer(KeyEvent.VK_L)},
                { "cert.remove_button.mnemonic", "VK_M" },
                { "cert.import_button.mnemonic", "VK_I" },
                { "cert.export_button.mnemonic", "VK_E" },
                { "cert.details_button.mnemonic", "VK_D" },
                { "cert.viewcert_button.mnemonic", "VK_V" },
                { "deploy.jre.find.button.mnemonic", "VK_F" },
                { "deploy.jre.add.button.mnemonic", "VK_A" },
                { "deploy.jre.remove.button.mnemonic", "VK_R" },
                { "find.cancelButtonMnemonic", "VK_C"},
                { "find.prevButtonMnemonic", "VK_P"},
                { "find.nextButtonMnemonic", "VK_X"},
                { "viewer.close.mnemonic", "VK_C"},
                { "viewer.help.mnemonic", "VK_H"},
                { "viewer.run.online.menuitem.mnemonic", "VK_R" },
                { "viewer.run.offline.menuitem.mnemonic", "VK_O" },
                { "viewer.remove.menuitem.mnemonic", "VK_D" },
                { "viewer.install.menuitem.mnemonic", "VK_I" },
                { "viewer.show.menuitem.mnemonic", "VK_S" },
                { "viewer.show.resource.menuitem.mnemonic", "VK_S" },
                { "viewer.home.menuitem.mnemonic", "VK_H" },
                { "viewer.import.menuitem.mnemonic", "VK_I" },
                { "common.ok_btn.mnemonic", "VK_O" },
                { "common.cancel_btn.mnemonic", "VK_C" },
                { "common.apply_btn.mnemonic", "VK_A" },
                { "common.add_btn.mnemonic", "VK_A" },
                { "common.remove_btn.mnemonic", "VK_R" },
                { "browser_rbtn.mnemonic", "VK_B" },
                { "manual_rbtn.mnemonic", "VK_P" },
                { "network.settings.dlg.advanced_btn.mnemonic", "VK_A" },
                { "network.settings.dlg.bypass.mnemonic", "VK_Y" },
                { "autoconfig_rbtn.mnemonic", "VK_T" },
                { "direct_rbtn.mnemonic", "VK_D" },
                { "advanced.network.dlg.same_proxy.mnemonic", "VK_U" },
                { "general.cache.delete.text.mnemonic", "VK_D" },
                { "general.cache.settings.text.mnemonic", "VK_S" },
                { "general.network.settings.text.mnemonic", "VK_N" },
                { "general.about.btn.mnemonic", "VK_B" },
                { "general.cache.view.text.mnemonic", "VK_V"},
                { "security.certificates.button.mnemonic", "VK_E" },
                { "security.policies.advanced.mnemonic", "VK_D" },
                { "update.updatenow.button.mnemonic", "VK_U" },
                { "update.advanced.button.mnemonic", "VK_D" },
                { "cache.settings.dialog.delete_btn.mnemonic", "VK_D" },
                { "cache.settings.dialog.restore_btn.mnemonic", "VK_R" },
                { "cache.settings.dialog.change_btn.mnemonic", "VK_H" },
                { "cache.settings.dialog.cacheEnabled.mnemonic", "VK_K" },
                { "dialog.template.more.info.acceleratorKey", new Integer(KeyEvent.VK_M) },
                { "deploy.advanced.browse.browse_btn.mnemonic", "VK_B" },
                { "java.panel.jre_view_btn.mnemonic", "VK_V" },
                { "download.jre.prompt.okButton.acceleratorKey", new Integer(KeyEvent.VK_D)},
                { "download.jre.prompt.cancelButton.acceleratorKey", new Integer(KeyEvent.VK_C)},
                { "autoupdatecheck.buttonYes.mnemonic", "VK_Y" },
                { "autoupdatecheck.buttonNo.mnemonic", "VK_N" },
                { "autoupdatecheck.buttonAskLater.mnemonic", "VK_A" },
                { "applet.error.details.btn.mnemonic", "VK_D" },
                { "applet.error.ignore.btn.mnemonic", "VK_I" },
                { "applet.error.reload.btn.mnemonic", "VK_R" },
                {"progress_dialog.dismiss_button.acceleratorKey", new Integer(KeyEvent.VK_D)},

              nam Nam Nguyen (Inactive)
              mfang Michael Fang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: