Commit bd6289b1 authored by Evgeny Kovalev's avatar Evgeny Kovalev

Fixes error messages. Validation allows max number.

Fix for both Russian and English.
NB The bug is fixed for English version V4 already. No language files for other languages for V4.
Signed-off-by: 's avatarEvgeny Kovalev <Evgeny.Kovalev@gmail.com>
parent cffded66
...@@ -46,9 +46,9 @@ return array( ...@@ -46,9 +46,9 @@ return array(
"ip" => "The :attribute must be a valid IP address.", "ip" => "The :attribute must be a valid IP address.",
"match" => "The :attribute format is invalid.", "match" => "The :attribute format is invalid.",
"max" => array( "max" => array(
"numeric" => "The :attribute must be less than :max.", "numeric" => "The :attribute may not be greater than :max.",
"file" => "The :attribute must be less than :max kilobytes.", "file" => "The :attribute may not be greater than :max kilobytes.",
"string" => "The :attribute must be less than :max characters.", "string" => "The :attribute may not be greater than :max characters.",
), ),
"mimes" => "The :attribute must be a file of type: :values.", "mimes" => "The :attribute must be a file of type: :values.",
"min" => array( "min" => array(
......
...@@ -45,9 +45,9 @@ return array( ...@@ -45,9 +45,9 @@ return array(
"ip" => "Поле :attribute должно быть полным IP-адресом.", "ip" => "Поле :attribute должно быть полным IP-адресом.",
"match" => "Поле :attribute имеет неверный формат.", "match" => "Поле :attribute имеет неверный формат.",
"max" => array( "max" => array(
"numeric" => "Поле :attribute должно быть меньше :max.", "numeric" => "Поле :attribute должно быть не больше :max.",
"file" => "Поле :attribute должно быть меньше :max Килобайт.", "file" => "Поле :attribute должно быть не больше :max Килобайт.",
"string" => "Поле :attribute должно быть короче :max символов.", "string" => "Поле :attribute должно быть длиннее :max символов.",
), ),
"mimes" => "Поле :attribute должно быть файлом одного из типов: :values.", "mimes" => "Поле :attribute должно быть файлом одного из типов: :values.",
"min" => array( "min" => array(
...@@ -101,4 +101,4 @@ return array( ...@@ -101,4 +101,4 @@ return array(
'attributes' => array(), 'attributes' => array(),
); );
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment