validatorjs2
Version:
Validation library inspired by Laravel's Validator
43 lines (41 loc) • 2.51 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/pl":[function(require,module,exports){
module.exports = {
accepted: 'Pole :attribute musi być zaakceptowane.',
alpha: 'Pole :attribute może zawierać tylko litery.',
alpha_dash: 'Pole :attribute moze zawierać tylko litery, myślnik i podrkeślenie.',
alpha_num: 'Pole :attribute moze zawierac tylko znaki alfanumeryczne.',
between: 'Pole :attribute musi mieć długość od :min do :max.',
confirmed: 'Pole :attribute nie spełnia warunku potwierdzenia.',
email: 'Pole :attribute ma niepoprawny format adresu email.',
date: 'Pole :attribute musi mieć poprawny format daty.',
def: 'Pole :attribute zawiera błędy.',
digits: 'Pole :attribute może zawierać tylko cyfry ze zbioru :digits.',
digits_between: 'Pole :attribute musi mieć od :min do :max cyfr.',
different: 'Pola :attribute i :different muszą się różnić.',
in: 'Pole :attribute musi należeć do zbioru :in.',
integer: 'Pole :attribute musi być liczbą całkowitą.',
hex: 'The :attribute should have hexadecimal format',
min: {
numeric: 'Pole :attribute musi być równe conajmniej :min.',
string: 'Pole :attribute musi zawierać conajmniej :min znaków.'
},
max: {
numeric: 'Pole :attribute nie moze być większe :max.',
string: 'Pole :attribute nie moze być dłuższe niż :max znaków.'
},
not_in: 'Pole :attribute nie może należeć do zbioru :not_in.',
numeric: 'Pole :attribute musi być liczbą.',
present: 'Polu :attribute musi być obecny (ale może być pusta).',
required: 'Pole :attribute jest wymagane.',
required_if: 'Pole :attribute jest wymagane jeśli pole :other jest równe :value.',
same: 'Pola :attribute i :same muszą być takie same.',
size: {
numeric: 'Pole :attribute musi być równe :size.',
string: 'Pole :attribute musi zawierać :size znaków.'
},
string: 'Pole :attribute musi być ciągiem znaków.',
url: 'Pole :attribute musi być poprawnym adresem URL.',
regex: 'Pole :attribute nie spełnia warunku.',
attributes: {}
};
},{}]},{},[]);