Skip to content

Commit 67cb19c

Browse files
committed
New translations validation.php (Nepali)
1 parent 24bcb6f commit 67cb19c

File tree

1 file changed

+122
-0
lines changed

1 file changed

+122
-0
lines changed

lang/ne/validation.php

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
<?php
2+
/**
3+
* Validation Lines
4+
* The following language lines contain the default error messages used by
5+
* the validator class. Some of these rules have multiple versions such
6+
* as the size rules. Feel free to tweak each of these messages here.
7+
*/
8+
return [
9+
10+
// Standard laravel validation lines
11+
'accepted' => 'The :attribute must be accepted.',
12+
'active_url' => 'The :attribute is not a valid URL.',
13+
'after' => 'The :attribute must be a date after :date.',
14+
'alpha' => 'The :attribute may only contain letters.',
15+
'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.',
16+
'alpha_num' => 'The :attribute may only contain letters and numbers.',
17+
'array' => 'The :attribute must be an array.',
18+
'backup_codes' => 'The provided code is not valid or has already been used.',
19+
'before' => 'The :attribute must be a date before :date.',
20+
'between' => [
21+
'numeric' => 'The :attribute must be between :min and :max.',
22+
'file' => 'The :attribute must be between :min and :max kilobytes.',
23+
'string' => 'The :attribute must be between :min and :max characters.',
24+
'array' => 'The :attribute must have between :min and :max items.',
25+
],
26+
'boolean' => 'The :attribute field must be true or false.',
27+
'confirmed' => 'The :attribute confirmation does not match.',
28+
'date' => 'The :attribute is not a valid date.',
29+
'date_format' => 'The :attribute does not match the format :format.',
30+
'different' => 'The :attribute and :other must be different.',
31+
'digits' => 'The :attribute must be :digits digits.',
32+
'digits_between' => 'The :attribute must be between :min and :max digits.',
33+
'email' => 'The :attribute must be a valid email address.',
34+
'ends_with' => 'The :attribute must end with one of the following: :values',
35+
'file' => 'The :attribute must be provided as a valid file.',
36+
'filled' => 'The :attribute field is required.',
37+
'gt' => [
38+
'numeric' => 'The :attribute must be greater than :value.',
39+
'file' => 'The :attribute must be greater than :value kilobytes.',
40+
'string' => 'The :attribute must be greater than :value characters.',
41+
'array' => 'The :attribute must have more than :value items.',
42+
],
43+
'gte' => [
44+
'numeric' => 'The :attribute must be greater than or equal :value.',
45+
'file' => 'The :attribute must be greater than or equal :value kilobytes.',
46+
'string' => 'The :attribute must be greater than or equal :value characters.',
47+
'array' => 'The :attribute must have :value items or more.',
48+
],
49+
'exists' => 'The selected :attribute is invalid.',
50+
'image' => 'The :attribute must be an image.',
51+
'image_extension' => 'The :attribute must have a valid & supported image extension.',
52+
'in' => 'The selected :attribute is invalid.',
53+
'integer' => 'The :attribute must be an integer.',
54+
'ip' => 'The :attribute must be a valid IP address.',
55+
'ipv4' => 'The :attribute must be a valid IPv4 address.',
56+
'ipv6' => 'The :attribute must be a valid IPv6 address.',
57+
'json' => 'The :attribute must be a valid JSON string.',
58+
'lt' => [
59+
'numeric' => 'The :attribute must be less than :value.',
60+
'file' => 'The :attribute must be less than :value kilobytes.',
61+
'string' => 'The :attribute must be less than :value characters.',
62+
'array' => 'The :attribute must have less than :value items.',
63+
],
64+
'lte' => [
65+
'numeric' => 'The :attribute must be less than or equal :value.',
66+
'file' => 'The :attribute must be less than or equal :value kilobytes.',
67+
'string' => 'The :attribute must be less than or equal :value characters.',
68+
'array' => 'The :attribute must not have more than :value items.',
69+
],
70+
'max' => [
71+
'numeric' => 'The :attribute may not be greater than :max.',
72+
'file' => 'The :attribute may not be greater than :max kilobytes.',
73+
'string' => 'The :attribute may not be greater than :max characters.',
74+
'array' => 'The :attribute may not have more than :max items.',
75+
],
76+
'mimes' => 'The :attribute must be a file of type: :values.',
77+
'min' => [
78+
'numeric' => 'The :attribute must be at least :min.',
79+
'file' => 'The :attribute must be at least :min kilobytes.',
80+
'string' => 'The :attribute must be at least :min characters.',
81+
'array' => 'The :attribute must have at least :min items.',
82+
],
83+
'not_in' => 'The selected :attribute is invalid.',
84+
'not_regex' => 'The :attribute format is invalid.',
85+
'numeric' => 'The :attribute must be a number.',
86+
'regex' => 'The :attribute format is invalid.',
87+
'required' => 'The :attribute field is required.',
88+
'required_if' => 'The :attribute field is required when :other is :value.',
89+
'required_with' => 'The :attribute field is required when :values is present.',
90+
'required_with_all' => 'The :attribute field is required when :values is present.',
91+
'required_without' => 'The :attribute field is required when :values is not present.',
92+
'required_without_all' => 'The :attribute field is required when none of :values are present.',
93+
'same' => 'The :attribute and :other must match.',
94+
'safe_url' => 'The provided link may not be safe.',
95+
'size' => [
96+
'numeric' => 'The :attribute must be :size.',
97+
'file' => 'The :attribute must be :size kilobytes.',
98+
'string' => 'The :attribute must be :size characters.',
99+
'array' => 'The :attribute must contain :size items.',
100+
],
101+
'string' => 'The :attribute must be a string.',
102+
'timezone' => 'The :attribute must be a valid zone.',
103+
'totp' => 'The provided code is not valid or has expired.',
104+
'unique' => 'The :attribute has already been taken.',
105+
'url' => 'The :attribute format is invalid.',
106+
'uploaded' => 'The file could not be uploaded. The server may not accept files of this size.',
107+
108+
'zip_file' => 'The :attribute needs to reference a file within the ZIP.',
109+
'zip_file_mime' => 'The :attribute needs to reference a file of type :validTypes, found :foundType.',
110+
'zip_model_expected' => 'Data object expected but ":type" found.',
111+
'zip_unique' => 'The :attribute must be unique for the object type within the ZIP.',
112+
113+
// Custom validation lines
114+
'custom' => [
115+
'password-confirm' => [
116+
'required_with' => 'Password confirmation required',
117+
],
118+
],
119+
120+
// Custom validation attributes
121+
'attributes' => [],
122+
];

0 commit comments

Comments
 (0)