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

Please stop using MnemonicIndex in .properties file

    XMLWordPrintable

    Details

      Description

      Some mnemonics need to be specified with indices. For example, in basic.properties,
        ColorChooser.swatchesNameText=Swatches
        ColorChooser.swatchesMnemonic=83
        ColorChooser.swatchesDisplayedMnemonicIndex=0

      This is a bit inconvenient for translators.
      If the mnemonic index is wrongly set, a wrong character is underlined.

      Because most mnemonics in the same file can be specified without indices, it's
      difficult to understand why indice are necessary for only some mnemonics.
      Is it possible to eliminate indice from .properties file? It should be effective
      to reduce mistakes on translation and make translators' work easier.

      At least, we'll appreciate it if you don't add new indice to .properties file
      in future releases!


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alexsch Alexandr Scherbatiy
              Reporter:
              peytoia Yuka Kamiya (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: