UNPKG

validatorjs

Version:

Validation library inspired by Laravel's Validator

106 lines (104 loc) 6.48 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/lt":[function(require,module,exports){ module.exports = { accepted: 'Laukas :attribute turi būti priimtas.', active_url: 'Laukas :attribute nėra galiojantis internetinis adresas.', after: 'Lauko :attribute reikšmė turi būti po :date datos.', after_or_equal: 'The :attribute must be a date after or equal to :date.', alpha: 'Laukas :attribute gali turėti tik raides.', alpha_dash: 'Laukas :attribute gali turėti tik raides, skaičius ir brūkšnelius.', alpha_num: 'Laukas :attribute gali turėti tik raides ir skaičius.', attributes: {}, array: 'Laukas :attribute turi būti masyvas.', before: 'Laukas :attribute turi būti data prieš :date.', before_or_equal: 'The :attribute must be a date before or equal to :date.', between: { numeric: 'Lauko :attribute reikšmė turi būti tarp :min ir :max.', file: 'Failo dydis lauke :attribute turi būti tarp :min ir :max kilobaitų.', string: 'Simbolių skaičius lauke :attribute turi būti tarp :min ir :max.', array: 'Elementų skaičius lauke :attribute turi turėti nuo :min iki :max.' }, boolean: 'Lauko reikšmė :attribute turi būti \'taip\' arba \'ne\'.', confirmed: 'Lauko :attribute patvirtinimas nesutampa.', date: 'Lauko :attribute reikšmė nėra galiojanti data.', date_format: 'Lauko :attribute reikšmė neatitinka formato :format.', different: 'Laukų :attribute ir :other reikšmės turi skirtis.', digits: 'Laukas :attribute turi būti sudarytas iš :digits skaitmenų.', digits_between: 'Laukas :attribute tuti turėti nuo :min iki :max skaitmenų.', dimensions: 'Lauke :attribute įkeltas paveiksliukas neatitinka išmatavimų reikalavimo.', distinct: 'Laukas :attribute pasikartoja.', email: 'Lauko :attribute reikšmė turi būti galiojantis el. pašto adresas.', file: 'The :attribute must be a file.', filled: 'Laukas :attribute turi būti užpildytas.', exists: 'Pasirinkta negaliojanti :attribute reikšmė.', 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.' }, image: 'Lauko :attribute reikšmė turi būti paveikslėlis.', in: 'Pasirinkta negaliojanti :attribute reikšmė.', in_array: 'Laukas :attribute neegzistuoja :other lauke.', integer: 'Lauko :attribute reikšmė turi būti sveikasis skaičius.', ip: 'Lauko :attribute reikšmė turi būti galiojantis IP adresas.', ipv4: 'The :attribute must be a valid IPv4 address.', ipv6: 'The :attribute must be a valid IPv6 address.', json: 'Lauko :attribute reikšmė turi būti JSON tekstas.', 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: 'Lauko :attribute reikšmė negali būti didesnė nei :max.', file: 'Failo dydis lauke :attribute reikšmė negali būti didesnė nei :max kilobaitų.', string: 'Simbolių kiekis lauke :attribute reikšmė negali būti didesnė nei :max simbolių.', array: 'Elementų kiekis lauke :attribute negali turėti daugiau nei :max elementų.' }, mimes: 'Lauko reikšmė :attribute turi būti failas vieno iš sekančių tipų: :values.', mimetypes: 'Lauko reikšmė :attribute turi būti failas vieno iš sekančių tipų: :values.', min: { numeric: 'Lauko :attribute reikšmė turi būti ne mažesnė nei :min.', file: 'Failo dydis lauke :attribute turi būti ne mažesnis nei :min kilobaitų.', string: 'Simbolių kiekis lauke :attribute turi būti ne mažiau nei :min.', array: 'Elementų kiekis lauke :attribute turi būti ne mažiau nei :min.' }, not_in: 'Pasirinkta negaliojanti reikšmė :attribute.', not_regex: 'The :attribute format is invalid.', numeric: 'Lauko :attribute reikšmė turi būti skaičius.', present: 'Laukas :attribute turi egzistuoti.', regex: 'Negaliojantis lauko :attribute formatas.', required: 'Privaloma užpildyti lauką :attribute.', required_if: 'Privaloma užpildyti lauką :attribute kai :other yra :value.', required_unless: 'Laukas :attribute yra privalomas, nebent :other yra tarp :values reikšmių.', required_with: 'Privaloma užpildyti lauką :attribute kai pateikta :values.', required_with_all: 'Privaloma užpildyti lauką :attribute kai pateikta :values.', required_without: 'Privaloma užpildyti lauką :attribute kai nepateikta :values.', required_without_all: 'Privaloma užpildyti lauką :attribute kai nepateikta nei viena iš reikšmių :values.', same: 'Laukai :attribute ir :other turi sutapti.', size: { numeric: 'Lauko :attribute reikšmė turi būti :size.', file: 'Failo dydis lauke :attribute turi būti :size kilobaitai.', string: 'Simbolių skaičius lauke :attribute turi būti :size.', array: 'Elementų kiekis lauke :attribute turi būti :size.' }, string: 'Laukas :attribute turi būti tekstinis.', timezone: 'Lauko :attribute reikšmė turi būti galiojanti laiko zona.', unique: 'Tokia :attribute reikšmė jau pasirinkta.', uploaded: 'The :attribute failed to upload.', url: 'Negaliojantis lauko :attribute formatas.' }; },{}]},{},[]);