Skip to content

Commit f3fc2f3

Browse files
committed
Longer tld support and japanese locale
1 parent 83804c0 commit f3fc2f3

29 files changed

Lines changed: 90 additions & 39 deletions

dist/locale/el.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Simple React Validator v1.6.0 | Created By Dockwa | MIT License | 2017 - Present
1+
// Simple React Validator v1.6.1 | Created By Dockwa | MIT License | 2017 - Present
22
;(function(root, factory) {
33
if (typeof define === 'function' && define.amd) {
44
define(['simple-react-validator'], factory);

dist/locale/es.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Simple React Validator v1.6.0 | Created By Dockwa | MIT License | 2017 - Present
1+
// Simple React Validator v1.6.1 | Created By Dockwa | MIT License | 2017 - Present
22
;(function(root, factory) {
33
if (typeof define === 'function' && define.amd) {
44
define(['simple-react-validator'], factory);

dist/locale/fa.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Simple React Validator v1.6.0 | Created By Dockwa | MIT License | 2017 - Present
1+
// Simple React Validator v1.6.1 | Created By Dockwa | MIT License | 2017 - Present
22
;(function(root, factory) {
33
if (typeof define === 'function' && define.amd) {
44
define(['simple-react-validator'], factory);

dist/locale/fr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Simple React Validator v1.6.0 | Created By Dockwa | MIT License | 2017 - Present
1+
// Simple React Validator v1.6.1 | Created By Dockwa | MIT License | 2017 - Present
22
;(function(root, factory) {
33
if (typeof define === 'function' && define.amd) {
44
define(['simple-react-validator'], factory);

dist/locale/id.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Simple React Validator v1.6.0 | Created By Dockwa | MIT License | 2017 - Present
1+
// Simple React Validator v1.6.1 | Created By Dockwa | MIT License | 2017 - Present
22
;(function(root, factory) {
33
if (typeof define === 'function' && define.amd) {
44
define(['simple-react-validator'], factory);

dist/locale/it.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Simple React Validator v1.6.0 | Created By Dockwa | MIT License | 2017 - Present
1+
// Simple React Validator v1.6.1 | Created By Dockwa | MIT License | 2017 - Present
22
;(function(root, factory) {
33
if (typeof define === 'function' && define.amd) {
44
define(['simple-react-validator'], factory);

dist/locale/ja.js

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
// Simple React Validator v1.6.1 | Created By Dockwa | MIT License | 2017 - Present
2+
;(function(root, factory) {
3+
if (typeof define === 'function' && define.amd) {
4+
define(['simple-react-validator'], factory);
5+
} else if (typeof exports === 'object') {
6+
module.exports = factory(require('simple-react-validator'));
7+
} else {
8+
root.SimpleReactValidatorLocaleJa = factory(root.SimpleReactValidator);
9+
}
10+
}(this, function(SimpleReactValidator) {
11+
"use strict";
12+
13+
// Japanese
14+
SimpleReactValidator.addLocale('ja', {
15+
accepted: ':attributeを受け入れる必要があります。',
16+
after: ':attributeは:dateより後でなければなりません。',
17+
after_or_equal: ':attributeは:date以降である必要があります。',
18+
alpha: ':attributeには文字のみを含めることができます。',
19+
alpha_space: ':attributeには文字とスペースのみを含めることができます。',
20+
alpha_num: ':attributeには文字と数字のみを含めることができます。',
21+
alpha_num_space: ':attributeには文字、数字、およびスペースのみを含めることができます。',
22+
alpha_num_dash: ':attributeには文字、数字、ダッシュ、およびアンダースコアのみを含めることができます。',
23+
alpha_num_dash_space: ':attributeには文字、数字、ダッシュ、アンダースコア、およびスペースのみを含めることができます。',
24+
array: ':attributeは配列でなければなりません。',
25+
before: ':attributeは:dateより前でなければなりません。',
26+
before_or_equal: ':attributeは:dateより前か:dateである必要があります。',
27+
between: ':attributeは:minと:max:typeの間でなければなりません。',
28+
"boolean": ':attributeはブール値である必要があります。',
29+
card_exp: ':attributeは有効な有効期限である必要があります。',
30+
card_num: ':attributeは有効なクレジットカード番号である必要があります。',
31+
currency: ':attributeは有効な通貨である必要があります。',
32+
date: ':attributeは日付でなければなりません。',
33+
date_equals: ':attributeは:dateである必要があります。',
34+
email: ':attributeは有効なメールアドレスである必要があります。',
35+
"in": ':attributeは:valuesのいずれかと一致する必要があります。',
36+
integer: ':attributeは整数でなければなりません。',
37+
max: ':attributeは:max:typeを超えてはなりません。',
38+
min: ':attributeは:min:type未満であってはなりません。',
39+
not_in: ':attributeは:valuesのいずれかと一致してはなりません。',
40+
not_regex: ':attributeは形式が無効です。',
41+
numeric: ':attributeは数値でなければなりません。',
42+
phone: ':attributeは有効な電話番号である必要があります。',
43+
regex: ':attributeは形式が無効です。',
44+
required: ':attributeは必須です。',
45+
size: ':attributeは:size:typeである必要があります。',
46+
string: ':attributeは文字列でなければなりません。',
47+
"typeof": ':attributeは:typeの正しいタイプではありません。',
48+
url: ':attributeは有効なURLである必要があります。'
49+
});
50+
return null;
51+
}));

dist/locale/min/el.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/locale/min/es.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/locale/min/fa.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)