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

NLS: Please change the mnemonic assignment system to avoid translation issue (Swing files)

    Details

    • Subcomponent:
    • Resolved In Build:
      b34
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alexsch Alexander Scherbatiy (Inactive)
                  Reporter:
                  mfang Michael Fang (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: