validatorjs2
Version:
Validation library inspired by Laravel's Validator
107 lines (105 loc) • 5.61 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/et":[function(require,module,exports){
module.exports = {
accepted: ":attribute tuleb aktsepteerida.",
active_url: ":attribute ei ole kehtiv URL.",
after: ":attribute peab olema kuupäev pärast :date.",
after_or_equal: ":attribute peab olema kuupäev pärast või samastuma :date.",
alpha: ":attribute võib sisaldada vaid tähemärke.",
alpha_dash: ":attribute võib sisaldada vaid tähti, numbreid ja kriipse.",
alpha_num: ":attribute võib sisaldada vaid tähti ja numbreid.",
attributes: {},
array: ":attribute peab olema massiiv.",
before: ":attribute peab olema kuupäev enne :date.",
before_or_equal: ":attribute peab olema kuupäev enne või samastuma :date.",
between: {
numeric: ":attribute peab olema :min ja :max vahel.",
file: ":attribute peab olema :min ja :max kilobaidi vahel.",
string: ":attribute peab olema :min ja :max tähemärgi vahel.",
array: ":attribute peab olema :min ja :max kirje vahel."
},
boolean: ":attribute väli peab olema tõene või väär.",
confirmed: ":attribute kinnitus ei vasta.",
date: ":attribute pole kehtiv kuupäev.",
date_format: ":attribute ei vasta formaadile :format.",
different: ":attribute ja :other peavad olema erinevad.",
digits: ":attribute peab olema :digits numbrit.",
digits_between: ":attribute peab olema :min ja :max numbri vahel.",
dimensions: ":attribute on valed pildi suurused.",
distinct: ":attribute väljal on topeltväärtus.",
email: ":attribute peab olema kehtiv e-posti aadress.",
exists: "Valitud :attribute on vigane.",
file: ":attribute peab olema fail.",
filled: ":attribute väli on nõutav.",
gt: {
numeric: "The :attribute must be greater than :value.",
file: "The :attribute must be greater than :value kilobytes.",
string: "The :attribute must be greater than :value characters.",
array: "The :attribute must have more than :value items."
},
gte: {
numeric: "The :attribute must be greater than or equal :value.",
file: "The :attribute must be greater than or equal :value kilobytes.",
string: "The :attribute must be greater than or equal :value characters.",
array: "The :attribute must have :value items or more."
},
hex: "The :attribute field should have hexadecimal format",
image: ":attribute peab olema pilt.",
in: "Valitud :attribute on vigane.",
in_array: ":attribute väli ei eksisteeri :other sees.",
integer: ":attribute peab olema täisarv.",
ip: ":attribute peab olema kehtiv IP aadress.",
ipv4: ":attribute peab olema kehtiv IPv4 aadress.",
ipv6: ":attribute peab olema kehtiv IPv6 aadress.",
json: ":attribute peab olema kehtiv JSON string.",
lt: {
numeric: "The :attribute must be less than :value.",
file: "The :attribute must be less than :value kilobytes.",
string: "The :attribute must be less than :value characters.",
array: "The :attribute must have less than :value items."
},
lte: {
numeric: "The :attribute must be less than or equal :value.",
file: "The :attribute must be less than or equal :value kilobytes.",
string: "The :attribute must be less than or equal :value characters.",
array: "The :attribute must not have more than :value items."
},
max: {
numeric: ":attribute ei tohi olla suurem kui :max.",
file: ":attribute ei tohi olla suurem kui :max kilobaiti.",
string: ":attribute ei tohi olla suurem kui :max tähemärki.",
array: ":attribute ei tohi sisaldada rohkem kui :max kirjet."
},
mimes: ":attribute peab olema :values tüüpi.",
mimetypes: ":attribute peab olema :values tüüpi.",
min: {
numeric: ":attribute peab olema vähemalt :min.",
file: ":attribute peab olema vähemalt :min kilobaiti.",
string: ":attribute peab olema vähemalt :min tähemärki.",
array: ":attribute peab olema vähemalt :min kirjet."
},
not_in: "Valitud :attribute on vigane.",
not_regex: "The :attribute format is invalid.",
numeric: ":attribute peab olema number.",
present: ":attribute väli peab olema esindatud.",
regex: ":attribute vorming on vigane.",
required: ":attribute väli on nõutud.",
required_if: ":attribute väli on nõutud, kui :other on :value.",
required_unless: ":attribute väli on nõutud, välja arvatud, kui :other on :values.",
required_with: ":attribute väli on nõutud, kui :values on esindatud.",
required_with_all: ":attribute väli on nõutud, kui :values on esindatud.",
required_without: ":attribute väli on nõutud, kui :values ei ole esindatud.",
required_without_all: ":attribute väli on nõutud, kui ükski :values pole esindatud.",
same: ":attribute ja :other peavad sobima.",
size: {
numeric: ":attribute peab olema :size.",
file: ":attribute peab olema :size kilobaiti.",
string: ":attribute peab olema :size tähemärki.",
array: ":attribute peab sisaldama :size kirjet."
},
string: ":attribute peab olema string.",
timezone: ":attribute peab olema kehtiv tsoon.",
unique: ":attribute on juba hõivatud.",
uploaded: ":attribute ei õnnestunud laadida.",
url: ":attribute vorming on vigane."
};
},{}]},{},[]);