United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7024965 Stylepad demo: remove non-translatable resources from Stylepad.properties file
JDK-7024965 : Stylepad demo: remove non-translatable resources from Stylepad.properties file

Details
Type:
Bug
Submit Date:
2011-03-06
Status:
Closed
Updated Date:
2013-07-01
Project Name:
JDK
Resolved Date:
2012-05-22
Component:
client-libs
OS:
generic
Sub-Component:
demo
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Relates:
Relates:
Relates:

Sub Tasks

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
EVALUATION

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

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

The non-translatable resources are moved into the StylepadSystem.properties file.
                                     
2012-05-12
Checked in b96 ws.
                                     
2013-07-01



Hardware and Software, Engineered to Work Together