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

Stylepad demo: remove non-translatable resources from Stylepad.properties file

XMLWordPrintable

    • b40
    • generic
    • generic

        jdk/src/closed/share/demo/jfc/Stylepad/resources/Stylepad.properties contains the following non-translatable resources. When translated, it causes NPE. They need to be moved out of the translatable resource file.
        +# The following string should NOT be translated: menubar
        +# The following string should NOT be translated: font
        +# The following string should NOT be translated: family1Action
        +# The following string should NOT be translated: family2Action
        +# The following string should NOT be translated: family3Action
        +# The following string should NOT be translated: family4Action
        +# The following string should NOT be translated: size1Action
        +# The following string should NOT be translated: size2Action
        +# The following string should NOT be translated: size3Action
        +# The following string should NOT be translated: size4Action
        +# The following string should NOT be translated: size5Action
        +# The following string should NOT be translated: boldAction
        +# The following string should NOT be translated: italicAction
        +# The following string should NOT be translated: underlineAction
        +# The following string should NOT be translated: debug
        +# The following string should NOT be translated: dumpAction
        +# The following string should NOT be translated: toolbar
        +# The following string should NOT be translated: leftAction
        +# The following string should NOT be translated: centerAction
        +# The following string should NOT be translated: rightAction

              alexsch Alexandr Scherbatiy
              mfang Michael Fang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: