<?php
-
+/**
+ * Validation Lines
+ * The following language lines contain the default error messages used by
+ * the validator class. Some of these rules have multiple versions such
+ * as the size rules. Feel free to tweak each of these messages here.
+ */
return [
- /*
- |--------------------------------------------------------------------------
- | Validation Language Lines
- |--------------------------------------------------------------------------
- |
- | The following language lines contain the default error messages used by
- | the validator class. Some of these rules have multiple versions such
- | as the size rules. Feel free to tweak each of these messages here.
- |
- */
-
+ // Standard laravel validation lines
'accepted' => ':attribute musí byť akceptovaný.',
'active_url' => ':attribute nie je platná URL.',
'after' => ':attribute musí byť dátum po :date.',
'alpha_dash' => ':attribute môže obsahovať iba písmená, čísla a pomlčky.',
'alpha_num' => ':attribute môže obsahovať iba písmená a čísla.',
'array' => ':attribute musí byť pole.',
+ 'backup_codes' => 'Poskytnutý kód nie je platný alebo už bol použitý.',
'before' => ':attribute musí byť dátum pred :date.',
'between' => [
'numeric' => ':attribute musí byť medzi :min a :max.',
'digits' => ':attribute musí mať :digits číslic.',
'digits_between' => ':attribute musí mať medzi :min a :max číslicami.',
'email' => ':attribute musí byť platná emailová adresa.',
+ 'ends_with' => ':attribute musí končiť jednou z nasledujúcich hodnôt :values',
+ 'file' => 'The :attribute must be provided as a valid file.',
'filled' => 'Políčko :attribute je povinné.',
+ 'gt' => [
+ 'numeric' => 'Hodnota :attribute musí byť väčšia ako :value.',
+ 'file' => ':attribute musí mať viac kilobajtov ako :value.',
+ 'string' => ':attribute musí mať viac znakov ako :value.',
+ 'array' => ':attribute musí mať viac ako :value položiek.',
+ ],
+ 'gte' => [
+ 'numeric' => 'Hodnota :attribute musí byť väčšia alebo rovná ako :value.',
+ 'file' => ':attribute musí mať rovnaký alebo väčší počet kilobajtov ako :value.',
+ 'string' => ':attribute musí byť väčší alebo rovnaký ako :value znakov.',
+ 'array' => ':attribute musí mať :value položiek alebo viac.',
+ ],
'exists' => 'Vybraný :attribute nie je platný.',
'image' => ':attribute musí byť obrázok.',
+ 'image_extension' => ':attribute musí mať platné a podporované rozšírenie obrázka.',
'in' => 'Vybraný :attribute je neplatný.',
'integer' => ':attribute musí byť celé číslo.',
'ip' => ':attribute musí byť platná IP adresa.',
+ 'ipv4' => ':attribute musí byť platná adresa IPv4.',
+ 'ipv6' => ':attribute musí byť platná IPv6 adresa.',
+ 'json' => ':attribute musí byť platný JSON reťazec.',
+ 'lt' => [
+ 'numeric' => 'Hodnota :attribute musí byť menšia ako :value.',
+ 'file' => ':attribute musí mať menej kilobajtov ako :value.',
+ 'string' => ':attribute musí mať menej znakov ako :value.',
+ 'array' => ':attribute musí mať menej položiek ako :value.',
+ ],
+ 'lte' => [
+ 'numeric' => 'Hodnota :attribute musí byť menšia alebo rovná ako :value.',
+ 'file' => ':attribute musí mať rovnaký alebo menší počet kilobajtov ako :value.',
+ 'string' => ':attribute musí mať rovnaký alebo menší počet znakov ako :value.',
+ 'array' => ':attribute nesmie mať viac ako :value položiek.',
+ ],
'max' => [
'numeric' => ':attribute nesmie byť väčší ako :max.',
'file' => ':attribute nesmie byť väčší ako :max kilobajtov.',
'array' => ':attribute musí mať aspoň :min položiek.',
],
'not_in' => 'Vybraný :attribute je neplatný.',
+ 'not_regex' => ':attribute formát je neplatný.',
'numeric' => ':attribute musí byť číslo.',
'regex' => ':attribute formát je neplatný.',
'required' => 'Políčko :attribute je povinné.',
'required_without' => 'Políčko :attribute je povinné aj :values neexistuje.',
'required_without_all' => 'Políčko :attribute je povinné ak ani jedno z :values neexistuje.',
'same' => ':attribute a :other musia byť rovnaké.',
+ 'safe_url' => 'Poskytnutý odkaz nemusí byť bezpečný.',
'size' => [
'numeric' => ':attribute musí byť :size.',
'file' => ':attribute musí mať :size kilobajtov.',
],
'string' => ':attribute musí byť reťazec.',
'timezone' => ':attribute musí byť plantá časová zóna.',
+ 'totp' => 'Poskytnutý kód nie je platný alebo už bol použitý.',
'unique' => ':attribute je už použité.',
'url' => ':attribute formát je neplatný.',
+ 'uploaded' => 'Súbor sa nepodarilo nahrať. Server nemusí akceptovať súbory tejto veľkosti.',
- /*
- |--------------------------------------------------------------------------
- | Custom Validation Language Lines
- |--------------------------------------------------------------------------
- |
- | Here you may specify custom validation messages for attributes using the
- | convention "attribute.rule" to name the lines. This makes it quick to
- | specify a specific custom language line for a given attribute rule.
- |
- */
-
+ // Custom validation lines
'custom' => [
'password-confirm' => [
'required_with' => 'Vyžaduje sa potvrdenie hesla',
],
],
- /*
- |--------------------------------------------------------------------------
- | Custom Validation Attributes
- |--------------------------------------------------------------------------
- |
- | The following language lines are used to swap attribute place-holders
- | with something more reader friendly such as E-Mail Address instead
- | of "email". This simply helps us make messages a little cleaner.
- |
- */
-
+ // Custom validation attributes
'attributes' => [],
-
];