jquery-validation-rails 1.12.0 → 1.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/app/assets/javascripts/jquery.validate.additional-methods.js +181 -74
- data/app/assets/javascripts/jquery.validate.js +407 -335
- data/app/assets/javascripts/jquery.validate.localization/messages_ar.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_bg.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_ca.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_cs.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_da.js +26 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_de.js +26 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_el.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_es.js +32 -24
- data/app/assets/javascripts/jquery.validate.localization/messages_es_AR.js +32 -24
- data/app/assets/javascripts/jquery.validate.localization/messages_et.js +27 -19
- data/app/assets/javascripts/jquery.validate.localization/messages_eu.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_fa.js +32 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_fi.js +27 -19
- data/app/assets/javascripts/jquery.validate.localization/messages_fr.js +55 -46
- data/app/assets/javascripts/jquery.validate.localization/messages_gl.js +38 -0
- data/app/assets/javascripts/jquery.validate.localization/messages_he.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_hr.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_hu.js +28 -20
- data/app/assets/javascripts/jquery.validate.localization/messages_id.js +28 -20
- data/app/assets/javascripts/jquery.validate.localization/messages_is.js +27 -19
- data/app/assets/javascripts/jquery.validate.localization/messages_it.js +32 -24
- data/app/assets/javascripts/jquery.validate.localization/messages_ja.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_ka.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_kk.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_ko.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_lt.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_lv.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_my.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_nl.js +38 -30
- data/app/assets/javascripts/jquery.validate.localization/messages_no.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_pl.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_pt_BR.js +33 -24
- data/app/assets/javascripts/jquery.validate.localization/messages_pt_PT.js +32 -24
- data/app/assets/javascripts/jquery.validate.localization/messages_ro.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_ru.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_si.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_sk.js +26 -18
- data/app/assets/javascripts/jquery.validate.localization/messages_sl.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_sr.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_sr_lat.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_sv.js +27 -19
- data/app/assets/javascripts/jquery.validate.localization/messages_th.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_tj.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_tr.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_uk.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_vi.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_zh.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/messages_zh_TW.js +29 -21
- data/app/assets/javascripts/jquery.validate.localization/methods_de.js +11 -1
- data/app/assets/javascripts/jquery.validate.localization/methods_es_CL.js +11 -1
- data/app/assets/javascripts/jquery.validate.localization/methods_fi.js +22 -0
- data/app/assets/javascripts/jquery.validate.localization/methods_nl.js +11 -1
- data/app/assets/javascripts/jquery.validate.localization/methods_pt.js +11 -1
- data/lib/jquery/validation/rails/version.rb +1 -1
- metadata +4 -2
@@ -1,25 +1,33 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else {
|
5
|
+
factory( jQuery );
|
6
|
+
}
|
7
|
+
}(function( $ ) {
|
8
|
+
|
1
9
|
/*
|
2
10
|
* Translated default messages for the jQuery validation plugin.
|
3
11
|
* Locale: TR (Turkish; Türkçe)
|
4
12
|
*/
|
5
|
-
(
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
}
|
13
|
+
$.extend($.validator.messages, {
|
14
|
+
required: "Bu alanın doldurulması zorunludur.",
|
15
|
+
remote: "Lütfen bu alanı düzeltin.",
|
16
|
+
email: "Lütfen geçerli bir e-posta adresi giriniz.",
|
17
|
+
url: "Lütfen geçerli bir web adresi (URL) giriniz.",
|
18
|
+
date: "Lütfen geçerli bir tarih giriniz.",
|
19
|
+
dateISO: "Lütfen geçerli bir tarih giriniz(ISO formatında)",
|
20
|
+
number: "Lütfen geçerli bir sayı giriniz.",
|
21
|
+
digits: "Lütfen sadece sayısal karakterler giriniz.",
|
22
|
+
creditcard: "Lütfen geçerli bir kredi kartı giriniz.",
|
23
|
+
equalTo: "Lütfen aynı değeri tekrar giriniz.",
|
24
|
+
extension: "Lütfen geçerli uzantıya sahip bir değer giriniz.",
|
25
|
+
maxlength: $.validator.format("Lütfen en fazla {0} karakter uzunluğunda bir değer giriniz."),
|
26
|
+
minlength: $.validator.format("Lütfen en az {0} karakter uzunluğunda bir değer giriniz."),
|
27
|
+
rangelength: $.validator.format("Lütfen en az {0} ve en fazla {1} uzunluğunda bir değer giriniz."),
|
28
|
+
range: $.validator.format("Lütfen {0} ile {1} arasında bir değer giriniz."),
|
29
|
+
max: $.validator.format("Lütfen {0} değerine eşit ya da daha küçük bir değer giriniz."),
|
30
|
+
min: $.validator.format("Lütfen {0} değerine eşit ya da daha büyük bir değer giriniz.")
|
31
|
+
});
|
32
|
+
|
33
|
+
}));
|
@@ -1,25 +1,33 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else {
|
5
|
+
factory( jQuery );
|
6
|
+
}
|
7
|
+
}(function( $ ) {
|
8
|
+
|
1
9
|
/*
|
2
10
|
* Translated default messages for the jQuery validation plugin.
|
3
11
|
* Locale: UK (Ukrainian; українська мова)
|
4
12
|
*/
|
5
|
-
(
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
}
|
13
|
+
$.extend($.validator.messages, {
|
14
|
+
required: "Це поле необхідно заповнити.",
|
15
|
+
remote: "Будь ласка, введіть правильне значення.",
|
16
|
+
email: "Будь ласка, введіть коректну адресу електронної пошти.",
|
17
|
+
url: "Будь ласка, введіть коректний URL.",
|
18
|
+
date: "Будь ласка, введіть коректну дату.",
|
19
|
+
dateISO: "Будь ласка, введіть коректну дату у форматі ISO.",
|
20
|
+
number: "Будь ласка, введіть число.",
|
21
|
+
digits: "Вводите потрібно лише цифри.",
|
22
|
+
creditcard: "Будь ласка, введіть правильний номер кредитної карти.",
|
23
|
+
equalTo: "Будь ласка, введіть таке ж значення ще раз.",
|
24
|
+
extension: "Будь ласка, виберіть файл з правильним розширенням.",
|
25
|
+
maxlength: $.validator.format("Будь ласка, введіть не більше {0} символів."),
|
26
|
+
minlength: $.validator.format("Будь ласка, введіть не менше {0} символів."),
|
27
|
+
rangelength: $.validator.format("Будь ласка, введіть значення довжиною від {0} до {1} символів."),
|
28
|
+
range: $.validator.format("Будь ласка, введіть число від {0} до {1}."),
|
29
|
+
max: $.validator.format("Будь ласка, введіть число, менше або рівно {0}."),
|
30
|
+
min: $.validator.format("Будь ласка, введіть число, більше або рівно {0}.")
|
31
|
+
});
|
32
|
+
|
33
|
+
}));
|
@@ -1,25 +1,33 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else {
|
5
|
+
factory( jQuery );
|
6
|
+
}
|
7
|
+
}(function( $ ) {
|
8
|
+
|
1
9
|
/*
|
2
10
|
* Translated default messages for the jQuery validation plugin.
|
3
11
|
* Locale: VI (Vietnamese; Tiếng Việt)
|
4
12
|
*/
|
5
|
-
(
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
}
|
13
|
+
$.extend($.validator.messages, {
|
14
|
+
required: "Hãy nhập.",
|
15
|
+
remote: "Hãy sửa cho đúng.",
|
16
|
+
email: "Hãy nhập email.",
|
17
|
+
url: "Hãy nhập URL.",
|
18
|
+
date: "Hãy nhập ngày.",
|
19
|
+
dateISO: "Hãy nhập ngày (ISO).",
|
20
|
+
number: "Hãy nhập số.",
|
21
|
+
digits: "Hãy nhập chữ số.",
|
22
|
+
creditcard: "Hãy nhập số thẻ tín dụng.",
|
23
|
+
equalTo: "Hãy nhập thêm lần nữa.",
|
24
|
+
extension: "Phần mở rộng không đúng.",
|
25
|
+
maxlength: $.validator.format("Hãy nhập từ {0} kí tự trở xuống."),
|
26
|
+
minlength: $.validator.format("Hãy nhập từ {0} kí tự trở lên."),
|
27
|
+
rangelength: $.validator.format("Hãy nhập từ {0} đến {1} kí tự."),
|
28
|
+
range: $.validator.format("Hãy nhập từ {0} đến {1}."),
|
29
|
+
max: $.validator.format("Hãy nhập từ {0} trở xuống."),
|
30
|
+
min: $.validator.format("Hãy nhập từ {1} trở lên.")
|
31
|
+
});
|
32
|
+
|
33
|
+
}));
|
@@ -1,25 +1,33 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else {
|
5
|
+
factory( jQuery );
|
6
|
+
}
|
7
|
+
}(function( $ ) {
|
8
|
+
|
1
9
|
/*
|
2
10
|
* Translated default messages for the jQuery validation plugin.
|
3
11
|
* Locale: ZH (Chinese, 中文 (Zhōngwén), 汉语, 漢語)
|
4
12
|
*/
|
5
|
-
(
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
}
|
13
|
+
$.extend($.validator.messages, {
|
14
|
+
required: "必须填写",
|
15
|
+
remote: "请修正此栏位",
|
16
|
+
email: "请输入有效的电子邮件",
|
17
|
+
url: "请输入有效的网址",
|
18
|
+
date: "请输入有效的日期",
|
19
|
+
dateISO: "请输入有效的日期 (YYYY-MM-DD)",
|
20
|
+
number: "请输入正确的数字",
|
21
|
+
digits: "只可输入数字",
|
22
|
+
creditcard: "请输入有效的信用卡号码",
|
23
|
+
equalTo: "你的输入不相同",
|
24
|
+
extension: "请输入有效的后缀",
|
25
|
+
maxlength: $.validator.format("最多 {0} 个字"),
|
26
|
+
minlength: $.validator.format("最少 {0} 个字"),
|
27
|
+
rangelength: $.validator.format("请输入长度为 {0} 至 {1} 之間的字串"),
|
28
|
+
range: $.validator.format("请输入 {0} 至 {1} 之间的数值"),
|
29
|
+
max: $.validator.format("请输入不大于 {0} 的数值"),
|
30
|
+
min: $.validator.format("请输入不小于 {0} 的数值")
|
31
|
+
});
|
32
|
+
|
33
|
+
}));
|
@@ -1,26 +1,34 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else {
|
5
|
+
factory( jQuery );
|
6
|
+
}
|
7
|
+
}(function( $ ) {
|
8
|
+
|
1
9
|
/*
|
2
10
|
* Translated default messages for the jQuery validation plugin.
|
3
11
|
* Locale: ZH (Chinese; 中文 (Zhōngwén), 汉语, 漢語)
|
4
12
|
* Region: TW (Taiwan)
|
5
13
|
*/
|
6
|
-
(
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
}
|
14
|
+
$.extend($.validator.messages, {
|
15
|
+
required: "必須填寫",
|
16
|
+
remote: "請修正此欄位",
|
17
|
+
email: "請輸入有效的電子郵件",
|
18
|
+
url: "請輸入有效的網址",
|
19
|
+
date: "請輸入有效的日期",
|
20
|
+
dateISO: "請輸入有效的日期 (YYYY-MM-DD)",
|
21
|
+
number: "請輸入正確的數值",
|
22
|
+
digits: "只可輸入數字",
|
23
|
+
creditcard: "請輸入有效的信用卡號碼",
|
24
|
+
equalTo: "請重複輸入一次",
|
25
|
+
extension: "請輸入有效的後綴",
|
26
|
+
maxlength: $.validator.format("最多 {0} 個字"),
|
27
|
+
minlength: $.validator.format("最少 {0} 個字"),
|
28
|
+
rangelength: $.validator.format("請輸入長度為 {0} 至 {1} 之間的字串"),
|
29
|
+
range: $.validator.format("請輸入 {0} 至 {1} 之間的數值"),
|
30
|
+
max: $.validator.format("請輸入不大於 {0} 的數值"),
|
31
|
+
min: $.validator.format("請輸入不小於 {0} 的數值")
|
32
|
+
});
|
33
|
+
|
34
|
+
}));
|
@@ -1,8 +1,16 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else {
|
5
|
+
factory( jQuery );
|
6
|
+
}
|
7
|
+
}(function( $ ) {
|
8
|
+
|
1
9
|
/*
|
2
10
|
* Localized default methods for the jQuery validation plugin.
|
3
11
|
* Locale: DE
|
4
12
|
*/
|
5
|
-
|
13
|
+
$.extend($.validator.methods, {
|
6
14
|
date: function(value, element) {
|
7
15
|
return this.optional(element) || /^\d\d?\.\d\d?\.\d\d\d?\d?$/.test(value);
|
8
16
|
},
|
@@ -10,3 +18,5 @@ jQuery.extend(jQuery.validator.methods, {
|
|
10
18
|
return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(value);
|
11
19
|
}
|
12
20
|
});
|
21
|
+
|
22
|
+
}));
|
@@ -1,8 +1,16 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else {
|
5
|
+
factory( jQuery );
|
6
|
+
}
|
7
|
+
}(function( $ ) {
|
8
|
+
|
1
9
|
/*
|
2
10
|
* Localized default methods for the jQuery validation plugin.
|
3
11
|
* Locale: ES_CL
|
4
12
|
*/
|
5
|
-
|
13
|
+
$.extend($.validator.methods, {
|
6
14
|
date: function(value, element) {
|
7
15
|
return this.optional(element) || /^\d\d?\-\d\d?\-\d\d\d?\d?$/.test(value);
|
8
16
|
},
|
@@ -10,3 +18,5 @@ jQuery.extend(jQuery.validator.methods, {
|
|
10
18
|
return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(value);
|
11
19
|
}
|
12
20
|
});
|
21
|
+
|
22
|
+
}));
|
@@ -0,0 +1,22 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else {
|
5
|
+
factory( jQuery );
|
6
|
+
}
|
7
|
+
}(function( $ ) {
|
8
|
+
|
9
|
+
/*
|
10
|
+
* Localized default methods for the jQuery validation plugin.
|
11
|
+
* Locale: FI
|
12
|
+
*/
|
13
|
+
$.extend($.validator.methods, {
|
14
|
+
date: function(value, element) {
|
15
|
+
return this.optional(element) || /^\d{1,2}\.\d{1,2}\.\d{4}$/.test(value);
|
16
|
+
},
|
17
|
+
number: function(value, element) {
|
18
|
+
return this.optional(element) || /^-?(?:\d+)(?:,\d+)?$/.test(value);
|
19
|
+
}
|
20
|
+
});
|
21
|
+
|
22
|
+
}));
|
@@ -1,9 +1,19 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else {
|
5
|
+
factory( jQuery );
|
6
|
+
}
|
7
|
+
}(function( $ ) {
|
8
|
+
|
1
9
|
/*
|
2
10
|
* Localized default methods for the jQuery validation plugin.
|
3
11
|
* Locale: NL
|
4
12
|
*/
|
5
|
-
|
13
|
+
$.extend($.validator.methods, {
|
6
14
|
date: function(value, element) {
|
7
15
|
return this.optional(element) || /^\d\d?[\.\/\-]\d\d?[\.\/\-]\d\d\d?\d?$/.test(value);
|
8
16
|
}
|
9
17
|
});
|
18
|
+
|
19
|
+
}));
|
@@ -1,9 +1,19 @@
|
|
1
|
+
(function( factory ) {
|
2
|
+
if ( typeof define === "function" && define.amd ) {
|
3
|
+
define( ["jquery", "../jquery.validate"], factory );
|
4
|
+
} else {
|
5
|
+
factory( jQuery );
|
6
|
+
}
|
7
|
+
}(function( $ ) {
|
8
|
+
|
1
9
|
/*
|
2
10
|
* Localized default methods for the jQuery validation plugin.
|
3
11
|
* Locale: PT_BR
|
4
12
|
*/
|
5
|
-
|
13
|
+
$.extend($.validator.methods, {
|
6
14
|
date: function(value, element) {
|
7
15
|
return this.optional(element) || /^\d\d?\/\d\d?\/\d\d\d?\d?$/.test(value);
|
8
16
|
}
|
9
17
|
});
|
18
|
+
|
19
|
+
}));
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-validation-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Ryan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -87,6 +87,7 @@ files:
|
|
87
87
|
- app/assets/javascripts/jquery.validate.localization/messages_fa.js
|
88
88
|
- app/assets/javascripts/jquery.validate.localization/messages_fi.js
|
89
89
|
- app/assets/javascripts/jquery.validate.localization/messages_fr.js
|
90
|
+
- app/assets/javascripts/jquery.validate.localization/messages_gl.js
|
90
91
|
- app/assets/javascripts/jquery.validate.localization/messages_he.js
|
91
92
|
- app/assets/javascripts/jquery.validate.localization/messages_hr.js
|
92
93
|
- app/assets/javascripts/jquery.validate.localization/messages_hu.js
|
@@ -122,6 +123,7 @@ files:
|
|
122
123
|
- app/assets/javascripts/jquery.validate.localization/messages_zh_TW.js
|
123
124
|
- app/assets/javascripts/jquery.validate.localization/methods_de.js
|
124
125
|
- app/assets/javascripts/jquery.validate.localization/methods_es_CL.js
|
126
|
+
- app/assets/javascripts/jquery.validate.localization/methods_fi.js
|
125
127
|
- app/assets/javascripts/jquery.validate.localization/methods_nl.js
|
126
128
|
- app/assets/javascripts/jquery.validate.localization/methods_pt.js
|
127
129
|
- jquery-validation-rails.gemspec
|