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

Messages in i18n.properties have wrong format

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • st1.4
    • st1.4
    • tools
    • None
    • b03
    • generic
    • generic
    • Verified

      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"

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: