-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
beta2
-
generic
-
generic
-
Verified
The underline for shortcut in Swatches tab on ColorChooser^Vplaces at ')' in ja locale
even if it defines mnemonic char as 'S' and the localized string has mnemonic char 'S'.
basic_ja.properties:
ColorChooser.swatchesNameText=\u30b5\u30f3\u30d7\u30eb(S)
ColorChooser.swatchesMnemonic=83
ColorChooser.swatchesDisplayedMnemonicIndex=6
It seems that the number of 'ColorChooser.swatchesDisplayedMnemonicIndex' is for
displaying the underline for shortcut and it's not associated with mnemonic char
defined in 'ColorChooser.swatchesMnemonic'. I think this implementation is very
weird and the index of the location for underline does not need.
even if it defines mnemonic char as 'S' and the localized string has mnemonic char 'S'.
basic_ja.properties:
ColorChooser.swatchesNameText=\u30b5\u30f3\u30d7\u30eb(S)
ColorChooser.swatchesMnemonic=83
ColorChooser.swatchesDisplayedMnemonicIndex=6
It seems that the number of 'ColorChooser.swatchesDisplayedMnemonicIndex' is for
displaying the underline for shortcut and it's not associated with mnemonic char
defined in 'ColorChooser.swatchesMnemonic'. I think this implementation is very
weird and the index of the location for underline does not need.
- relates to
-
JDK-5038931 Please stop using MnemonicIndex in .properties file
- Resolved