Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1825

Incorrect order of parameter in localization messages within ValidationMessages Italian lang

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.3.2, 5.4
    • tapestry-core
    • None

    Description

      We found some problem with the Italian localization of ValidationMessages.
      (T5.3.1 blows up)

      The problem is quite simple:

      From ValidationMessages.properties:
      maximum-string-length=You may provide at most %d characters for %s.
      From ValidationMessages_it.properties:
      maximum-string-length=Il campo %s può contenere al massimo %d caratteri.

      As you can see the order of parameter in the Italian wording is inverted.
      The fix is quite simple: the message format should specify the parameter index (like for instance in the German localization: maximum-string-length=%2$s darf höchstens %1$d Zeichen lang sein.)

      Attachments

        Activity

          People

            mlusetti Massimo Lusetti
            mlusetti Massimo Lusetti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: