-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b34
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2223947 | 7u6 | Alexandr Scherbatiy | P3 | Closed | Fixed | b12 |
WPTG (translation team) translatability (t13y) requirement:
When designing GUI that includes mnemonics, please define the text label and
mnemonic character in one resource, with the mnemonic character preceded by
ampersand (&).
DO THIS
English :
MENU_TEXT_AND_MNEMONIC=&File
Japanese :
MENU_TEXT_AND_MNEMONIC=ファイル(&F)
DO NOT DO THIS
English :
MENU_TEXT=File
MENU_MNEMONIC=F
Japanese :
MENU_TEXT=ファイル(F)
MENU_MNEMONIC=F
The issue has been identified on the following Swing files:
jdk/src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk.properties
jdk/src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic.properties
jdk/src/closed/share/demo/jfc/SwingSet2/resources/swingset.properties
This issue also impacts:
jdk/src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal.properties
When designing GUI that includes mnemonics, please define the text label and
mnemonic character in one resource, with the mnemonic character preceded by
ampersand (&).
DO THIS
English :
MENU_TEXT_AND_MNEMONIC=&File
Japanese :
MENU_TEXT_AND_MNEMONIC=ファイル(&F)
DO NOT DO THIS
English :
MENU_TEXT=File
MENU_MNEMONIC=F
Japanese :
MENU_TEXT=ファイル(F)
MENU_MNEMONIC=F
The issue has been identified on the following Swing files:
jdk/src/share/classes/com/sun/java/swing/plaf/gtk/resources/gtk.properties
jdk/src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic.properties
jdk/src/closed/share/demo/jfc/SwingSet2/resources/swingset.properties
This issue also impacts:
jdk/src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal.properties
- backported by
-
JDK-2223947 NLS: Please change the mnemonic assignment system to avoid translation issue (Swing files)
-
- Closed
-
- relates to
-
JDK-7158926 NLS: Please change the mnemonic assignment system in swing demos
-
- Resolved
-
-
JDK-7013850 Please change the mnemonic assignment system to avoid translation issue
-
- Closed
-
-
JDK-7169226 NLS: Please change the mnemonic assignment system for windows and motif properties
-
- Resolved
-
-
JDK-7158928 [macosx] NLS: Please change the mnemonic assignment system
-
- Closed
-