|
13 | 13 | |
|
14 | 14 | */
|
15 | 15 |
|
16 |
| - 'accepted' => 'The :attribute must be accepted.', |
17 |
| - 'active_url' => 'The :attribute is not a valid URL.', |
18 |
| - 'after' => 'The :attribute must be a date after :date.', |
19 |
| - 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', |
20 |
| - 'alpha' => 'The :attribute may only contain letters.', |
21 |
| - 'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.', |
22 |
| - 'alpha_num' => 'The :attribute may only contain letters and numbers.', |
23 |
| - 'array' => 'The :attribute must be an array.', |
24 |
| - 'before' => 'The :attribute must be a date before :date.', |
| 16 | + 'accepted' => 'The :attribute must be accepted.', |
| 17 | + 'active_url' => 'The :attribute is not a valid URL.', |
| 18 | + 'after' => 'The :attribute must be a date after :date.', |
| 19 | + 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', |
| 20 | + 'alpha' => 'The :attribute may only contain letters.', |
| 21 | + 'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.', |
| 22 | + 'alpha_num' => 'The :attribute may only contain letters and numbers.', |
| 23 | + 'array' => 'The :attribute must be an array.', |
| 24 | + 'before' => 'The :attribute must be a date before :date.', |
25 | 25 | 'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
|
26 |
| - 'between' => [ |
| 26 | + 'between' => [ |
27 | 27 | 'numeric' => 'The :attribute must be between :min and :max.',
|
28 |
| - 'file' => 'The :attribute must be between :min and :max kilobytes.', |
29 |
| - 'string' => 'The :attribute must be between :min and :max characters.', |
30 |
| - 'array' => 'The :attribute must have between :min and :max items.', |
| 28 | + 'file' => 'The :attribute must be between :min and :max kilobytes.', |
| 29 | + 'string' => 'The :attribute must be between :min and :max characters.', |
| 30 | + 'array' => 'The :attribute must have between :min and :max items.', |
31 | 31 | ],
|
32 |
| - 'boolean' => 'The :attribute field must be true or false.', |
33 |
| - 'confirmed' => 'The :attribute confirmation does not match.', |
34 |
| - 'date' => 'The :attribute is not a valid date.', |
35 |
| - 'date_equals' => 'The :attribute must be a date equal to :date.', |
36 |
| - 'date_format' => 'The :attribute does not match the format :format.', |
37 |
| - 'different' => 'The :attribute and :other must be different.', |
38 |
| - 'digits' => 'The :attribute must be :digits digits.', |
| 32 | + 'boolean' => 'The :attribute field must be true or false.', |
| 33 | + 'confirmed' => 'The :attribute confirmation does not match.', |
| 34 | + 'date' => 'The :attribute is not a valid date.', |
| 35 | + 'date_equals' => 'The :attribute must be a date equal to :date.', |
| 36 | + 'date_format' => 'The :attribute does not match the format :format.', |
| 37 | + 'different' => 'The :attribute and :other must be different.', |
| 38 | + 'digits' => 'The :attribute must be :digits digits.', |
39 | 39 | 'digits_between' => 'The :attribute must be between :min and :max digits.',
|
40 |
| - 'dimensions' => 'The :attribute has invalid image dimensions.', |
41 |
| - 'distinct' => 'The :attribute field has a duplicate value.', |
42 |
| - 'email' => 'The :attribute must be a valid email address.', |
43 |
| - 'ends_with' => 'The :attribute must end with one of the following: :values', |
44 |
| - 'exists' => 'The selected :attribute is invalid.', |
45 |
| - 'file' => 'The :attribute must be a file.', |
46 |
| - 'filled' => 'The :attribute field must have a value.', |
47 |
| - 'gt' => [ |
| 40 | + 'dimensions' => 'The :attribute has invalid image dimensions.', |
| 41 | + 'distinct' => 'The :attribute field has a duplicate value.', |
| 42 | + 'email' => 'The :attribute must be a valid email address.', |
| 43 | + 'ends_with' => 'The :attribute must end with one of the following: :values', |
| 44 | + 'exists' => 'The selected :attribute is invalid.', |
| 45 | + 'file' => 'The :attribute must be a file.', |
| 46 | + 'filled' => 'The :attribute field must have a value.', |
| 47 | + 'gt' => [ |
48 | 48 | 'numeric' => 'The :attribute must be greater than :value.',
|
49 |
| - 'file' => 'The :attribute must be greater than :value kilobytes.', |
50 |
| - 'string' => 'The :attribute must be greater than :value characters.', |
51 |
| - 'array' => 'The :attribute must have more than :value items.', |
| 49 | + 'file' => 'The :attribute must be greater than :value kilobytes.', |
| 50 | + 'string' => 'The :attribute must be greater than :value characters.', |
| 51 | + 'array' => 'The :attribute must have more than :value items.', |
52 | 52 | ],
|
53 | 53 | 'gte' => [
|
54 | 54 | 'numeric' => 'The :attribute must be greater than or equal :value.',
|
55 |
| - 'file' => 'The :attribute must be greater than or equal :value kilobytes.', |
56 |
| - 'string' => 'The :attribute must be greater than or equal :value characters.', |
57 |
| - 'array' => 'The :attribute must have :value items or more.', |
| 55 | + 'file' => 'The :attribute must be greater than or equal :value kilobytes.', |
| 56 | + 'string' => 'The :attribute must be greater than or equal :value characters.', |
| 57 | + 'array' => 'The :attribute must have :value items or more.', |
58 | 58 | ],
|
59 |
| - 'image' => 'The :attribute must be an image.', |
60 |
| - 'in' => 'The selected :attribute is invalid.', |
| 59 | + 'image' => 'The :attribute must be an image.', |
| 60 | + 'in' => 'The selected :attribute is invalid.', |
61 | 61 | 'in_array' => 'The :attribute field does not exist in :other.',
|
62 |
| - 'integer' => 'The :attribute must be an integer.', |
63 |
| - 'ip' => 'The :attribute must be a valid IP address.', |
64 |
| - 'ipv4' => 'The :attribute must be a valid IPv4 address.', |
65 |
| - 'ipv6' => 'The :attribute must be a valid IPv6 address.', |
66 |
| - 'json' => 'The :attribute must be a valid JSON string.', |
67 |
| - 'lt' => [ |
| 62 | + 'integer' => 'The :attribute must be an integer.', |
| 63 | + 'ip' => 'The :attribute must be a valid IP address.', |
| 64 | + 'ipv4' => 'The :attribute must be a valid IPv4 address.', |
| 65 | + 'ipv6' => 'The :attribute must be a valid IPv6 address.', |
| 66 | + 'json' => 'The :attribute must be a valid JSON string.', |
| 67 | + 'lt' => [ |
68 | 68 | 'numeric' => 'The :attribute must be less than :value.',
|
69 |
| - 'file' => 'The :attribute must be less than :value kilobytes.', |
70 |
| - 'string' => 'The :attribute must be less than :value characters.', |
71 |
| - 'array' => 'The :attribute must have less than :value items.', |
| 69 | + 'file' => 'The :attribute must be less than :value kilobytes.', |
| 70 | + 'string' => 'The :attribute must be less than :value characters.', |
| 71 | + 'array' => 'The :attribute must have less than :value items.', |
72 | 72 | ],
|
73 | 73 | 'lte' => [
|
74 | 74 | 'numeric' => 'The :attribute must be less than or equal :value.',
|
75 |
| - 'file' => 'The :attribute must be less than or equal :value kilobytes.', |
76 |
| - 'string' => 'The :attribute must be less than or equal :value characters.', |
77 |
| - 'array' => 'The :attribute must not have more than :value items.', |
| 75 | + 'file' => 'The :attribute must be less than or equal :value kilobytes.', |
| 76 | + 'string' => 'The :attribute must be less than or equal :value characters.', |
| 77 | + 'array' => 'The :attribute must not have more than :value items.', |
78 | 78 | ],
|
79 | 79 | 'max' => [
|
80 | 80 | 'numeric' => 'The :attribute may not be greater than :max.',
|
81 |
| - 'file' => 'The :attribute may not be greater than :max kilobytes.', |
82 |
| - 'string' => 'The :attribute may not be greater than :max characters.', |
83 |
| - 'array' => 'The :attribute may not have more than :max items.', |
| 81 | + 'file' => 'The :attribute may not be greater than :max kilobytes.', |
| 82 | + 'string' => 'The :attribute may not be greater than :max characters.', |
| 83 | + 'array' => 'The :attribute may not have more than :max items.', |
84 | 84 | ],
|
85 |
| - 'mimes' => 'The :attribute must be a file of type: :values.', |
| 85 | + 'mimes' => 'The :attribute must be a file of type: :values.', |
86 | 86 | 'mimetypes' => 'The :attribute must be a file of type: :values.',
|
87 |
| - 'min' => [ |
| 87 | + 'min' => [ |
88 | 88 | 'numeric' => 'The :attribute must be at least :min.',
|
89 |
| - 'file' => 'The :attribute must be at least :min kilobytes.', |
90 |
| - 'string' => 'The :attribute must be at least :min characters.', |
91 |
| - 'array' => 'The :attribute must have at least :min items.', |
| 89 | + 'file' => 'The :attribute must be at least :min kilobytes.', |
| 90 | + 'string' => 'The :attribute must be at least :min characters.', |
| 91 | + 'array' => 'The :attribute must have at least :min items.', |
92 | 92 | ],
|
93 |
| - 'not_in' => 'The selected :attribute is invalid.', |
94 |
| - 'not_regex' => 'The :attribute format is invalid.', |
95 |
| - 'numeric' => 'The :attribute must be a number.', |
96 |
| - 'present' => 'The :attribute field must be present.', |
97 |
| - 'regex' => 'The :attribute format is invalid.', |
98 |
| - 'required' => 'The :attribute field is required.', |
99 |
| - 'required_if' => 'The :attribute field is required when :other is :value.', |
100 |
| - 'required_unless' => 'The :attribute field is required unless :other is in :values.', |
101 |
| - 'required_with' => 'The :attribute field is required when :values is present.', |
102 |
| - 'required_with_all' => 'The :attribute field is required when :values are present.', |
103 |
| - 'required_without' => 'The :attribute field is required when :values is not present.', |
| 93 | + 'not_in' => 'The selected :attribute is invalid.', |
| 94 | + 'not_regex' => 'The :attribute format is invalid.', |
| 95 | + 'numeric' => 'The :attribute must be a number.', |
| 96 | + 'present' => 'The :attribute field must be present.', |
| 97 | + 'regex' => 'The :attribute format is invalid.', |
| 98 | + 'required' => 'The :attribute field is required.', |
| 99 | + 'required_if' => 'The :attribute field is required when :other is :value.', |
| 100 | + 'required_unless' => 'The :attribute field is required unless :other is in :values.', |
| 101 | + 'required_with' => 'The :attribute field is required when :values is present.', |
| 102 | + 'required_with_all' => 'The :attribute field is required when :values are present.', |
| 103 | + 'required_without' => 'The :attribute field is required when :values is not present.', |
104 | 104 | 'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
105 |
| - 'same' => 'The :attribute and :other must match.', |
106 |
| - 'size' => [ |
| 105 | + 'same' => 'The :attribute and :other must match.', |
| 106 | + 'size' => [ |
107 | 107 | 'numeric' => 'The :attribute must be :size.',
|
108 |
| - 'file' => 'The :attribute must be :size kilobytes.', |
109 |
| - 'string' => 'The :attribute must be :size characters.', |
110 |
| - 'array' => 'The :attribute must contain :size items.', |
| 108 | + 'file' => 'The :attribute must be :size kilobytes.', |
| 109 | + 'string' => 'The :attribute must be :size characters.', |
| 110 | + 'array' => 'The :attribute must contain :size items.', |
111 | 111 | ],
|
112 | 112 | 'starts_with' => 'The :attribute must start with one of the following: :values',
|
113 |
| - 'string' => 'The :attribute must be a string.', |
114 |
| - 'timezone' => 'The :attribute must be a valid zone.', |
115 |
| - 'unique' => 'The :attribute has already been taken.', |
116 |
| - 'uploaded' => 'The :attribute failed to upload.', |
117 |
| - 'url' => 'The :attribute format is invalid.', |
118 |
| - 'uuid' => 'The :attribute must be a valid UUID.', |
| 113 | + 'string' => 'The :attribute must be a string.', |
| 114 | + 'timezone' => 'The :attribute must be a valid zone.', |
| 115 | + 'unique' => 'The :attribute has already been taken.', |
| 116 | + 'uploaded' => 'The :attribute failed to upload.', |
| 117 | + 'url' => 'The :attribute format is invalid.', |
| 118 | + 'uuid' => 'The :attribute must be a valid UUID.', |
119 | 119 |
|
120 | 120 | /*
|
121 | 121 | |--------------------------------------------------------------------------
|
|
0 commit comments