X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/e108808a32b865668076b7b032ee620229d44d1f..refs/pull/2283/head:/resources/lang/ru/validation.php diff --git a/resources/lang/ru/validation.php b/resources/lang/ru/validation.php index 80cd89fd5..e5e9d1eec 100644 --- a/resources/lang/ru/validation.php +++ b/resources/lang/ru/validation.php @@ -19,8 +19,8 @@ return [ 'between' => [ 'numeric' => ':attribute должен быть между :min и :max.', 'file' => ':attribute должен быть между :min и :max килобайт.', - 'string' => 'длина :attribute должена быть между :min и :max символами.', - 'array' => ':attribute должен содержать не менее :min и не более:max элементов.', + 'string' => 'длина :attribute должна быть между :min и :max символами.', + 'array' => ':attribute должен содержать не менее :min и не более :max элементов.', ], 'boolean' => ':attribute поле может быть только true или false.', 'confirmed' => ':attribute подтверждение не совпадает.', @@ -30,19 +30,19 @@ return [ 'digits' => ':attribute должен состоять из :digits цифр.', 'digits_between' => ':attribute должен иметь от :min до :max цифр.', 'email' => ':attribute должен быть корректным email адресом.', - 'ends_with' => 'The :attribute must end with one of the following: :values', + 'ends_with' => ':attribute должен заканчиваться одним из следующих: :values', 'filled' => ':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.', + 'numeric' => 'Значение :attribute должно быть больше чем :value.', + 'file' => 'Значение :attribute должно быть больше :value килобайт.', + 'string' => 'Значение :attribute должно быть больше :value символов.', + 'array' => 'Значение :attribute должно содержать больше :value элементов.', ], '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.', + 'numeric' => 'Значение :attribute должно быть больше или равно :value.', + 'file' => 'Значение :attribute должно быть больше или равно :value килобайт.', + 'string' => 'Значение :attribute должно быть больше или равно :value символам.', + 'array' => ':attribute должен иметь :value элементов или больше.', ], 'exists' => 'выделенный :attribute некорректен.', 'image' => ':attribute должен быть изображением.', @@ -50,20 +50,20 @@ return [ '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.', + 'ipv4' => ':attribute должен быть корректным IPv4-адресом.', + 'ipv6' => ':attribute должен быть корректным IPv6-адресом.', + 'json' => ':attribute должен быть допустимой строкой JSON.', '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.', + 'numeric' => 'Значение :attribute должно быть меньше, чем :value.', + 'file' => 'Значение :attribute должно быть меньше :value килобайт.', + 'string' => 'Значение :attribute должно быть меньше :value символов.', + 'array' => 'Значение :attribute должно быть меньше :value элементов.', ], '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.', + 'numeric' => 'Значение :attribute должно быть меньше или равно :value.', + 'file' => 'Значение :attribute должно быть меньше или равно :value килобайт.', + 'string' => 'Значение :attribute должно быть меньше или равно :value символам.', + 'array' => 'Поле :attribute не должно содержать больше :value элементов.', ], 'max' => [ 'numeric' => ':attribute не может быть больше чем :max.', @@ -73,16 +73,16 @@ return [ ], 'mimes' => ':attribute должен быть файлом с типом: :values.', 'min' => [ - 'numeric' => ':attribute должен быть хотя бы :min.', + 'numeric' => 'Поле :attribute должно быть не менее :min.', 'file' => ':attribute должен быть минимум :min килобайт.', 'string' => ':attribute должен быть минимум :min символов.', 'array' => ':attribute должен содержать хотя бы :min элементов.', ], 'no_double_extension' => ':attribute должен иметь только одно расширение файла.', 'not_in' => 'Выбранный :attribute некорректен.', - 'not_regex' => 'The :attribute format is invalid.', + 'not_regex' => 'Формат :attribute некорректен.', 'numeric' => ':attribute должен быть числом.', - 'regex' => ':attribute неправильный формат.', + 'regex' => 'Формат :attribute некорректен.', 'required' => ':attribute обязательное поле.', 'required_if' => ':attribute обязательное поле когда :other со значением :value.', 'required_with' => ':attribute обязательное поле когда :values установлено.', @@ -99,7 +99,7 @@ return [ 'string' => ':attribute должен быть строкой.', 'timezone' => ':attribute должен быть корректным часовым поясом.', 'unique' => ':attribute уже есть.', - 'url' => ':attribute имеет неправильный формат.', + 'url' => 'Формат :attribute некорректен.', 'uploaded' => 'Не удалось загрузить файл. Сервер не может принимать файлы такого размера.', // Custom validation lines