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

Notepad and Stylepad demos don't run in Japanese locale.

    Details

    • Subcomponent:
    • Resolved In Build:
      b67
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        After JDK7's build mechanism change, Japanese resource file for Notepad demo *unexpectedly* became a member of Notepad.jar. As a result, Notepad demo doesn't run in Japanese locale at all since b20.

          Activity

          Hide
          peytoia Yuka Kamiya (Inactive) added a comment -
          BT2:EVALUATION

          Notepad.properties has some entties whose values should not be translated.

          Other localized resource files don't have the problem.
          Show
          peytoia Yuka Kamiya (Inactive) added a comment - BT2:EVALUATION Notepad.properties has some entties whose values should not be translated. Other localized resource files don't have the problem.
          Hide
          peytoia Yuka Kamiya (Inactive) added a comment -
          BT2:SUGGESTED FIX

          *** Notepad_ja.properties Tue Aug 21 14:38:01 2007
          --- /tmp/Notepad_ja.properties Wed Sep 19 15:28:35 2007
          ***************
          *** 10,16 ****
            #
            # Each of the strings that follow form a key to be
            # used to the actual menu definition.
          ! menubar=\u30d5\u30a1\u30a4\u30eb\u7de8\u96c6\u30c7\u30d0\u30c3\u30b0
            
            # file Menu definition
            #
          --- 10,16 ----
            #
            # Each of the strings that follow form a key to be
            # used to the actual menu definition.
          ! menubar=file edit debug
            
            # file Menu definition
            #
          ***************
          *** 21,27 ****
            # new -> Notepad.newAction
            # save -> Notepad.saveAction
            # exit -> Notepad.exitAction
          ! file=\u65b0\u898f \u958b\u304f \u4fdd\u5b58 - \u7d42\u4e86
          ! fileLabel=\u30d5\u30a1\u30a4\u30eb
            openLabel=\u958b\u304f
            openImage=resources/open.gif
          --- 21,27 ----
            # new -> Notepad.newAction
            # save -> Notepad.saveAction
            # exit -> Notepad.exitAction
          ! file=new open save - exit
          ! fileLabel=\u30d5\u30a1\u30a4\u30eb
            openLabel=\u958b\u304f
            openImage=resources/open.gif
          ***************
          *** 37,43 ****
            # cut -> JTextComponent.cutAction
            # copy -> JTextComponent.copyAction
            # paste -> JTextComponent.pasteAction
          ! edit=\u30ab\u30c3\u30c8 \u30b3\u30d4\u30fc \u30da\u30fc\u30b9\u30c8 - \u5143\u306b\u623b\u3059 \u518d\u5b9f\u884c
            editLabel=\u7de8\u96c6
            cutLabel=Cut
            cutAction=cut-to-clipboard
          --- 37,43 ----
            # cut -> JTextComponent.cutAction
            # copy -> JTextComponent.copyAction
            # paste -> JTextComponent.pasteAction
          ! edit=cut copy paste - undo redo
            editLabel=\u7de8\u96c6
            cutLabel=Cut
            cutAction=cut-to-clipboard
          ***************
          *** 56,62 ****
            #
            # debug Menu definition
            #
          ! debug=showElementTree \u306e\u30c0\u30f3\u30d7
            debugLabel=\u30c7\u30d0\u30c3\u30b0
            dumpLabel=\u30e2\u30c7\u30eb\u3092 System.err \u306b\u30c0\u30f3\u30d7
            dumpAction=dump-model
          --- 56,62 ----
            #
            # debug Menu definition
            #
          ! debug=debug showElementTree
            debugLabel=\u30c7\u30d0\u30c3\u30b0
            dumpLabel=\u30e2\u30c7\u30eb\u3092 System.err \u306b\u30c0\u30f3\u30d7
            dumpAction=dump-model
          ***************
          *** 68,74 ****
            # used as the basis of the tool definition. Actions
            # are of course sharable, and in this case are shared
            # with the menu items.
          ! toolbar=\u65b0\u898f \u958b\u304f \u4fdd\u5b58 - \u30ab\u30c3\u30c8 \u30b3\u30d4\u30fc \u30da\u30fc\u30b9\u30c8
            newTooltip=\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u4f5c\u6210\u3059\u308b
            openTooltip=\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f
            saveTooltip=\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58
          --- 68,74 ----
            # used as the basis of the tool definition. Actions
            # are of course sharable, and in this case are shared
            # with the menu items.
          ! toolbar=new open save - cut copy paste
            newTooltip=\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u4f5c\u6210\u3059\u308b
            openTooltip=\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f
            saveTooltip=\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58

          *** (#1 of 1): [ UNSAVED ] ###@###.###
          Show
          peytoia Yuka Kamiya (Inactive) added a comment - BT2:SUGGESTED FIX *** Notepad_ja.properties Tue Aug 21 14:38:01 2007 --- /tmp/Notepad_ja.properties Wed Sep 19 15:28:35 2007 *************** *** 10,16 ****   #   # Each of the strings that follow form a key to be   # used to the actual menu definition. ! menubar=\u30d5\u30a1\u30a4\u30eb\u7de8\u96c6\u30c7\u30d0\u30c3\u30b0      # file Menu definition   # --- 10,16 ----   #   # Each of the strings that follow form a key to be   # used to the actual menu definition. ! menubar=file edit debug      # file Menu definition   # *************** *** 21,27 ****   # new -> Notepad.newAction   # save -> Notepad.saveAction   # exit -> Notepad.exitAction ! file=\u65b0\u898f \u958b\u304f \u4fdd\u5b58 - \u7d42\u4e86 ! fileLabel=\u30d5\u30a1\u30a4\u30eb   openLabel=\u958b\u304f   openImage=resources/open.gif --- 21,27 ----   # new -> Notepad.newAction   # save -> Notepad.saveAction   # exit -> Notepad.exitAction ! file=new open save - exit ! fileLabel=\u30d5\u30a1\u30a4\u30eb   openLabel=\u958b\u304f   openImage=resources/open.gif *************** *** 37,43 ****   # cut -> JTextComponent.cutAction   # copy -> JTextComponent.copyAction   # paste -> JTextComponent.pasteAction ! edit=\u30ab\u30c3\u30c8 \u30b3\u30d4\u30fc \u30da\u30fc\u30b9\u30c8 - \u5143\u306b\u623b\u3059 \u518d\u5b9f\u884c   editLabel=\u7de8\u96c6   cutLabel=Cut   cutAction=cut-to-clipboard --- 37,43 ----   # cut -> JTextComponent.cutAction   # copy -> JTextComponent.copyAction   # paste -> JTextComponent.pasteAction ! edit=cut copy paste - undo redo   editLabel=\u7de8\u96c6   cutLabel=Cut   cutAction=cut-to-clipboard *************** *** 56,62 ****   #   # debug Menu definition   # ! debug=showElementTree \u306e\u30c0\u30f3\u30d7   debugLabel=\u30c7\u30d0\u30c3\u30b0   dumpLabel=\u30e2\u30c7\u30eb\u3092 System.err \u306b\u30c0\u30f3\u30d7   dumpAction=dump-model --- 56,62 ----   #   # debug Menu definition   # ! debug=debug showElementTree   debugLabel=\u30c7\u30d0\u30c3\u30b0   dumpLabel=\u30e2\u30c7\u30eb\u3092 System.err \u306b\u30c0\u30f3\u30d7   dumpAction=dump-model *************** *** 68,74 ****   # used as the basis of the tool definition. Actions   # are of course sharable, and in this case are shared   # with the menu items. ! toolbar=\u65b0\u898f \u958b\u304f \u4fdd\u5b58 - \u30ab\u30c3\u30c8 \u30b3\u30d4\u30fc \u30da\u30fc\u30b9\u30c8   newTooltip=\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u4f5c\u6210\u3059\u308b   openTooltip=\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f   saveTooltip=\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58 --- 68,74 ----   # used as the basis of the tool definition. Actions   # are of course sharable, and in this case are shared   # with the menu items. ! toolbar=new open save - cut copy paste   newTooltip=\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u4f5c\u6210\u3059\u308b   openTooltip=\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f   saveTooltip=\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58 *** (#1 of 1): [ UNSAVED ] ###@###.###
          Hide
          yhuang Yong Huang added a comment -
          BT2:EVALUATION

          From l10n internal database, ULA, the problem should also happen in 6ur. Not sure, if it's a regression. A subCR can be filed, if it's verified that same problem also happens in ja.
          Show
          yhuang Yong Huang added a comment - BT2:EVALUATION From l10n internal database, ULA, the problem should also happen in 6ur. Not sure, if it's a regression. A subCR can be filed, if it's verified that same problem also happens in ja.
          Hide
          peytoia Yuka Kamiya (Inactive) added a comment -
          BT2:EVALUATION

          Stylepad has the same problem. Please refer to Chinese resource file regarding values which should not be translated.
          Show
          peytoia Yuka Kamiya (Inactive) added a comment - BT2:EVALUATION Stylepad has the same problem. Please refer to Chinese resource file regarding values which should not be translated.

            People

            • Assignee:
              ogino Shinya Ogino (Inactive)
              Reporter:
              peytoia Yuka Kamiya (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: