JDK-8030694 : [sv] Invalide character is used for mnemonic on JCP
  • Type: Bug
  • Component: globalization
  • Sub-Component: translation
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-12-18
  • Updated: 2014-02-03
  • Resolved: 2014-01-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8 b124Fixed 9Fixed
Related Reports
Relates :  
Description
In JCP in sv, \u00C5 is used as mnemonic.
Deployment_sv.java:        
{ "cert.restore_dialog.btn_restore.text", "&\u00C5terst\u00E4ll alla"},
{ "security.certificates.restore_button.text", "&\u00C5terst\u00E4ll s\u00E4kerhetsmeddelanden"},
{ "cache.settings.dialog.restore_btn", "&\u00C5terst\u00E4ll standardv\u00E4rden" },

Some others:
 { "deploy.jre.find.button", "S&\u00F6k" },
 { "cache.settings.dialog.change_btn", "&\u00C4ndra..." },

According to the Java API:
A mnemonic must correspond to a single key on the keyboard and should be specified using one of the VK_XXX keycodes defined in java.awt.event.KeyEvent. 

Those mnemonic keys are not in the keycodes in java.awt.event.KeyEvent and can not be displayed in JCP. English characters in the text should be used as mnemonic keys.


Comments
Verified in b124. http://bej301328.cn.oracle.com/gatejava/test/jdk/results/8/b124/jre-x86-offline.html
20-01-2014

It's better to be verified in promotion build.
14-01-2014

It's verified with Michael's internal build. So far, the bug is not in master and promoted build. Do I need to verify it now or wait for the promoted build?
14-01-2014

Could you please help verify?
14-01-2014

applying workaround using regular ASCII mnemonic assignments
07-01-2014

% diff Deployment_sv.java.ori Deployment_sv.java | native2ascii -reverse 673c673 < { "cert.restore_dialog.btn_restore.text", "&��terst��ll alla"}, --- > { "cert.restore_dialog.btn_restore.text", "��t&erst��ll alla"}, 689c689 < { "deploy.jre.find.button", "S&��k" }, --- > { "deploy.jre.find.button", "S��&k" }, 1184c1184 < { "security.certificates.restore_button.text", "&��terst��ll s��kerhetsmeddelanden"}, --- > { "security.certificates.restore_button.text", "��te&rst��ll s��kerhetsmeddelanden"}, 1271c1271 < { "cache.settings.dialog.restore_btn", "&��terst��ll standardv��rden" }, --- > { "cache.settings.dialog.restore_btn", "��t&erst��ll standardv��rden" }, 1277c1277 < { "cache.settings.dialog.change_btn", "&��ndra..." }, --- > { "cache.settings.dialog.change_btn", "��&ndra..." },
07-01-2014