-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2
-
mantis
-
generic
-
generic
-
Verified
When running Control Panel in English or European locales, the accelerator keys are represented with an underline character. In Asian locales, we normally add the letter representing the accelerator key at the end of the label, wrapped with parenthesis. Ex:
ControlPanel_zh_TW.java
{ "panel.help_close", "\u95dc\u9589" },
{ "panel.help_close.acceleratorKey", new Integer(KeyEvent.VK_C)},
should be changed to:
{ "panel.help_close", "\u95dc\u9589 (C)" },
{ "panel.help_close.acceleratorKey", new Integer(KeyEvent.VK_C)},
This should be done for all accelerator keys:
{ "panel.apply", "Apply" },
{ "panel.apply.acceleratorKey", new Integer(KeyEvent.VK_A)},
{ "panel.cancel", "Reset" },
{ "panel.cancel.acceleratorKey", new Integer(KeyEvent.VK_R)},
{ "panel.help", "Help" },
{ "panel.help.acceleratorKey", new Integer(KeyEvent.VK_H)},
{ "panel.help_close", "Close" },
{ "panel.help_close.acceleratorKey", new Integer(KeyEvent.VK_C)},
{ "cert.remove_button", "Remove" },
{ "cert.remove_button.acceleratorKey", new Integer(KeyEvent.VK_M)},
{ "cert.import_button", "Import" },
{ "cert.import_button.acceleratorKey", new Integer(KeyEvent.VK_I)},
{ "cert.export_button", "Export" },
{ "cert.export_button.acceleratorKey", new Integer(KeyEvent.VK_E)},
{ "cert.details_button", "Details" },
{ "cert.details_button.acceleratorKey", new Integer(KeyEvent.VK_D)},
{ "cert.viewcert_button", "View Certificate" },
{ "cert.viewcert_button.acceleratorKey", new Integer(KeyEvent.VK_V)},
{ "jarcache.clear", "Clear" },
{ "jarcache.clear.acceleratorKey", new Integer(KeyEvent.VK_C)},
{ "jarcache.view", "View" },
{ "jarcache.view.acceleratorKey", new Integer(KeyEvent.VK_V) },
ControlPanel_zh_TW.java
{ "panel.help_close", "\u95dc\u9589" },
{ "panel.help_close.acceleratorKey", new Integer(KeyEvent.VK_C)},
should be changed to:
{ "panel.help_close", "\u95dc\u9589 (C)" },
{ "panel.help_close.acceleratorKey", new Integer(KeyEvent.VK_C)},
This should be done for all accelerator keys:
{ "panel.apply", "Apply" },
{ "panel.apply.acceleratorKey", new Integer(KeyEvent.VK_A)},
{ "panel.cancel", "Reset" },
{ "panel.cancel.acceleratorKey", new Integer(KeyEvent.VK_R)},
{ "panel.help", "Help" },
{ "panel.help.acceleratorKey", new Integer(KeyEvent.VK_H)},
{ "panel.help_close", "Close" },
{ "panel.help_close.acceleratorKey", new Integer(KeyEvent.VK_C)},
{ "cert.remove_button", "Remove" },
{ "cert.remove_button.acceleratorKey", new Integer(KeyEvent.VK_M)},
{ "cert.import_button", "Import" },
{ "cert.import_button.acceleratorKey", new Integer(KeyEvent.VK_I)},
{ "cert.export_button", "Export" },
{ "cert.export_button.acceleratorKey", new Integer(KeyEvent.VK_E)},
{ "cert.details_button", "Details" },
{ "cert.details_button.acceleratorKey", new Integer(KeyEvent.VK_D)},
{ "cert.viewcert_button", "View Certificate" },
{ "cert.viewcert_button.acceleratorKey", new Integer(KeyEvent.VK_V)},
{ "jarcache.clear", "Clear" },
{ "jarcache.clear.acceleratorKey", new Integer(KeyEvent.VK_C)},
{ "jarcache.view", "View" },
{ "jarcache.view.acceleratorKey", new Integer(KeyEvent.VK_V) },
- relates to
-
JDK-4763612 Control Panel may need customized accelerator keys - European locales
- Resolved
-
JDK-4700282 mnemonic on Close button in ControlPanel Help dialog is not i18n'ed properly
- Closed