JDK-7024965 : Stylepad demo: remove non-translatable resources from Stylepad.properties file
  • Type: Bug
  • Component: client-libs
  • Sub-Component: demo
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-03-06
  • Updated: 2014-10-13
  • Resolved: 2012-05-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u6Fixed 8 b40Fixed
Related Reports
Relates :  
Relates :  
Description
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

Comments
Checked in b96 ws.
01-07-2013

EVALUATION The non-translatable resources are moved into the StylepadSystem.properties file.
12-05-2012

EVALUATION We are requested to extract non-translatable resources to a new property file.
07-03-2012

EVALUATION The evaluation is equal to #7024965, I see no reasons to touch Stylepad.properties file
06-03-2012