Skip to content

Commit

Permalink
Validation rules fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeping-owl committed May 11, 2015
1 parent 31d50fa commit 8376283
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 48 deletions.
24 changes: 0 additions & 24 deletions src/lang/en/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@
"alpha_num" => "The :attribute may only contain letters and numbers.",
"array" => "The :attribute must be an array.",
"before" => "The :attribute must be a date before :date.",
"between" => [
"numeric" => "The :attribute must be between :min and :max.",
"file" => "The :attribute must be between :min and :max kilobytes.",
"string" => "The :attribute must be between :min and :max characters.",
"array" => "The :attribute must have between :min and :max items.",
],
"confirmed" => "The :attribute confirmation does not match.",
"date" => "The :attribute is not a valid date.",
"date_format" => "The :attribute does not match the format :format.",
Expand All @@ -39,19 +33,7 @@
"in" => "The selected :attribute is invalid.",
"integer" => "The :attribute must be an integer.",
"ip" => "The :attribute must be a valid IP address.",
"max" => [
"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.",
"array" => "The :attribute may not have more than :max items.",
],
"mimes" => "The :attribute must be a file of type: :values.",
"min" => [
"numeric" => "The :attribute must be at least :min.",
"file" => "The :attribute must be at least :min kilobytes.",
"string" => "The :attribute must be at least :min characters.",
"array" => "The :attribute must have at least :min items.",
],
"not_in" => "The selected :attribute is invalid.",
"not_php" => "Wrong file type.",
"numeric" => "The :attribute must be a number.",
Expand All @@ -64,12 +46,6 @@
"required_without" => "The :attribute field is required when :values is not present.",
"required_without_all" => "The :attribute field is required when none of :values are present.",
"same" => "The :attribute and :other must match.",
"size" => [
"numeric" => "The :attribute must be :size.",
"file" => "The :attribute must be :size kilobytes.",
"string" => "The :attribute must be :size characters.",
"array" => "The :attribute must contain :size items.",
],
"unique" => "The :attribute has already been taken.",
"url" => "The :attribute format is invalid.",
"url_stub" => "The :attribute format is invalid.",
Expand Down
24 changes: 0 additions & 24 deletions src/lang/ru/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@
"alpha_num" => "Неверный формат.",
"array" => "Должно быть массивом.",
"before" => "Дата должна быть до :date.",
"between" => [
"numeric" => "Должно быть между :min и :max.",
"file" => "Размер файла должен быть от :min до :max килобайт.",
"string" => "Длина должна быть от :min до :max символов.",
"array" => "Должно быть от :min до :max элементов.",
],
"confirmed" => "Подтверждение этого поля не совпадает.",
"date" => "Неверная дата.",
"date_format" => "Неверный формат.",
Expand All @@ -39,19 +33,7 @@
"in" => "The selected :attribute is invalid.",
"integer" => "The :attribute must be an integer.",
"ip" => "The :attribute must be a valid IP address.",
"max" => [
"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.",
"array" => "The :attribute may not have more than :max items.",
],
"mimes" => "The :attribute must be a file of type: :values.",
"min" => [
"numeric" => "The :attribute must be at least :min.",
"file" => "The :attribute must be at least :min kilobytes.",
"string" => "The :attribute must be at least :min characters.",
"array" => "The :attribute must have at least :min items.",
],
"not_in" => "The selected :attribute is invalid.",
"not_php" => "Неверный тип файла.",
"numeric" => "The :attribute must be a number.",
Expand All @@ -64,12 +46,6 @@
"required_without" => "The :attribute field is required when :values is not present.",
"required_without_all" => "The :attribute field is required when none of :values are present.",
"same" => "The :attribute and :other must match.",
"size" => [
"numeric" => "The :attribute must be :size.",
"file" => "The :attribute must be :size kilobytes.",
"string" => "The :attribute must be :size characters.",
"array" => "The :attribute must contain :size items.",
],
"unique" => "Это поле должно быть уникальным. Подобная запись уже существует.",
"url" => "The :attribute format is invalid.",
"url_stub" => "Неверный формат поля.",
Expand Down

0 comments on commit 8376283

Please sign in to comment.