UNPKG

validatorjs

Version:

Validation library inspired by Laravel's Validator

104 lines (103 loc) 5.43 kB
module.exports = { accepted: ':attribute musí být přijat.', active_url: ':attribute není platnou URL adresou.', after: ':attribute musí být datum po :date.', after_or_equal: 'The :attribute must be a date after or equal to :date.', alpha: ':attribute může obsahovat pouze písmena.', alpha_dash: ':attribute může obsahovat pouze písmena, číslice, pomlčky a podtržítka. České znaky (á, é, í, ó, ú, ů, ž, š, č, ř, ď, ť, ň) nejsou podporovány.', alpha_num: ':attribute může obsahovat pouze písmena a číslice.', attributes: {}, array: ':attribute musí být pole.', before: ':attribute musí být datum před :date.', before_or_equal: 'The :attribute must be a date before or equal to :date.', between: { numeric: ':attribute musí být hodnota mezi :min a :max.', file: ':attribute musí být větší než :min a menší než :max Kilobytů.', string: ':attribute musí být delší než :min a kratší než :max znaků.', array: ':attribute musí obsahovat nejméně :min a nesmí obsahovat více než :max prvků.' }, boolean: ':attribute musí být true nebo false', confirmed: ':attribute nebylo odsouhlaseno.', date: ':attribute musí být platné datum.', date_format: ':attribute není platný formát data podle :format.', different: ':attribute a :other se musí lišit.', digits: ':attribute musí být :digits pozic dlouhé.', digits_between: ':attribute musí být dlouhé nejméně :min a nejvíce :max pozic.', dimensions: ':attribute má neplatné rozměry.', distinct: ':attribute má duplicitní hodnotu.', email: ':attribute není platný formát.', exists: 'Zvolená hodnota pro :attribute není platná.', file: ':attribute musí být soubor.', filled: ':attribute musí být vyplněno.', 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: ':attribute musí být obrázek.', in: 'Zvolená hodnota pro :attribute je neplatná.', in_array: ':attribute není obsažen v :other.', integer: ':attribute musí být celé číslo.', ip: ':attribute musí být platnou IP adresou.', ipv4: 'The :attribute must be a valid IPv4 address.', ipv6: 'The :attribute must be a valid IPv6 address.', json: ':attribute musí být platný JSON řetězec.', 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 musí být nižší než :max.', file: ':attribute musí být menší než :max Kilobytů.', string: ':attribute musí být kratší než :max znaků.', array: ':attribute nesmí obsahovat více než :max prvků.' }, mimes: ':attribute musí být jeden z následujících datových typů :values.', mimetypes: ':attribute musí být jeden z následujících datových typů :values.', min: { numeric: ':attribute musí být větší než :min.', file: ':attribute musí být větší než :min Kilobytů.', string: ':attribute musí být delší než :min znaků.', array: ':attribute musí obsahovat více než :min prvků.' }, not_in: 'Zvolená hodnota pro :attribute je neplatná.', not_regex: 'The :attribute format is invalid.', numeric: ':attribute musí být číslo.', present: ':attribute musí být vyplněno.', regex: ':attribute nemá správný formát.', required: ':attribute musí být vyplněno.', required_if: ':attribute musí být vyplněno pokud :other je :value.', required_unless: ':attribute musí být vyplněno dokud :other je v :value.', required_with: ':attribute musí být vyplněno pokud :field je vyplněno.', required_with_all: ':attribute musí být vyplněno pokud :fields je zvoleno.', required_without: ':attribute musí být vyplněno pokud :field není vyplněno.', required_without_all: ':attribute musí být vyplněno pokud není žádné z :fields zvoleno.', same: ':attribute a :other se musí shodovat.', size: { numeric: ':attribute musí být přesně :size.', file: ':attribute musí mít přesně :size Kilobytů.', string: ':attribute musí být přesně :size znaků dlouhý.', array: ':attribute musí obsahovat právě :size prvků.' }, string: ':attribute musí být řetězec znaků.', timezone: ':attribute musí být platná časová zóna.', unique: ':attribute musí být unikátní.', uploaded: 'Nahrávání :attribute se nezdařilo.', url: 'Formát :attribute je neplatný.' };