summaryrefslogtreecommitdiff
path: root/script/jquery-validate/localization/messages_zh_TW.js
diff options
context:
space:
mode:
Diffstat (limited to 'script/jquery-validate/localization/messages_zh_TW.js')
-rw-r--r--script/jquery-validate/localization/messages_zh_TW.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/script/jquery-validate/localization/messages_zh_TW.js b/script/jquery-validate/localization/messages_zh_TW.js
new file mode 100644
index 0000000..b162477
--- /dev/null
+++ b/script/jquery-validate/localization/messages_zh_TW.js
@@ -0,0 +1,24 @@
+/*
+ * Translated default messages for the jQuery validation plugin.
+ * Locale: ZH (Chinese; 中文 (Zhōngwén), 汉语, 漢語)
+ * Region: TW (Taiwan)
+ */
+jQuery.extend( jQuery.validator.messages, {
+ required: "必須填寫",
+ remote: "請修正此欄位",
+ email: "請輸入有效的電子郵件",
+ url: "請輸入有效的網址",
+ date: "請輸入有效的日期",
+ dateISO: "請輸入有效的日期 (YYYY-MM-DD)",
+ number: "請輸入正確的數值",
+ digits: "只可輸入數字",
+ creditcard: "請輸入有效的信用卡號碼",
+ equalTo: "請重複輸入一次",
+ extension: "請輸入有效的後綴",
+ maxlength: jQuery.validator.format( "最多 {0} 個字" ),
+ minlength: jQuery.validator.format( "最少 {0} 個字" ),
+ rangelength: jQuery.validator.format( "請輸入長度為 {0} 至 {1} 之間的字串" ),
+ range: jQuery.validator.format( "請輸入 {0} 至 {1} 之間的數值" ),
+ max: jQuery.validator.format( "請輸入不大於 {0} 的數值" ),
+ min: jQuery.validator.format( "請輸入不小於 {0} 的數值" )
+} );