X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/37ab97af8c7f2221229898cce46461eb30c74a9a..refs/pull/1755/head:/resources/lang/uk/validation.php diff --git a/resources/lang/uk/validation.php b/resources/lang/uk/validation.php index 0e45bc0cc..5e8172889 100644 --- a/resources/lang/uk/validation.php +++ b/resources/lang/uk/validation.php @@ -4,10 +4,6 @@ * 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 [ @@ -34,12 +30,41 @@ return [ 'digits' => ':attribute повинні бути :digits цифрами.', 'digits_between' => ':attribute має бути між :min та :max цифр.', 'email' => ':attribute повинна бути дійсною електронною адресою.', + 'ends_with' => 'The :attribute must end with one of the following: :values', 'filled' => ':attribute поле обов\'язкове.', + 'gt' => [ + 'numeric' => 'The :attribute must be greater than :value.', + 'file' => ':attribute має бути більшим ніж :value кілобайт.', + '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.', + ], 'exists' => 'Вибраний :attribute недійсний.', 'image' => ':attribute повинен бути зображенням.', + 'image_extension' => ':attribute повинен мати дійсне та підтримуване розширення зображення.', 'in' => 'Вибраний :attribute недійсний.', 'integer' => ':attribute повинен бути цілим числом.', 'ip' => ':attribute повинна бути дійсною IP-адресою.', + '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' => ':attribute не може бути більшим за :max.', 'file' => ':attribute не може бути більшим за :max кілобайт.', @@ -53,7 +78,9 @@ return [ 'string' => ':attribute повинен бути принаймні :min символів.', 'array' => ':attribute повинен містити принаймні :min елементів.', ], + 'no_double_extension' => ':attribute повинен мати тільки одне розширення файлу.', 'not_in' => 'Вибраний :attribute недійсний.', + 'not_regex' => 'The :attribute format is invalid.', 'numeric' => ':attribute повинен бути числом.', 'regex' => ':attribute формат недійсний.', 'required' => ':attribute поле обов\'язкове.', @@ -73,6 +100,7 @@ return [ 'timezone' => ':attribute повинен бути дійсною зоною.', 'unique' => ':attribute вже є.', 'url' => ':attribute формат недійсний.', + 'uploaded' => 'Не вдалося завантажити файл. Сервер може не приймати файли такого розміру.', // Custom validation lines 'custom' => [