Skip to content

Commit 5eef672

Browse files
[9.x] Fix lang alphabetical order (laravel#5812)
* Fix lang alphabetical order * Update pagination.php Co-authored-by: Taylor Otwell <taylor@laravel.com>
1 parent f2b8023 commit 5eef672

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

lang/en/validation.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
'before' => 'The :attribute must be a date before :date.',
2626
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
2727
'between' => [
28-
'numeric' => 'The :attribute must be between :min and :max.',
28+
'array' => 'The :attribute must have between :min and :max items.',
2929
'file' => 'The :attribute must be between :min and :max kilobytes.',
30+
'numeric' => 'The :attribute must be between :min and :max.',
3031
'string' => 'The :attribute must be between :min and :max characters.',
31-
'array' => 'The :attribute must have between :min and :max items.',
3232
],
3333
'boolean' => 'The :attribute field must be true or false.',
3434
'confirmed' => 'The :attribute confirmation does not match.',
@@ -50,16 +50,16 @@
5050
'file' => 'The :attribute must be a file.',
5151
'filled' => 'The :attribute field must have a value.',
5252
'gt' => [
53-
'numeric' => 'The :attribute must be greater than :value.',
53+
'array' => 'The :attribute must have more than :value items.',
5454
'file' => 'The :attribute must be greater than :value kilobytes.',
55+
'numeric' => 'The :attribute must be greater than :value.',
5556
'string' => 'The :attribute must be greater than :value characters.',
56-
'array' => 'The :attribute must have more than :value items.',
5757
],
5858
'gte' => [
59-
'numeric' => 'The :attribute must be greater than or equal to :value.',
59+
'array' => 'The :attribute must have :value items or more.',
6060
'file' => 'The :attribute must be greater than or equal to :value kilobytes.',
61+
'numeric' => 'The :attribute must be greater than or equal to :value.',
6162
'string' => 'The :attribute must be greater than or equal to :value characters.',
62-
'array' => 'The :attribute must have :value items or more.',
6363
],
6464
'image' => 'The :attribute must be an image.',
6565
'in' => 'The selected :attribute is invalid.',
@@ -70,31 +70,31 @@
7070
'ipv6' => 'The :attribute must be a valid IPv6 address.',
7171
'json' => 'The :attribute must be a valid JSON string.',
7272
'lt' => [
73-
'numeric' => 'The :attribute must be less than :value.',
73+
'array' => 'The :attribute must have less than :value items.',
7474
'file' => 'The :attribute must be less than :value kilobytes.',
75+
'numeric' => 'The :attribute must be less than :value.',
7576
'string' => 'The :attribute must be less than :value characters.',
76-
'array' => 'The :attribute must have less than :value items.',
7777
],
7878
'lte' => [
79-
'numeric' => 'The :attribute must be less than or equal to :value.',
79+
'array' => 'The :attribute must not have more than :value items.',
8080
'file' => 'The :attribute must be less than or equal to :value kilobytes.',
81+
'numeric' => 'The :attribute must be less than or equal to :value.',
8182
'string' => 'The :attribute must be less than or equal to :value characters.',
82-
'array' => 'The :attribute must not have more than :value items.',
8383
],
8484
'mac_address' => 'The :attribute must be a valid MAC address.',
8585
'max' => [
86-
'numeric' => 'The :attribute must not be greater than :max.',
86+
'array' => 'The :attribute must not have more than :max items.',
8787
'file' => 'The :attribute must not be greater than :max kilobytes.',
88+
'numeric' => 'The :attribute must not be greater than :max.',
8889
'string' => 'The :attribute must not be greater than :max characters.',
89-
'array' => 'The :attribute must not have more than :max items.',
9090
],
9191
'mimes' => 'The :attribute must be a file of type: :values.',
9292
'mimetypes' => 'The :attribute must be a file of type: :values.',
9393
'min' => [
94-
'numeric' => 'The :attribute must be at least :min.',
94+
'array' => 'The :attribute must have at least :min items.',
9595
'file' => 'The :attribute must be at least :min kilobytes.',
96+
'numeric' => 'The :attribute must be at least :min.',
9697
'string' => 'The :attribute must be at least :min characters.',
97-
'array' => 'The :attribute must have at least :min items.',
9898
],
9999
'multiple_of' => 'The :attribute must be a multiple of :value.',
100100
'not_in' => 'The selected :attribute is invalid.',
@@ -117,10 +117,10 @@
117117
'required_without_all' => 'The :attribute field is required when none of :values are present.',
118118
'same' => 'The :attribute and :other must match.',
119119
'size' => [
120-
'numeric' => 'The :attribute must be :size.',
120+
'array' => 'The :attribute must contain :size items.',
121121
'file' => 'The :attribute must be :size kilobytes.',
122+
'numeric' => 'The :attribute must be :size.',
122123
'string' => 'The :attribute must be :size characters.',
123-
'array' => 'The :attribute must contain :size items.',
124124
],
125125
'starts_with' => 'The :attribute must start with one of the following: :values.',
126126
'string' => 'The :attribute must be a string.',

0 commit comments

Comments
 (0)