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

NLS: unsupported translation format in jar/pack/DriverResource.java

    XMLWordPrintable

Details

    Description

      This is related to the translable resource file for JDK-6344109
      jdk/src/share/classes/com/sun/java/util/jar/pack/DriverResource.java

      The file has not been able to get translated due to translation team file format support. It's now translatable after BugDB ER 16704664 has been completed.

      However, the following part could not be supported by the translation tool:
        46 //The following string is duplicate in PACK and UNPACK comment,which was draw out to ruduce translation work.
        47 private static final String PARAMETER_V = " -v, --verbose increase program verbosity";
        48 private static final String PARAMETER_Q = " -q, --quiet set verbosity to lowest level";
        49 private static final String PARAMETER_LF = " -l{F}, --log-file={F} output to the given log file, or '-' for System.out";
        50 private static final String PARAMETER_H = " -?, -h, --help print this message";
        51 private static final String PARAMETER_VER = " -V, --version print program version";
        52 private static final String PARAMETER_J = " -J{X} pass option X to underlying Java VM";
        53

      See: http://cr.openjdk.java.net/~mfang/8025215/webrev.jdk.00/src/share/classes/com/sun/java/util/jar/pack/DriverResource_zh_CN.java.html
      http://cr.openjdk.java.net/~mfang/8025215/webrev.jdk.00/src/share/classes/com/sun/java/util/jar/pack/DriverResource_ja.java.html

      They should be added within the arrays.

      Attachments

        Activity

          People

            ksrini Kumar Srinivasan
            mfang Michael Fang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: