You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by jk...@apache.org on 2014/06/25 11:15:20 UTC

git commit: TAP5-2355, TAP5-1865: fix format argument order in zh_CN validation messages

Repository: tapestry-5
Updated Branches:
  refs/heads/master 24344bed9 -> 5a8ac6883


TAP5-2355, TAP5-1865: fix format argument order in zh_CN validation messages


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/5a8ac688
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/5a8ac688
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/5a8ac688

Branch: refs/heads/master
Commit: 5a8ac6883fd0d34186c8d849509bdb105e84ea73
Parents: 24344be
Author: Jochen Kemnade <jo...@eddyson.de>
Authored: Wed Jun 25 11:14:23 2014 +0200
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Wed Jun 25 11:14:23 2014 +0200

----------------------------------------------------------------------
 .../main/resources/org/apache/tapestry5/core_zh_CN.properties    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/5a8ac688/tapestry-core/src/main/resources/org/apache/tapestry5/core_zh_CN.properties
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/resources/org/apache/tapestry5/core_zh_CN.properties b/tapestry-core/src/main/resources/org/apache/tapestry5/core_zh_CN.properties
index be726ff..aa4e8ba 100644
--- a/tapestry-core/src/main/resources/org/apache/tapestry5/core_zh_CN.properties
+++ b/tapestry-core/src/main/resources/org/apache/tapestry5/core_zh_CN.properties
@@ -78,13 +78,13 @@ invalid-email='%s' 不是正确的邮件格式。
 max-integer=%2$s 需要小于 %1$d 的值。
 
 # String "maxLength" validation error:
-maximum-string-length=您最多能为 %s 提供至少 %d 字符。
+maximum-string-length=您最多能为 %2$s 提供至少 %1$d 字符。
 
 # Integer "min" validator error:
 min-integer=%2$s 需要大于 %1$d 的值。 
 
 # String "minLength" validator error:
-minimum-string-length=您必须为 %s 提供至少 %d 字符。
+minimum-string-length=您必须为 %2$s 提供至少 %1$d 字符。
 
 # String-to-number translation error:
 number-format-exception=您必须为 %s 提供数字。