Skip to content

Commit

Permalink
1.5.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
stuyam committed Jun 24, 2020
1 parent 528203e commit 0cc58ee
Show file tree
Hide file tree
Showing 28 changed files with 136 additions and 48 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "simple-react-validator",
"description": "A simple react form validator inspired by Laravel validation.",
"main": "dist/simple-react-validator.min.js",
"version": "1.4.6",
"version": "1.5.0",
"authors": [
"Stuart Yamartino"
],
Expand Down
2 changes: 1 addition & 1 deletion dist/locale/el.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Simple React Validator v1.4.6 | Created By Dockwa | MIT License | 2017 - Present
// Simple React Validator v1.5.0 | Created By Dockwa | MIT License | 2017 - Present
;(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['simple-react-validator'], factory);
Expand Down
2 changes: 1 addition & 1 deletion dist/locale/es.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Simple React Validator v1.4.6 | Created By Dockwa | MIT License | 2017 - Present
// Simple React Validator v1.5.0 | Created By Dockwa | MIT License | 2017 - Present
;(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['simple-react-validator'], factory);
Expand Down
2 changes: 1 addition & 1 deletion dist/locale/fa.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Simple React Validator v1.4.6 | Created By Dockwa | MIT License | 2017 - Present
// Simple React Validator v1.5.0 | Created By Dockwa | MIT License | 2017 - Present
;(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['simple-react-validator'], factory);
Expand Down
2 changes: 1 addition & 1 deletion dist/locale/fr.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Simple React Validator v1.4.6 | Created By Dockwa | MIT License | 2017 - Present
// Simple React Validator v1.5.0 | Created By Dockwa | MIT License | 2017 - Present
;(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['simple-react-validator'], factory);
Expand Down
2 changes: 1 addition & 1 deletion dist/locale/id.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Simple React Validator v1.4.6 | Created By Dockwa | MIT License | 2017 - Present
// Simple React Validator v1.5.0 | Created By Dockwa | MIT License | 2017 - Present
;(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['simple-react-validator'], factory);
Expand Down
51 changes: 51 additions & 0 deletions dist/locale/it.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
// Simple React Validator v1.5.0 | Created By Dockwa | MIT License | 2017 - Present
;(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['simple-react-validator'], factory);
} else if (typeof exports === 'object') {
module.exports = factory(require('simple-react-validator'));
} else {
root.SimpleReactValidatorLocaleIt = factory(root.SimpleReactValidator);
}
}(this, function(SimpleReactValidator) {
"use strict";

// Italian
SimpleReactValidator.addLocale('it', {
accepted: ':attribute deve essere accettato.',
after: ':attribute deve essere successiva a :date.',
after_or_equal: ':attribute deve essere successiva o uguale a :date.',
alpha: ':attribute deve contenere solo lettere.',
alpha_space: 'Il campo :attribute può contenere solo spazi e lettere.',
alpha_num: 'Il campo :attribute può contenere solo numeri e lettere.',
alpha_num_space: 'Il campo :attribute può contenere solo spazi, numeri e lettere.',
alpha_num_dash: 'Il campo :attribute può contenere solo trattini, numeri e lettere.',
alpha_num_dash_space: 'Il campo :attribute può contenere solo lettere, numeri, spazi e trattini.',
array: 'Il campo :attribute deve essere un array.',
before: 'Il campo :attribute deve essere precedente a :date.',
before_or_equal: 'Il campo :attribute deve essere precedente o uguale a :date.',
between: 'Il campo :attribute deve essere compreso tra :min - :max:type.',
"boolean": 'Il campo :attribute deve essere un booleano.',
card_exp: 'Il campo :attribute deve essere una data di scadenza valida.',
card_num: 'Il campo :attribute deve essere un numero di carta di credito valido.',
currency: 'Il campo :attribute deve essere un importo.',
date: 'Il campo :attribute deve essere una data valida.',
date_equals: 'Il campo :attribute deve essere una data uguale a :date.',
email: 'Il campo :attribute deve essere un indirizzo email valido.',
"in": 'Il campo :attribute deve essere uno dei seguenti valori :values.',
integer: 'Il campo :attribute deve essere un numero intero.',
max: 'Il campo :attribute non deve superare :max:type.',
min: 'Il campo :attribute non deve essere inferiore a :min:type.',
not_in: 'Il campo :attribute non deve essere uno dei seguenti valori :values.',
not_regex: 'Il formato di :attribute non è valido.',
numeric: 'Il campo :attribute deve essere un numero.',
phone: 'Il campo :attribute deve essere un numero di telefono.',
regex: 'Il formato di :attribute non è corretto.',
required: 'Il campo :attribute è obbligatorio.',
size: 'La dimensione di :attribute non deve superare :size:type.',
string: 'Il campo :attribute deve essere una stringa.',
"typeof": 'Il campo :attribute deve essere di tipo :type.',
url: 'Il campo :attribute deve essere un url web.'
});
return null;
}));
2 changes: 1 addition & 1 deletion dist/locale/min/el.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/locale/min/es.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/locale/min/fa.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/locale/min/fr.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/locale/min/id.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0cc58ee

Please sign in to comment.