X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/07b889547d28e68e5fc8f923c166bd607da17ad7..refs/pull/2023/head:/resources/lang/cs/validation.php diff --git a/resources/lang/cs/validation.php b/resources/lang/cs/validation.php index 3e47fb0c3..13a8f790f 100644 --- a/resources/lang/cs/validation.php +++ b/resources/lang/cs/validation.php @@ -1,27 +1,21 @@ ':attribute musí být přijat.', 'active_url' => ':attribute není platnou URL adresou.', 'after' => ':attribute musí být datum po :date.', - 'after_or_equal' => ':attribute musí být datum :date nebo pozdější.', '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.', 'array' => ':attribute musí být pole.', 'before' => ':attribute musí být datum před :date.', - 'before_or_equal' => 'Datum :attribute musí být před nebo rovno :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ů.', @@ -31,16 +25,12 @@ return [ 'boolean' => ':attribute musí být true nebo false', 'confirmed' => ':attribute nesouhlasí.', 'date' => ':attribute musí být platné datum.', - 'date_equals' => 'The :attribute must be a date equal to :date.', '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.', + 'ends_with' => 'The :attribute must end with one of the following: :values', 'filled' => ':attribute musí být vyplněno.', 'gt' => [ 'numeric' => ':attribute musí být větší než :value.', @@ -54,9 +44,10 @@ return [ 'string' => 'Počet znaků :attribute musí být větší nebo rovno :value.', 'array' => 'Pole :attribute musí mít :value prvků nebo více.', ], + 'exists' => 'Zvolená hodnota pro :attribute není platná.', 'image' => ':attribute musí být obrázek.', + 'image_extension' => 'The :attribute must have a valid & supported image extension.', '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' => ':attribute musí být platná IPv4 adresa.', @@ -81,21 +72,19 @@ return [ 'array' => ':attribute nemůže 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 kB.', 'string' => ':attribute musí být delší než :min znaků.', 'array' => ':attribute musí obsahovat více než :min prvků.', ], + 'no_double_extension' => 'The :attribute must only have a single file extension.', 'not_in' => 'Zvolená hodnota pro :attribute je neplatná.', 'not_regex' => ':attribute musí být regulární výraz.', '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 :values.', 'required_with' => ':attribute musí být vyplněno pokud :values je vyplněno.', 'required_with_all' => ':attribute musí být vyplněno pokud :values je zvoleno.', 'required_without' => ':attribute musí být vyplněno pokud :values není vyplněno.', @@ -107,46 +96,19 @@ return [ 'string' => ':attribute musí být přesně :size znaků dlouhý.', 'array' => ':attribute musí obsahovat právě :size prvků.', ], - 'starts_with' => 'The :attribute must start with one of the following: :values', '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ý.', - 'uuid' => ':attribute musí být validní UUID.', - - /* - |-------------------------------------------------------------------------- - | 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. - | - */ + 'uploaded' => 'Nahrávání :attribute se nezdařilo.', + // Custom validation lines 'custom' => [ - 'attribute-name' => [ - 'rule-name' => 'custom-message', - ], 'password-confirm' => [ 'required_with' => 'Password confirmation required', ], ], - /* - |-------------------------------------------------------------------------- - | 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. - | - */ - - 'attributes' => [ - 'password' => 'heslo', - ], + // Custom validation attributes + 'attributes' => [], ];