X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/ab7f5def04a667ce4e6a6aff8b51d27b82550f42..refs/pull/1756/head:/resources/lang/ru/validation.php diff --git a/resources/lang/ru/validation.php b/resources/lang/ru/validation.php index 20a1924b3..80cd89fd5 100644 --- a/resources/lang/ru/validation.php +++ b/resources/lang/ru/validation.php @@ -1,20 +1,15 @@ ':attribute должен быть принят.', - 'active_url' => ':attribute не является валидным URL.', + 'active_url' => ':attribute не является корректным URL.', 'after' => ':attribute дата должна быть позже :date.', 'alpha' => ':attribute может содержать только буквы.', 'alpha_dash' => ':attribute может содержать только буквы, цифры и тире.', @@ -29,18 +24,47 @@ return [ ], 'boolean' => ':attribute поле может быть только true или false.', 'confirmed' => ':attribute подтверждение не совпадает.', - 'date' => ':attribute не корректные данные.', + 'date' => ':attribute некорректные данные.', 'date_format' => ':attribute не соответствует формату :format.', 'different' => ':attribute и :other должны быть различны.', - 'digits' => ':attribute должен быть из :digits цифр.', + 'digits' => ':attribute должен состоять из :digits цифр.', 'digits_between' => ':attribute должен иметь от :min до :max цифр.', - 'email' => ':attribute must be a valid email address.', + 'email' => ':attribute должен быть корректным email адресом.', + 'ends_with' => 'The :attribute must end with one of the following: :values', 'filled' => ':attribute поле необходимо.', - 'exists' => 'выделенный :attribute невалиден.', - 'image' => ':attribute must be an image.', - 'in' => 'выделенный :attribute невалиден.', + '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.', + ], + 'exists' => 'выделенный :attribute некорректен.', + 'image' => ':attribute должен быть изображением.', + 'image_extension' => ':attribute должен быть исправным и содержать расширение картинки', + 'in' => 'выделенный :attribute некорректен.', 'integer' => ':attribute должно быть целое число.', - 'ip' => ':attribute должен быть валидный IP адрес.', + '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 килобайт.', @@ -54,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 обязательное поле.', @@ -71,38 +97,18 @@ return [ 'array' => ':attribute должен содержать :size элементов.', ], 'string' => ':attribute должен быть строкой.', - 'timezone' => ':attribute должен быть валидной временной зоной.', + 'timezone' => ':attribute должен быть корректным часовым поясом.', 'unique' => ':attribute уже есть.', 'url' => ':attribute имеет неправильный формат.', + 'uploaded' => 'Не удалось загрузить файл. Сервер не может принимать файлы такого размера.', - /* - |-------------------------------------------------------------------------- - | 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' => 'Требуется подтверждение пароля', ], ], - /* - |-------------------------------------------------------------------------- - | 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' => [], - ];