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

[Fmt-Me] java messages will not allow argument with apostrophe

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 1.4.0_01
    • Fix Version/s: None
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      generic
    • OS:
      solaris_8

      Description

      When the *.java file contains the message for localization with the
      argument and also contain the apostrophe in the same sentence,
      the argument will not displayed but {number} itself is.

      for example:

      a java file cantains this message,

      {"Loading {0} Tool...", "Chargement de l'outil {0}..."},


      then it should display as follows:
      "Chargement de l'outil SystemInfo..."
      but the result is
      "Chargement de loutil {0}..."

      I tried to escape the apostrophe by \, but the result was the same.

      Also tried the same message without apostrophe like,

      {"Loading {0} Tool...", "Chargement de loutil {0}..."},

      the argument was displayed without no failure.


      ###@###.### 2001-12-20

      I've contacted with resp engineer and
      he is considering to fix this bug.
      So, I removed imconplete status.

      ###@###.### 2003-05-20

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              peytoia Yuka Kamiya (Inactive)
              Reporter:
              ktachiba Kenji Tachibana
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: