Skip to content

Commit 6a2ad47

Browse files
committed
Added array validation language lines.
1 parent 93aee27 commit 6a2ad47

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/lang/en/validation.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@
1919
"alpha" => "The :attribute may only contain letters.",
2020
"alpha_dash" => "The :attribute may only contain letters, numbers, and dashes.",
2121
"alpha_num" => "The :attribute may only contain letters and numbers.",
22+
"array" => "The :attribute must be an array.",
2223
"before" => "The :attribute must be a date before :date.",
2324
"between" => array(
2425
"numeric" => "The :attribute must be between :min - :max.",
2526
"file" => "The :attribute must be between :min - :max kilobytes.",
2627
"string" => "The :attribute must be between :min - :max characters.",
28+
"array" => "The :attribute must have between :min - :max items.",
2729
),
2830
"confirmed" => "The :attribute confirmation does not match.",
2931
"date" => "The :attribute is not a valid date.",
@@ -41,12 +43,14 @@
4143
"numeric" => "The :attribute may not be greater than :max.",
4244
"file" => "The :attribute may not be greater than :max kilobytes.",
4345
"string" => "The :attribute may not be greater than :max characters.",
46+
"array" => "The :attribute may not have more than :max items.",
4447
),
4548
"mimes" => "The :attribute must be a file of type: :values.",
4649
"min" => array(
4750
"numeric" => "The :attribute must be at least :min.",
4851
"file" => "The :attribute must be at least :min kilobytes.",
4952
"string" => "The :attribute must be at least :min characters.",
53+
"array" => "The :attribute must have at least :min items.",
5054
),
5155
"not_in" => "The selected :attribute is invalid.",
5256
"numeric" => "The :attribute must be a number.",
@@ -60,6 +64,7 @@
6064
"numeric" => "The :attribute must be :size.",
6165
"file" => "The :attribute must be :size kilobytes.",
6266
"string" => "The :attribute must be :size characters.",
67+
"array" => "The :attribute must contain :size items.",
6368
),
6469
"unique" => "The :attribute has already been taken.",
6570
"url" => "The :attribute format is invalid.",

0 commit comments

Comments
 (0)