migrate discovery source codes from OPEN-O
[msb/discovery.git] / discovery-ui / src / main / resources / iui / microservices / js / jquery-validation / localization / messages_zh_TW.js
1 /*
2  * Copyright 2016 ZTE, Inc. and others.
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 (function( factory ) {
17         if ( typeof define === "function" && define.amd ) {
18                 define( ["jquery", "../jquery.validate"], factory );
19         } else {
20                 factory( jQuery );
21         }
22 }(function( $ ) {
23
24 /*
25  * Translated default messages for the jQuery validation plugin.
26  * Locale: ZH (Chinese; 中文 (Zhōngwén), 汉语, 漢語)
27  * Region: TW (Taiwan)
28  */
29 $.extend($.validator.messages, {
30         required: "必須填寫",
31         remote: "請修正此欄位",
32         email: "請輸入有效的電子郵件",
33         url: "請輸入有效的網址",
34         date: "請輸入有效的日期",
35         dateISO: "請輸入有效的日期 (YYYY-MM-DD)",
36         number: "請輸入正確的數值",
37         digits: "只可輸入數字",
38         creditcard: "請輸入有效的信用卡號碼",
39         equalTo: "請重複輸入一次",
40         extension: "請輸入有效的後綴",
41         maxlength: $.validator.format("最多 {0} 個字"),
42         minlength: $.validator.format("最少 {0} 個字"),
43         rangelength: $.validator.format("請輸入長度為 {0} 至 {1} 之間的字串"),
44         range: $.validator.format("請輸入 {0} 至 {1} 之間的數值"),
45         max: $.validator.format("請輸入不大於 {0} 的數值"),
46         min: $.validator.format("請輸入不小於 {0} 的數值")
47 });
48
49 }));