|
14 | 14 | */
|
15 | 15 |
|
16 | 16 | 'accepted' => 'The :attribute must be accepted.',
|
| 17 | + 'accepted_if' => 'The :attribute must be accepted when :other is :value.', |
17 | 18 | 'active_url' => 'The :attribute is not a valid URL.',
|
18 | 19 | 'after' => 'The :attribute must be a date after :date.',
|
19 | 20 | 'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
|
|
24 | 25 | 'before' => 'The :attribute must be a date before :date.',
|
25 | 26 | 'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
|
26 | 27 | 'between' => [
|
27 |
| - 'numeric' => 'The :attribute must be between :min and :max.', |
| 28 | + 'array' => 'The :attribute must have between :min and :max items.', |
28 | 29 | 'file' => 'The :attribute must be between :min and :max kilobytes.',
|
| 30 | + 'numeric' => 'The :attribute must be between :min and :max.', |
29 | 31 | 'string' => 'The :attribute must be between :min and :max characters.',
|
30 |
| - 'array' => 'The :attribute must have between :min and :max items.', |
31 | 32 | ],
|
32 | 33 | 'boolean' => 'The :attribute field must be true or false.',
|
33 | 34 | 'confirmed' => 'The :attribute confirmation does not match.',
|
| 35 | + 'current_password' => 'The password is incorrect.', |
34 | 36 | 'date' => 'The :attribute is not a valid date.',
|
35 | 37 | 'date_equals' => 'The :attribute must be a date equal to :date.',
|
36 | 38 | 'date_format' => 'The :attribute does not match the format :format.',
|
| 39 | + 'declined' => 'The :attribute must be declined.', |
| 40 | + 'declined_if' => 'The :attribute must be declined when :other is :value.', |
37 | 41 | 'different' => 'The :attribute and :other must be different.',
|
38 | 42 | 'digits' => 'The :attribute must be :digits digits.',
|
39 | 43 | 'digits_between' => 'The :attribute must be between :min and :max digits.',
|
40 | 44 | 'dimensions' => 'The :attribute has invalid image dimensions.',
|
41 | 45 | 'distinct' => 'The :attribute field has a duplicate value.',
|
| 46 | + 'doesnt_end_with' => 'The :attribute may not end with one of the following: :values.', |
| 47 | + 'doesnt_start_with' => 'The :attribute may not start with one of the following: :values.', |
42 | 48 | 'email' => 'The :attribute must be a valid email address.',
|
43 | 49 | 'ends_with' => 'The :attribute must end with one of the following: :values.',
|
| 50 | + 'enum' => 'The selected :attribute is invalid.', |
44 | 51 | 'exists' => 'The selected :attribute is invalid.',
|
45 | 52 | 'file' => 'The :attribute must be a file.',
|
46 | 53 | 'filled' => 'The :attribute field must have a value.',
|
47 | 54 | 'gt' => [
|
48 |
| - 'numeric' => 'The :attribute must be greater than :value.', |
| 55 | + 'array' => 'The :attribute must have more than :value items.', |
49 | 56 | 'file' => 'The :attribute must be greater than :value kilobytes.',
|
| 57 | + 'numeric' => 'The :attribute must be greater than :value.', |
50 | 58 | 'string' => 'The :attribute must be greater than :value characters.',
|
51 |
| - 'array' => 'The :attribute must have more than :value items.', |
52 | 59 | ],
|
53 | 60 | 'gte' => [
|
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 | 61 | 'array' => 'The :attribute must have :value items or more.',
|
| 62 | + 'file' => 'The :attribute must be greater than or equal to :value kilobytes.', |
| 63 | + 'numeric' => 'The :attribute must be greater than or equal to :value.', |
| 64 | + 'string' => 'The :attribute must be greater than or equal to :value characters.', |
58 | 65 | ],
|
59 | 66 | 'image' => 'The :attribute must be an image.',
|
60 | 67 | 'in' => 'The selected :attribute is invalid.',
|
|
64 | 71 | 'ipv4' => 'The :attribute must be a valid IPv4 address.',
|
65 | 72 | 'ipv6' => 'The :attribute must be a valid IPv6 address.',
|
66 | 73 | 'json' => 'The :attribute must be a valid JSON string.',
|
| 74 | + 'lowercase' => 'The :attribute must be lowercase.', |
67 | 75 | 'lt' => [
|
68 |
| - 'numeric' => 'The :attribute must be less than :value.', |
| 76 | + 'array' => 'The :attribute must have less than :value items.', |
69 | 77 | 'file' => 'The :attribute must be less than :value kilobytes.',
|
| 78 | + 'numeric' => 'The :attribute must be less than :value.', |
70 | 79 | 'string' => 'The :attribute must be less than :value characters.',
|
71 |
| - 'array' => 'The :attribute must have less than :value items.', |
72 | 80 | ],
|
73 | 81 | 'lte' => [
|
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 | 82 | 'array' => 'The :attribute must not have more than :value items.',
|
| 83 | + 'file' => 'The :attribute must be less than or equal to :value kilobytes.', |
| 84 | + 'numeric' => 'The :attribute must be less than or equal to :value.', |
| 85 | + 'string' => 'The :attribute must be less than or equal to :value characters.', |
78 | 86 | ],
|
| 87 | + 'mac_address' => 'The :attribute must be a valid MAC address.', |
79 | 88 | 'max' => [
|
80 |
| - 'numeric' => 'The :attribute must not be greater than :max.', |
| 89 | + 'array' => 'The :attribute must not have more than :max items.', |
81 | 90 | 'file' => 'The :attribute must not be greater than :max kilobytes.',
|
| 91 | + 'numeric' => 'The :attribute must not be greater than :max.', |
82 | 92 | 'string' => 'The :attribute must not be greater than :max characters.',
|
83 |
| - 'array' => 'The :attribute must not have more than :max items.', |
84 | 93 | ],
|
| 94 | + 'max_digits' => 'The :attribute must not have more than :max digits.', |
85 | 95 | 'mimes' => 'The :attribute must be a file of type: :values.',
|
86 | 96 | 'mimetypes' => 'The :attribute must be a file of type: :values.',
|
87 | 97 | 'min' => [
|
88 |
| - 'numeric' => 'The :attribute must be at least :min.', |
| 98 | + 'array' => 'The :attribute must have at least :min items.', |
89 | 99 | 'file' => 'The :attribute must be at least :min kilobytes.',
|
| 100 | + 'numeric' => 'The :attribute must be at least :min.', |
90 | 101 | 'string' => 'The :attribute must be at least :min characters.',
|
91 |
| - 'array' => 'The :attribute must have at least :min items.', |
92 | 102 | ],
|
| 103 | + 'min_digits' => 'The :attribute must have at least :min digits.', |
93 | 104 | 'multiple_of' => 'The :attribute must be a multiple of :value.',
|
94 | 105 | 'not_in' => 'The selected :attribute is invalid.',
|
95 | 106 | 'not_regex' => 'The :attribute format is invalid.',
|
96 | 107 | 'numeric' => 'The :attribute must be a number.',
|
97 |
| - 'password' => 'The password is incorrect.', |
| 108 | + 'password' => [ |
| 109 | + 'letters' => 'The :attribute must contain at least one letter.', |
| 110 | + 'mixed' => 'The :attribute must contain at least one uppercase and one lowercase letter.', |
| 111 | + 'numbers' => 'The :attribute must contain at least one number.', |
| 112 | + 'symbols' => 'The :attribute must contain at least one symbol.', |
| 113 | + 'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.', |
| 114 | + ], |
98 | 115 | 'present' => 'The :attribute field must be present.',
|
| 116 | + 'prohibited' => 'The :attribute field is prohibited.', |
| 117 | + 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.', |
| 118 | + 'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.', |
| 119 | + 'prohibits' => 'The :attribute field prohibits :other from being present.', |
99 | 120 | 'regex' => 'The :attribute format is invalid.',
|
100 | 121 | 'required' => 'The :attribute field is required.',
|
| 122 | + 'required_array_keys' => 'The :attribute field must contain entries for: :values.', |
101 | 123 | 'required_if' => 'The :attribute field is required when :other is :value.',
|
| 124 | + 'required_if_accepted' => 'The :attribute field is required when :other is accepted.', |
102 | 125 | 'required_unless' => 'The :attribute field is required unless :other is in :values.',
|
103 | 126 | 'required_with' => 'The :attribute field is required when :values is present.',
|
104 | 127 | 'required_with_all' => 'The :attribute field is required when :values are present.',
|
105 | 128 | 'required_without' => 'The :attribute field is required when :values is not present.',
|
106 | 129 | 'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
107 |
| - 'prohibited' => 'The :attribute field is prohibited.', |
108 |
| - 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.', |
109 |
| - 'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.', |
110 | 130 | 'same' => 'The :attribute and :other must match.',
|
111 | 131 | 'size' => [
|
112 |
| - 'numeric' => 'The :attribute must be :size.', |
| 132 | + 'array' => 'The :attribute must contain :size items.', |
113 | 133 | 'file' => 'The :attribute must be :size kilobytes.',
|
| 134 | + 'numeric' => 'The :attribute must be :size.', |
114 | 135 | 'string' => 'The :attribute must be :size characters.',
|
115 |
| - 'array' => 'The :attribute must contain :size items.', |
116 | 136 | ],
|
117 | 137 | 'starts_with' => 'The :attribute must start with one of the following: :values.',
|
118 | 138 | 'string' => 'The :attribute must be a string.',
|
119 |
| - 'timezone' => 'The :attribute must be a valid zone.', |
| 139 | + 'timezone' => 'The :attribute must be a valid timezone.', |
120 | 140 | 'unique' => 'The :attribute has already been taken.',
|
121 | 141 | 'uploaded' => 'The :attribute failed to upload.',
|
122 |
| - 'url' => 'The :attribute format is invalid.', |
| 142 | + 'url' => 'The :attribute must be a valid URL.', |
123 | 143 | 'uuid' => 'The :attribute must be a valid UUID.',
|
124 | 144 |
|
125 | 145 | /*
|
|
0 commit comments