source: resources/lang/en/validation.php@ c5e383e

Last change on this file since c5e383e was 2fc88ec, checked in by beratkjufliju <kufliju@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 8.0 KB
RevLine 
[2fc88ec]1<?php
2
3return [
4
5 /*
6 |--------------------------------------------------------------------------
7 | Validation Language Lines
8 |--------------------------------------------------------------------------
9 |
10 | The following language lines contain the default error messages used by
11 | the validator class. Some of these rules have multiple versions such
12 | as the size rules. Feel free to tweak each of these messages here.
13 |
14 */
15
16 'accepted' => 'The :attribute must be accepted.',
17 'accepted_if' => 'The :attribute must be accepted when :other is :value.',
18 'active_url' => 'The :attribute is not a valid URL.',
19 'after' => 'The :attribute must be a date after :date.',
20 'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
21 'alpha' => 'The :attribute must only contain letters.',
22 'alpha_dash' => 'The :attribute must only contain letters, numbers, dashes and underscores.',
23 'alpha_num' => 'The :attribute must only contain letters and numbers.',
24 'array' => 'The :attribute must be an array.',
25 'before' => 'The :attribute must be a date before :date.',
26 'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
27 'between' => [
28 'numeric' => 'The :attribute must be between :min and :max.',
29 'file' => 'The :attribute must be between :min and :max kilobytes.',
30 'string' => 'The :attribute must be between :min and :max characters.',
31 'array' => 'The :attribute must have between :min and :max items.',
32 ],
33 'boolean' => 'The :attribute field must be true or false.',
34 'confirmed' => 'The :attribute confirmation does not match.',
35 'current_password' => 'The password is incorrect.',
36 'date' => 'The :attribute is not a valid date.',
37 'date_equals' => 'The :attribute must be a date equal to :date.',
38 'date_format' => 'The :attribute does not match the format :format.',
39 'different' => 'The :attribute and :other must be different.',
40 'digits' => 'The :attribute must be :digits digits.',
41 'digits_between' => 'The :attribute must be between :min and :max digits.',
42 'dimensions' => 'The :attribute has invalid image dimensions.',
43 'distinct' => 'The :attribute field has a duplicate value.',
44 'email' => 'The :attribute must be a valid email address.',
45 'ends_with' => 'The :attribute must end with one of the following: :values.',
46 'exists' => 'The selected :attribute is invalid.',
47 'file' => 'The :attribute must be a file.',
48 'filled' => 'The :attribute field must have a value.',
49 'gt' => [
50 'numeric' => 'The :attribute must be greater than :value.',
51 'file' => 'The :attribute must be greater than :value kilobytes.',
52 'string' => 'The :attribute must be greater than :value characters.',
53 'array' => 'The :attribute must have more than :value items.',
54 ],
55 'gte' => [
56 'numeric' => 'The :attribute must be greater than or equal :value.',
57 'file' => 'The :attribute must be greater than or equal :value kilobytes.',
58 'string' => 'The :attribute must be greater than or equal :value characters.',
59 'array' => 'The :attribute must have :value items or more.',
60 ],
61 'image' => 'The :attribute must be an image.',
62 'in' => 'The selected :attribute is invalid.',
63 'in_array' => 'The :attribute field does not exist in :other.',
64 'integer' => 'The :attribute must be an integer.',
65 'ip' => 'The :attribute must be a valid IP address.',
66 'ipv4' => 'The :attribute must be a valid IPv4 address.',
67 'ipv6' => 'The :attribute must be a valid IPv6 address.',
68 'json' => 'The :attribute must be a valid JSON string.',
69 'lt' => [
70 'numeric' => 'The :attribute must be less than :value.',
71 'file' => 'The :attribute must be less than :value kilobytes.',
72 'string' => 'The :attribute must be less than :value characters.',
73 'array' => 'The :attribute must have less than :value items.',
74 ],
75 'lte' => [
76 'numeric' => 'The :attribute must be less than or equal :value.',
77 'file' => 'The :attribute must be less than or equal :value kilobytes.',
78 'string' => 'The :attribute must be less than or equal :value characters.',
79 'array' => 'The :attribute must not have more than :value items.',
80 ],
81 'max' => [
82 'numeric' => 'The :attribute must not be greater than :max.',
83 'file' => 'The :attribute must not be greater than :max kilobytes.',
84 'string' => 'The :attribute must not be greater than :max characters.',
85 'array' => 'The :attribute must not have more than :max items.',
86 ],
87 'mimes' => 'The :attribute must be a file of type: :values.',
88 'mimetypes' => 'The :attribute must be a file of type: :values.',
89 'min' => [
90 'numeric' => 'The :attribute must be at least :min.',
91 'file' => 'The :attribute must be at least :min kilobytes.',
92 'string' => 'The :attribute must be at least :min characters.',
93 'array' => 'The :attribute must have at least :min items.',
94 ],
95 'multiple_of' => 'The :attribute must be a multiple of :value.',
96 'not_in' => 'The selected :attribute is invalid.',
97 'not_regex' => 'The :attribute format is invalid.',
98 'numeric' => 'The :attribute must be a number.',
99 'password' => 'The password is incorrect.',
100 'present' => 'The :attribute field must be present.',
101 'regex' => 'The :attribute format is invalid.',
102 'required' => 'The :attribute field is required.',
103 'required_if' => 'The :attribute field is required when :other is :value.',
104 'required_unless' => 'The :attribute field is required unless :other is in :values.',
105 'required_with' => 'The :attribute field is required when :values is present.',
106 'required_with_all' => 'The :attribute field is required when :values are present.',
107 'required_without' => 'The :attribute field is required when :values is not present.',
108 'required_without_all' => 'The :attribute field is required when none of :values are present.',
109 'prohibited' => 'The :attribute field is prohibited.',
110 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
111 'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
112 'prohibits' => 'The :attribute field prohibits :other from being present.',
113 'same' => 'The :attribute and :other must match.',
114 'size' => [
115 'numeric' => 'The :attribute must be :size.',
116 'file' => 'The :attribute must be :size kilobytes.',
117 'string' => 'The :attribute must be :size characters.',
118 'array' => 'The :attribute must contain :size items.',
119 ],
120 'starts_with' => 'The :attribute must start with one of the following: :values.',
121 'string' => 'The :attribute must be a string.',
122 'timezone' => 'The :attribute must be a valid timezone.',
123 'unique' => 'The :attribute has already been taken.',
124 'uploaded' => 'The :attribute failed to upload.',
125 'url' => 'The :attribute must be a valid URL.',
126 'uuid' => 'The :attribute must be a valid UUID.',
127
128 /*
129 |--------------------------------------------------------------------------
130 | Custom Validation Language Lines
131 |--------------------------------------------------------------------------
132 |
133 | Here you may specify custom validation messages for attributes using the
134 | convention "attribute.rule" to name the lines. This makes it quick to
135 | specify a specific custom language line for a given attribute rule.
136 |
137 */
138
139 'custom' => [
140 'attribute-name' => [
141 'rule-name' => 'custom-message',
142 ],
143 ],
144
145 /*
146 |--------------------------------------------------------------------------
147 | Custom Validation Attributes
148 |--------------------------------------------------------------------------
149 |
150 | The following language lines are used to swap our attribute placeholder
151 | with something more reader friendly such as "E-Mail Address" instead
152 | of "email". This simply helps us make our message more expressive.
153 |
154 */
155
156 'attributes' => [],
157
158];
Note: See TracBrowser for help on using the repository browser.