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

jarsigner is not fully i18n'ed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • security-libs
    • b46
    • generic
    • generic

      On tiger b42:

      For emaple:
      % jarsigner -verify -verbose -certs jar_after_signed_test.jar
             :
         <omitted>
             :
        s = signature was verified
        m = entry is listed in manifest
        k = at least one certificate was found in keystore
        i = at least one certificate was found in identity scope

      jar verified.

      Warning: This jar contains entries whose signer certificate has expired.
      Warning: This jar contains entries whose signer certificate will expire within six months.
      %

      Some of these messages are already extracted to JarSignerResources.java but
      the messages are not shown in Japanese even if they are translated properly.

      JarSignerResources_ja.java: line 82 - 93
          {" s = signature was verified ",
      " s = \u7f72\u540d\u304c\u691c\u8a3c\u3055\u308c\u307e\u3057\u305f\u3002"},
          {" m = entry is listed in manifest",
      " m = \u30a8\u30f3\u30c8\u30ea\u304c\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u5185\u306b\u30ea\u30b9\u30c8\u3055\u308c\u307e\u3059\u3002"},
          {" k = at least one certificate was found in keystore",
      " k = 1 \u3064\u4ee5\u4e0a\u306e\u8a3c\u660e\u66f8\u304c\u30ad\u30fc\u30b9\u30c8\u30a2\u3067\u691c\u51fa\u3055\u308c\u307e\u3057\u305f\u3002"},
          {" i = at least one certificate was found in identity scope",
      " i = 1 \u3064\u4ee5\u4e0a\u306e\u8a3c\u660e\u66f8\u304c\u30a2\u30a4\u30c7\u30f3\u30c6\u30a3\u30c6\u30a3\u30b9\u30b3\u30fc\u30d7\u3067\u691c\u51fa\u3055\u308c\u307e\u3057\u305f\u3002"},
          {"no manifest.", "\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\u3002"},
          {"jar is unsigned. (signatures missing or not parsable)",
      "jar \u306f\u7f72\u540d\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002(\u7f72\u540d\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u304b\u3001\u69cb\u6587\u89e3\u6790\u3067\u304d\u307e\u305b\u3093)"},
          {"jar verified.", "jar \u304c\u691c\u8a3c\u3055\u308c\u307e\u3057\u305f\u3002"},

      And the warning/error messages are not yet extracted so it still shows in
      English. This kind of message is very important for a customer so it
      should be fully i18n'ed and l10n'ed.

            vinnie Vincent Ryan
            kurosaki Kenichi Kurosaki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: