You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Massimo Lusetti (Updated) (JIRA)" <ji...@apache.org> on 2012/01/20 18:24:39 UTC

[jira] [Updated] (TAP5-1825) Incorrect order of parameter in localization messages within ValidationMessages Italian lang

     [ https://issues.apache.org/jira/browse/TAP5-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Massimo Lusetti updated TAP5-1825:
----------------------------------

    Summary: Incorrect order of parameter in localization messages within ValidationMessages Italian lang  (was: Incorrect order of parameter in localization messages within Italian lang)
    
> Incorrect order of parameter in localization messages within ValidationMessages Italian lang
> --------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1825
>                 URL: https://issues.apache.org/jira/browse/TAP5-1825
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>            Reporter: Massimo Lusetti
>            Assignee: Massimo Lusetti
>            Priority: Minor
>
> 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.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira