aboutsummaryrefslogtreecommitdiffstats
path: root/apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/messages_zh.js
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-07-25 15:18:33 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-07-25 18:11:59 +0800
commit672f3d40be83d9e380fd7be4b674d5e8d5fa36de (patch)
tree43105e1d5e2ba8e8accea8648e57e1cf87db3f00 /apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/messages_zh.js
parent41d3db15a8e1a0496f9c2a5e15db2998a32bb9bf (diff)
Divide the MSB source codes into two repos
Change-Id: Ie76d545b214a8ce5191f215350a623e1529983d9 Issue-id: MSB-5 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/messages_zh.js')
-rw-r--r--apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/messages_zh.js33
1 files changed, 33 insertions, 0 deletions
diff --git a/apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/messages_zh.js b/apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/messages_zh.js
new file mode 100644
index 0000000..a4e121c
--- /dev/null
+++ b/apiroute/apiroute-service/src/main/resources/iui-route/js/jquery-validation/localization/messages_zh.js
@@ -0,0 +1,33 @@
+(function( factory ) {
+ if ( typeof define === "function" && define.amd ) {
+ define( ["jquery", "../jquery.validate"], factory );
+ } else {
+ factory( jQuery );
+ }
+}(function( $ ) {
+
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: ZH (Chinese, 中文 (Zhōngwén), 汉语, 漢語)
+ */
+$.extend($.validator.messages, {
+ required: "必须填写",
+ remote: "请修正此栏位",
+ email: "请输入有效的电子邮件",
+ url: "请输入有效的网址",
+ date: "请输入有效的日期",
+ dateISO: "请输入有效的日期 (YYYY-MM-DD)",
+ number: "请输入正确的数字",
+ digits: "只可输入数字",
+ creditcard: "请输入有效的信用卡号码",
+ equalTo: "你的输入不相同",
+ extension: "请输入有效的后缀",
+ maxlength: $.validator.format("最多 {0} 个字"),
+ minlength: $.validator.format("最少 {0} 个字"),
+ rangelength: $.validator.format("请输入长度为 {0} 至 {1} 之間的字串"),
+ range: $.validator.format("请输入 {0} 至 {1} 之间的数值"),
+ max: $.validator.format("请输入不大于 {0} 的数值"),
+ min: $.validator.format("请输入不小于 {0} 的数值")
+});
+
+})); \ No newline at end of file