-
-
Notifications
You must be signed in to change notification settings - Fork 3k
/
validation.php
131 lines (129 loc) · 7.99 KB
/
validation.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<?php
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
return [
'accepted' => ':attribute depet èssere atzetadu.',
'active_url' => ':attribute no est un\'URL bàlidu.',
'after' => ':attribute depet èssere una data chi benit a pustis de :date.',
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
'alpha' => ':attribute podet cuntènnere isceti lìteras.',
'alpha_dash' => ':attribute podet cuntènnere isceti lìteras, nùmeros e tratigheddos.',
'alpha_num' => ':attribute podet cuntènnere isceti lìteras e nùmeros.',
'array' => ':attribute depet èssere un\'array.',
'attached' => 'This :attribute is already attached.',
'before' => ':attribute depet èssere una data chi benit prima de :date.',
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
'between' => [
'array' => ':attribute depet èssere intre :min - :max elementos.',
'file' => ':attribute depet èssere intre :min - :max kilobytes.',
'numeric' => ':attribute depet èssere intre :min - :max.',
'string' => ':attribute depet èssere intre :min - :max caràteres.',
],
'boolean' => 'The :attribute field must be true or false',
'confirmed' => 'Su campu de cunfirma pro :attribute non torrat.',
'date' => ':attribute no est una data bàlida.',
'date_equals' => 'The :attribute must be a date equal to :date.',
'date_format' => ':attribute non torrat cun su formadu :format.',
'different' => ':attribute e :other depent èssere diferentes.',
'digits' => ':attribute depet èssere de :digits tzifras.',
'digits_between' => ':attribute depet èssere intre :min e :max tzifras.',
'dimensions' => 'The :attribute has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'email' => ':attribute no est bàlidu.',
'ends_with' => 'The :attribute must end with one of the following: :values.',
'exists' => ':attribute seberadu/a no est bàlidu.',
'file' => 'The :attribute must be a file.',
'filled' => ':attribute est pedidu.',
'gt' => [
'array' => 'The :attribute must have more than :value items.',
'file' => 'The :attribute must be greater than :value kilobytes.',
'numeric' => 'The :attribute must be greater than :value.',
'string' => 'The :attribute must be greater than :value characters.',
],
'gte' => [
'array' => 'The :attribute must have :value items or more.',
'file' => 'The :attribute must be greater than or equal :value kilobytes.',
'numeric' => 'The :attribute must be greater than or equal :value.',
'string' => 'The :attribute must be greater than or equal :value characters.',
],
'image' => ':attribute depet èssere un\'immàgine.',
'in' => ':attribute seberadu no est bàlidu.',
'in_array' => 'The :attribute field does not exist in :other.',
'integer' => ':attribute depet èssere intreu.',
'ip' => ':attribute depet èssere un\'indiritzu IP bàlidu.',
'ipv4' => 'The :attribute must be a valid IPv4 address.',
'ipv6' => 'The :attribute must be a valid IPv6 address.',
'json' => 'The :attribute must be a valid JSON string.',
'lt' => [
'array' => 'The :attribute must have less than :value items.',
'file' => 'The :attribute must be less than :value kilobytes.',
'numeric' => 'The :attribute must be less than :value.',
'string' => 'The :attribute must be less than :value characters.',
],
'lte' => [
'array' => 'The :attribute must not have more than :value items.',
'file' => 'The :attribute must be less than or equal :value kilobytes.',
'numeric' => 'The :attribute must be less than or equal :value.',
'string' => 'The :attribute must be less than or equal :value characters.',
],
'max' => [
'array' => ':attribute non podet tènnere prus de :max elementos.',
'file' => ':attribute non depet èssere prus mannu de :max kilobytes.',
'numeric' => ':attribute depet èssere prus piticu de :max.',
'string' => ':attribute non podet cuntènnere prus de :max caràteres.',
],
'mimes' => ':attribute depet èssere de tipu: :values.',
'mimetypes' => ':attribute depet èssere de tipu: :values.',
'min' => [
'array' => ':attribute depet tènnere a su mancu :min elementos.',
'file' => ':attribute depet èssere prus mannu de :min kilobytes.',
'numeric' => ':attribute depet bàlere a su mancu :min.',
'string' => ':attribute depet cuntènnere a su mancu :min caràteres.',
],
'multiple_of' => 'The :attribute must be a multiple of :value',
'not_in' => 'Su balore seberadu pro :attribute no est bàlidu.',
'not_regex' => 'The :attribute format is invalid.',
'numeric' => ':attribute depet èssere unu nùmeru.',
'password' => 'The password is incorrect.',
'present' => 'The :attribute field must be present.',
'prohibited' => 'The :attribute field is prohibited.',
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
'regex' => 'Su formadu de su campu :attribute no est bàlidu.',
'relatable' => 'This :attribute may not be associated with this resource.',
'required' => ':attribute est pedidu.',
'required_if' => 'Su campu :attribute est pedidu cando :other est :value.',
'required_unless' => 'The :attribute field is required unless :other is in :values.',
'required_with' => 'Su campu :attribute est pedidu cando :values est presente.',
'required_with_all' => 'Su campu:attribute est pedidu cando :values est presente.',
'required_without' => 'Su campu :attribute est pedidu cando :values no est presente.',
'required_without_all' => 'Su campu :attribute est pedidu cando perunu de :values sunt presentes.',
'same' => ':attribute e :other depent èssere uguales.',
'size' => [
'array' => ':attribute depet cuntènnere :size elementos.',
'file' => ':attribute depet èssere mannu :size kilobytes.',
'numeric' => ':attribute depet bàlere :size.',
'string' => ':attribute depet cuntènnere :size caràteres.',
],
'starts_with' => 'The :attribute must start with one of the following: :values.',
'string' => 'The :attribute must be a string.',
'timezone' => ':attribute depet èssere una zona bàlida.',
'unique' => ':attribute est istadu giai impreadu.',
'uploaded' => 'The :attribute failed to upload.',
'url' => ':attribute depet èssere un\'URL.',
'uuid' => 'The :attribute must be a valid UUID.',
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
'attributes' => [],
];