UNPKG

validatorjs2

Version:

Validation library inspired by Laravel's Validator

107 lines (105 loc) 5.93 kB
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/sr":[function(require,module,exports){ module.exports = { accepted: "Polje :attribute mora biti prihvaćeno.", active_url: "Polje :attribute nije validan URL.", after: "Polje :attribute mora biti datum posle :date.", after_or_equal: "The :attribute must be a date after or equal to :date.", alpha: "Polje :attribute može sadržati samo slova.", alpha_dash: "Polje :attribute može sadržati samo slova, brojeve i povlake.", alpha_num: "Polje :attribute može sadržati samo slova i brojeve.", attributes: {}, array: "Polje :attribute mora sadržati nekih niz stavki.", before: "Polje :attribute mora biti datum pre :date.", before_or_equal: "The :attribute must be a date before or equal to :date.", between: { numeric: "Polje :attribute mora biti između :min - :max.", file: "Fajl :attribute mora biti između :min - :max kilobajta.", string: "Polje :attribute mora biti između :min - :max karaktera.", array: "Polje :attribute mora biti između :min - :max stavki." }, boolean: "Polje :attribute mora biti tačno ili netačno", confirmed: "Potvrda polja :attribute se ne poklapa.", date: "Polje :attribute nije važeći datum.", date_format: "Polje :attribute ne odgovora prema formatu :format.", different: "Polja :attribute i :other moraju biti različita.", digits: "Polje :attribute mora sadržati :digits šifri.", digits_between: "Polje :attribute mora biti izemđu :min i :max šifri.", dimensions: "The :attribute has invalid image dimensions.", distinct: "The :attribute field has a duplicate value.", email: "Format polja :attribute nije validan.", exists: "Odabrano polje :attribute nije validno.", file: "The :attribute must be a file.", filled: "Polje :attribute je obavezno.", 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: "Polje :attribute mora biti slika.", in: "Odabrano polje :attribute nije validno.", in_array: "The :attribute field does not exist in :other.", integer: "Polje :attribute mora biti broj.", ip: "Polje :attribute mora biti validna IP adresa.", ipv4: "The :attribute must be a valid IPv4 address.", ipv6: "The :attribute must be a valid IPv6 address.", json: "The :attribute must be a valid 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: "Polje :attribute mora biti manje od :max.", file: "Polje :attribute mora biti manje od :max kilobajta.", string: "Polje :attribute mora sadržati manje od :max karaktera.", array: "Polje :attribute ne smije da image više od :max stavki." }, mimes: "Polje :attribute mora biti fajl tipa: :values.", mimetypes: "Polje :attribute mora biti fajl tipa: :values.", min: { numeric: "Polje :attribute mora biti najmanje :min.", file: "Fajl :attribute mora biti najmanje :min kilobajta.", string: "Polje :attribute mora sadržati najmanje :min karaktera.", array: "Polje :attribute mora sadrzati najmanje :min stavku." }, not_in: "Odabrani element polja :attribute nije validan.", not_regex: "The :attribute format is invalid.", numeric: "Polje :attribute mora biti broj.", present: "The :attribute field must be present.", regex: "Format polja :attribute nije validan.", required: "Polje :attribute je obavezno.", required_if: "Polje :attribute je potrebno kada polje :other sadrži :value.", required_unless: "The :attribute field is required unless :other is in :values.", required_with: "Polje :attribute je potrebno kada polje :values je prisutan.", required_with_all: "Polje :attribute je obavezno kada je :values prikazano.", required_without: "Polje :attribute je potrebno kada polje :values nije prisutan.", required_without_all: "Polje :attribute je potrebno kada nijedan od sledeći polja :values nisu prisutni.", same: "Polja :attribute i :other se moraju poklapati.", size: { numeric: "Polje :attribute mora biti :size.", file: "Fajl :attribute mora biti :size kilobajta.", string: "Polje :attribute mora biti :size karaktera.", array: "Polje :attribute mora sadržati :size stavki." }, string: "Polje :attribute mora sadržati slova.", timezone: "Polje :attribute mora biti ispravna vremenska zona.", unique: "Polje :attribute već postoji.", uploaded: "The :attribute failed to upload.", url: "Format polja :attribute ne važi." }; },{}]},{},[]);