You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Rural Hunter (Created) (JIRA)" <ji...@apache.org> on 2012/03/08 14:31:58 UTC
[jira] [Created] (TAP5-1865) Chinese valication message issue
Chinese valication message issue
--------------------------------
Key: TAP5-1865
URL: https://issues.apache.org/jira/browse/TAP5-1865
Project: Tapestry 5
Issue Type: Bug
Affects Versions: 5.3
Reporter: Rural Hunter
Pls check detail here:
http://tapestry.1045711.n5.nabble.com/A-strange-error-with-MaxLength-Validator-td5546700.html
The message in version 5.2 is correct.
--
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
[jira] [Updated] (TAP5-1865) Chinese valication message issue
Posted by "Rural Hunter (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rural Hunter updated TAP5-1865:
-------------------------------
Component/s: tapestry-core
> Chinese valication message issue
> --------------------------------
>
> Key: TAP5-1865
> URL: https://issues.apache.org/jira/browse/TAP5-1865
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Rural Hunter
>
> Pls check detail here:
> http://tapestry.1045711.n5.nabble.com/A-strange-error-with-MaxLength-Validator-td5546700.html
> The message in version 5.2 is correct.
--
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
[jira] [Updated] (TAP5-1865) Chinese valication message issue
Posted by "Rural Hunter (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rural Hunter updated TAP5-1865:
-------------------------------
Component/s: tapestry-core
> Chinese valication message issue
> --------------------------------
>
> Key: TAP5-1865
> URL: https://issues.apache.org/jira/browse/TAP5-1865
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Rural Hunter
>
> Pls check detail here:
> http://tapestry.1045711.n5.nabble.com/A-strange-error-with-MaxLength-Validator-td5546700.html
> The message in version 5.2 is correct.
--
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
[jira] [Commented] (TAP5-1865) Chinese valication message issue
Posted by "Lance (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487632#comment-13487632 ]
Lance commented on TAP5-1865:
-----------------------------
To catch this case in the future, a test case could be developed to parse all language file entries into a MessageFormat. Then, the result of MessageFormat.getFormatsByArgumentIndex() could be compared to ensure that the format type (date/string/number) and the number of arguments is consistent across languages.
> Chinese valication message issue
> --------------------------------
>
> Key: TAP5-1865
> URL: https://issues.apache.org/jira/browse/TAP5-1865
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Rural Hunter
>
> Pls check detail here:
> http://tapestry.1045711.n5.nabble.com/A-strange-error-with-MaxLength-Validator-td5546700.html
> The message in version 5.2 is correct.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TAP5-1865) Chinese valication message issue
Posted by "Rural Hunter (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240952#comment-13240952 ]
Rural Hunter commented on TAP5-1865:
------------------------------------
The minimum-string-length is also incorrect according to another post. So we should have these:
minimum-string-length=\u60a8\u5fc5\u987b\u4e3a %2$s \u63d0\u4f9b\u81f3\u5c11 %1$d \u5b57\u7b26\u3002
maximum-string-length=\u60a8\u6700\u591a\u80fd\u4e3a %2$s \u63d0\u4f9b\u81f3\u5c11 %1$d \u5b57\u7b26\u3002
> Chinese valication message issue
> --------------------------------
>
> Key: TAP5-1865
> URL: https://issues.apache.org/jira/browse/TAP5-1865
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Rural Hunter
>
> Pls check detail here:
> http://tapestry.1045711.n5.nabble.com/A-strange-error-with-MaxLength-Validator-td5546700.html
> The message in version 5.2 is correct.
--
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
[jira] [Commented] (TAP5-1865) Chinese valication message issue
Posted by "Lance (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227361#comment-13227361 ]
Lance commented on TAP5-1865:
-----------------------------
Just to save sifting through nabble, the fix is to change a line in ValidationMessages_zh_CN.properties from:
maximum-string-length=\u60a8\u6700\u591a\u80fd\u4e3a %s \u63d0\u4f9b\u81f3\u5c11 %d \u5b57\u7b26\u3002
to
maximum-string-length=\u60a8\u6700\u591a\u80fd\u4e3a %2$s \u63d0\u4f9b\u81f3\u5c11 %1$d \u5b57\u7b26\u3002
> Chinese valication message issue
> --------------------------------
>
> Key: TAP5-1865
> URL: https://issues.apache.org/jira/browse/TAP5-1865
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Rural Hunter
>
> Pls check detail here:
> http://tapestry.1045711.n5.nabble.com/A-strange-error-with-MaxLength-Validator-td5546700.html
> The message in version 5.2 is correct.
--
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
[jira] [Commented] (TAP5-1865) Chinese valication message issue
Posted by "Lance (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227361#comment-13227361 ]
Lance commented on TAP5-1865:
-----------------------------
Just to save sifting through nabble, the fix is to change a line in ValidationMessages_zh_CN.properties from:
maximum-string-length=\u60a8\u6700\u591a\u80fd\u4e3a %s \u63d0\u4f9b\u81f3\u5c11 %d \u5b57\u7b26\u3002
to
maximum-string-length=\u60a8\u6700\u591a\u80fd\u4e3a %2$s \u63d0\u4f9b\u81f3\u5c11 %1$d \u5b57\u7b26\u3002
> Chinese valication message issue
> --------------------------------
>
> Key: TAP5-1865
> URL: https://issues.apache.org/jira/browse/TAP5-1865
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Rural Hunter
>
> Pls check detail here:
> http://tapestry.1045711.n5.nabble.com/A-strange-error-with-MaxLength-Validator-td5546700.html
> The message in version 5.2 is correct.
--
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
[jira] [Commented] (TAP5-1865) Chinese valication message issue
Posted by "Rural Hunter (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240952#comment-13240952 ]
Rural Hunter commented on TAP5-1865:
------------------------------------
The minimum-string-length is also incorrect according to another post. So we should have these:
minimum-string-length=\u60a8\u5fc5\u987b\u4e3a %2$s \u63d0\u4f9b\u81f3\u5c11 %1$d \u5b57\u7b26\u3002
maximum-string-length=\u60a8\u6700\u591a\u80fd\u4e3a %2$s \u63d0\u4f9b\u81f3\u5c11 %1$d \u5b57\u7b26\u3002
> Chinese valication message issue
> --------------------------------
>
> Key: TAP5-1865
> URL: https://issues.apache.org/jira/browse/TAP5-1865
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Rural Hunter
>
> Pls check detail here:
> http://tapestry.1045711.n5.nabble.com/A-strange-error-with-MaxLength-Validator-td5546700.html
> The message in version 5.2 is correct.
--
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
[jira] [Commented] (TAP5-1865) Chinese valication message issue
Posted by "Lance (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487632#comment-13487632 ]
Lance commented on TAP5-1865:
-----------------------------
To catch this case in the future, a test case could be developed to parse all language file entries into a MessageFormat. Then, the result of MessageFormat.getFormatsByArgumentIndex() could be compared to ensure that the format type (date/string/number) and the number of arguments is consistent across languages.
> Chinese valication message issue
> --------------------------------
>
> Key: TAP5-1865
> URL: https://issues.apache.org/jira/browse/TAP5-1865
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.3
> Reporter: Rural Hunter
>
> Pls check detail here:
> http://tapestry.1045711.n5.nabble.com/A-strange-error-with-MaxLength-Validator-td5546700.html
> The message in version 5.2 is correct.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira