validatorjs2
Version:
Validation library inspired by Laravel's Validator
42 lines (40 loc) • 2.6 kB
JavaScript
require=(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({"./lang/it":[function(require,module,exports){
module.exports = {
accepted: 'Il campo :attribute deve essere accettato.',
alpha: 'Il campo :attribute deve contenere sono caratteri alfabetici.',
alpha_dash: 'Il campo :attribute può contenere solo caratteri alfanumerici oltre a trattini e trattini bassi.',
alpha_num: 'Il campo :attribute deve essere alfanumerico.',
between: 'Il campo :attribute deve essere compreso tra :min e :max.',
confirmed: 'Il campo conferma :attribute non è uguale.',
email: 'Il formato dell\'attributo :attribute non è valido.',
def: 'Gli attributi del campo :attribute contengono degli errori.',
digits: 'Il campo :attribute deve essere di :digits cifre.',
digits_between: 'Il campo :attribute deve essere tra :min e :max cifre.',
different: 'Il campo :attribute e :different devo essere diversi.',
in: 'Il valore del campo :attribute non è valido.',
integer: 'Il campo :attribute deve essere un valore intero.',
hex: 'Il campo :attribute deve essere in formato esadecimale',
min: {
numeric: 'Il campo :attribute deve essere maggiore o uguale di :min.',
string: 'Il campo :attribute deve essere composto da almeno :min caratteri.'
},
max: {
numeric: 'Il campo :attribute deve essere minore o uguale di :max.',
string: 'Il campo :attribute deve essere composto da massimo :max caratteri.'
},
not_in: 'Il campo :attribute non è valido.',
numeric: 'Il campo :attribute deve essere un numero.',
present: 'Il campo :attribute deve essere presente (ma può essere vuoto).',
required: 'Il campo :attribute è richiesto.',
required_if: 'Il campo :attribute è richiesto quando il campo :other è uguale a :value.',
same: 'I campi :attribute e :same devono essere uguali.',
size: {
numeric: 'La dimensione del campo :attribute deve essere uguale a :size.',
string: 'Il campo :attribute deve essere di :size caratteri.'
},
string: 'Il campo :attribute deve essere una stringa.',
url: 'Il formato del campo :attribute non è valido.',
regex: 'Il formato del campo :attribute non è valido.',
attributes: {}
};
},{}]},{},[]);