mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
24 lines
1.1 KiB
JavaScript
24 lines
1.1 KiB
JavaScript
|
/*
|
||
|
* Translated default messages for the jQuery validation plugin.
|
||
|
* Language: TW (Taiwan - Traditional Chinese)
|
||
|
* Author: Mr.BB <Boris Yang>
|
||
|
*/
|
||
|
jQuery.extend(jQuery.validator.messages, {
|
||
|
required: "必填",
|
||
|
remote: "請修正此欄位",
|
||
|
email: "請輸入正確的電子信箱",
|
||
|
url: "請輸入合法的URL",
|
||
|
date: "請輸入合法的日期",
|
||
|
dateISO: "請輸入合法的日期 (ISO).",
|
||
|
number: "請輸入數字",
|
||
|
digits: "請輸入整數",
|
||
|
creditcard: "請輸入合法的信用卡號碼",
|
||
|
equalTo: "請重複輸入一次",
|
||
|
accept: "請輸入有效的後缀字串",
|
||
|
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} 的數值")
|
||
|
});
|