Tapestry 5
  1. Tapestry 5
  2. TAP5-1825

Incorrect order of parameter in localization messages within ValidationMessages Italian lang

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.2, 5.4
    • Component/s: tapestry-core
    • Labels:
      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.)

        Activity

          People

          • Assignee:
            Massimo Lusetti
            Reporter:
            Massimo Lusetti
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development