Issue-id: OCS-9
[msb/apigateway.git] / msb-core / apiroute / apiroute-service / src / main / resources / iui-route / js / jquery-validation / localization / messages_zh.js
1 /*
2  * Copyright 2016 2015-2016 ZTE, Inc. and others. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  *     Author: Zhaoxing Meng
17  *     email: meng.zhaoxing1@zte.com.cn
18  */
19 (function( factory ) {
20         if ( typeof define === "function" && define.amd ) {
21                 define( ["jquery", "../jquery.validate"], factory );
22         } else {
23                 factory( jQuery );
24         }
25 }(function( $ ) {
26
27 /*
28  * Translated default messages for the jQuery validation plugin.
29  * Locale: ZH (Chinese, 中文 (Zhōngwén), 汉语, 漢語)
30  */
31 $.extend($.validator.messages, {
32         required: "必须填写",
33         remote: "请修正此栏位",
34         email: "请输入有效的电子邮件",
35         url: "请输入有效的网址",
36         date: "请输入有效的日期",
37         dateISO: "请输入有效的日期 (YYYY-MM-DD)",
38         number: "请输入正确的数字",
39         digits: "只可输入数字",
40         creditcard: "请输入有效的信用卡号码",
41         equalTo: "你的输入不相同",
42         extension: "请输入有效的后缀",
43         maxlength: $.validator.format("最多 {0} 个字"),
44         minlength: $.validator.format("最少 {0} 个字"),
45         rangelength: $.validator.format("请输入长度为 {0} 至 {1} 之間的字串"),
46         range: $.validator.format("请输入 {0} 至 {1} 之间的数值"),
47         max: $.validator.format("请输入不大于 {0} 的数值"),
48         min: $.validator.format("请输入不小于 {0} 的数值")
49 });
50
51 }));