diff options
author | nancylizi <li.zi30@zte.com.cn> | 2017-03-20 16:47:42 +0800 |
---|---|---|
committer | nancylizi <li.zi30@zte.com.cn> | 2017-03-20 16:47:42 +0800 |
commit | 93e29ad7d5c9ba017252cb7b25aca94657023dd7 (patch) | |
tree | 6ec8b43d492a442d559c2d71019df896cd33dd93 /common/src/main/webapp/thirdparty/jquery-validation/js/localization/messages_zh_TW.js | |
parent | f92ae6ce2db3d94d1ea50b5e3de66a54107efa0e (diff) |
Resolve the dependent problem.
Issue-Id: CLIENT-171
Change-Id: Ifad1deec7b7c737b5b2e44950720189248c2666d
Signed-off-by: nancylizi <li.zi30@zte.com.cn>
Diffstat (limited to 'common/src/main/webapp/thirdparty/jquery-validation/js/localization/messages_zh_TW.js')
-rw-r--r-- | common/src/main/webapp/thirdparty/jquery-validation/js/localization/messages_zh_TW.js | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/common/src/main/webapp/thirdparty/jquery-validation/js/localization/messages_zh_TW.js b/common/src/main/webapp/thirdparty/jquery-validation/js/localization/messages_zh_TW.js new file mode 100644 index 00000000..fc86be39 --- /dev/null +++ b/common/src/main/webapp/thirdparty/jquery-validation/js/localization/messages_zh_TW.js @@ -0,0 +1,34 @@ +(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), 汉语, 漢語) + * Region: TW (Taiwan) + */ +$.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 |