Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-6446786

Messages in i18n.properties have wrong format

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: st1.4
    • Fix Version/s: st1.4
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Messages in the resource bundle should have format described in docs\api\java\text\MessageFormat.html

      Within a String, "''" represents a single quote. A QuotedString can contain arbitrary characters except single quotes; the surrounding single quotes are removed. An UnquotedString can contain arbitrary characters except single quotes and left curly brackets. Thus, a string that should result in the formatted message "'{0}'" can be written as "'''{'0}''" or "'''{0}'''".

      So a message "Can't find reader for {0} or file doesn't exist" should be stored as "Can''t find reader for {0} or file doesn''t exist"

        Attachments

          Activity

            People

            Assignee:
            lmesnik Leonid Mesnik
            Reporter:
            rmakarch Roman Makarchuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: