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

NLS t13y issue on jar.properties file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: tools
    • Labels:
    • Subcomponent:
      jar
    • Resolved In Build:
      b108
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        jdk/src/share/classes/sun/tools/jar/resources/jar.properties
        out.inflated=\
                \ \inflated: {0}

        I think the backslash before "inflated:" should be removed. (is it there for a reason?) Is was causing translator confusion.

        As you can see from following, translators could not handle the \ used for continuation and used to escape the space character.

        % grep out.inflated *
        jar_de.properties:out.inflated=\ \\vergr\u00F6\u00DFert: {0}
        jar_es.properties:out.inflated=\ \\inflado: {0}
        jar_fr.properties:out.inflated=\ \\d\u00E9compress\u00E9 : {0}
        jar_it.properties:out.inflated=\ \\decompresso: {0}
        jar_ja.properties:out.inflated=\ \\{0}\u304C\u5C55\u958B\u3055\u308C\u307E\u3057\u305F
        jar_ko.properties:out.inflated=\ \\\uC99D\uAC00\uB428: {0}
        jar_pt_BR.properties:out.inflated=\ \\cheio: {0}
        jar_sv.properties:out.inflated=\\uppackat: {0}
        jar_zh_CN.properties:out.inflated=\ \ \u5DF2\u89E3\u538B: {0}

        % grep out.create *
        jar_de.properties:out.create=\ \ erstellt: {0}
        jar_es.properties:out.create=\ \ creado: {0}
        jar_fr.properties:out.create=\ \ cr\u00E9\u00E9 : {0}
        jar_it.properties:out.create=\ \ \ \ \ creato: {0}
        jar_ja.properties:out.create=\ \ {0}\u304C\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F
        jar_ko.properties:out.create=\ \ \uC0DD\uC131\uB428: {0}
        jar_pt_BR.properties:out.create=\ \ criado: {0}
        jar_sv.properties:out.create=\ \ skapad: {0}
        jar_zh_CN.properties:out.create=\ \ \u5DF2\u521B\u5EFA: {0}
        jar_zh_TW.properties:out.create=\ \ \u5EFA\u7ACB: {0}

        Could you please change the string from the form of:
        out.created=\
                \ \ created: {0}

        to the form of:
        out.created=\ \ created: {0}

        Translation has been performed for 7ux and is about to begin for jdk8 soon.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sherman Xueming Shen
                  Reporter:
                  mfang Michael Fang (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: