Browse Source

Merge pull request #1963 from EvgenyKovalev/master

Language fix for Validation.
Taylor Otwell 11 years ago
parent
commit
6891fb7b21
2 changed files with 7 additions and 7 deletions
  1. 3 3
      application/language/en/validation.php
  2. 4 4
      application/language/ru/validation.php

+ 3 - 3
application/language/en/validation.php

@@ -46,9 +46,9 @@ return array(
 	"ip"             => "The :attribute must be a valid IP address.",
 	"match"          => "The :attribute format is invalid.",
 	"max"            => array(
-		"numeric" => "The :attribute must be less than :max.",
-		"file"    => "The :attribute must be less than :max kilobytes.",
-		"string"  => "The :attribute must be less than :max characters.",
+		"numeric" => "The :attribute may not be greater than :max.",
+		"file"    => "The :attribute may not be greater than :max kilobytes.",
+		"string"  => "The :attribute may not be greater than :max characters.",
 	),
 	"mimes"          => "The :attribute must be a file of type: :values.",
 	"min"            => array(

+ 4 - 4
application/language/ru/validation.php

@@ -45,9 +45,9 @@ return array(
 	"ip"             => "Поле :attribute должно быть полным IP-адресом.",
 	"match"          => "Поле :attribute имеет неверный формат.",
 	"max"            => array(
-		"numeric" => "Поле :attribute должно быть меньше :max.",
-		"file"    => "Поле :attribute должно быть меньше :max Килобайт.",
-		"string"  => "Поле :attribute должно быть короче :max символов.",
+		"numeric" => "Поле :attribute должно быть не больше :max.",
+		"file"    => "Поле :attribute должно быть не больше :max Килобайт.",
+		"string"  => "Поле :attribute должно быть не длиннее :max символов.",
 	),
 	"mimes"          => "Поле :attribute должно быть файлом одного из типов: :values.",
 	"min"            => array(
@@ -101,4 +101,4 @@ return array(
 
 	'attributes' => array(),
 
-);
+);