Skip to content

Commit bc51cdd

Browse files
authored
Merge pull request laravel#4654 from Alymosul/master
[5.6] Add language lines for the newly added comparison validation rules.
2 parents 479d02b + 51507a6 commit bc51cdd

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

resources/lang/en/validation.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,30 @@
4242
'exists' => 'The selected :attribute is invalid.',
4343
'file' => 'The :attribute must be a file.',
4444
'filled' => 'The :attribute field must have a value.',
45+
'gt' => [
46+
'numeric' => 'The :attribute must be greater than :value.',
47+
'file' => 'The :attribute must be greater than :value kilobytes.',
48+
'string' => 'The :attribute must be greater than :value characters.',
49+
'array' => 'The :attribute must have more than :value items.',
50+
],
51+
'lt' => [
52+
'numeric' => 'The :attribute must be less than :value.',
53+
'file' => 'The :attribute must be less than :value kilobytes.',
54+
'string' => 'The :attribute must be less than :value characters.',
55+
'array' => 'The :attribute must have less than :value items.',
56+
],
57+
'gte' => [
58+
'numeric' => 'The :attribute must be greater than or equal :value.',
59+
'file' => 'The :attribute must be greater than or equal :value kilobytes.',
60+
'string' => 'The :attribute must be greater than or equal :value characters.',
61+
'array' => 'The :attribute must have :value items or more.',
62+
],
63+
'lte' => [
64+
'numeric' => 'The :attribute must be less than or equal :value.',
65+
'file' => 'The :attribute must be less than or equal :value kilobytes.',
66+
'string' => 'The :attribute must be less than or equal :value characters.',
67+
'array' => 'The :attribute must not have more than :value items.',
68+
],
4569
'image' => 'The :attribute must be an image.',
4670
'in' => 'The selected :attribute is invalid.',
4771
'in_array' => 'The :attribute field does not exist in :other.',

0 commit comments

Comments
 (0)