8000 Update (#7) · Redoykumar/laravel-docker@0a66896 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0a66896

Browse files
authored
Update (refactorian#7)
1 parent 21ddfee commit 0a66896

File tree

4 files changed

+245
-0
lines changed

4 files changed

+245
-0
lines changed

lang/en/auth.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Authentication Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are used during authentication for various
11+
| messages that we need to display to the user. You are free to modify
12+
| these language lines according to your application's requirements.
13+
|
14+
*/
15+
16+
'failed' => 'These credentials do not match our records.',
17+
'password' => 'The provided password is incorrect.',
18+
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
19+
20+
];

lang/en/pagination.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Pagination Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are used by the paginator library to build
11+
| the simple pagination links. You are free to change them to anything
12+
| you want to customize your views to better match your application.
13+
|
14+
*/
15+
16+
'previous' => '&laquo; Previous',
17+
'next' => 'Next &raquo;',
18+
19+
];

lang/en/passwords.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
return [
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Password Reset Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are the default lines which match reasons
11+
| that are given by the password broker for a password update attempt
12+
| has failed, such as for an invalid token or invalid new password.
13+
|
14+
*/
15+
16+
'reset' => 'Your password has been reset.',
17+
'sent' => 'We have emailed your password reset link.',
18+
'throttled' => 'Please wait before retrying.',
19+
'token' => 'This password reset token is invalid.',
20+
'user' => "We can't find a user with that email address.",
21+
22+
];

lang/en/validation.php

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
<?php
2+
3+
return [
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 field must be accepted.',
17+
'accepted_if' => 'The :attribute field must be accepted when :other is :value.',
18+
'active_url' => 'The :attribute field must be a valid URL.',
19+
'after' => 'The :attribute field must be a date after :date.',
20+
'after_or_equal' => 'The :attribute field must be a date after or equal to :date.',
21+
'alpha' => 'The :attribute field must only contain letters.',
22+
'alpha_dash' => 'The :attribute field must only contain letters, numbers, dashes, and underscores.',
23+
'alpha_num' => 'The :attribute field must only contain le 3262 tters and numbers.',
24+
'array' => 'The :attribute field must be an array.',
25+
'ascii' => 'The :attribute field must only contain single-byte alphanumeric characters and symbols.',
26+
'before' => 'The :attribute field must be a date before :date.',
27+
'before_or_equal' => 'The :attribute field must be a date before or equal to :date.',
28+
'between' => [
29+
'array' => 'The :attribute field must have between :min and :max items.',
30+
'file' => 'The :attribute field must be between :min and :max kilobytes.',
31+
'numeric' => 'The :attribute field must be between :min and :max.',
32+
'string' => 'The :attribute field must be between :min and :max characters.',
33+
],
34+
'boolean' => 'The :attribute field must be true or false.',
35+
'confirmed' => 'The :attribute field confirmation does not match.',
36+
'current_password' => 'The password is incorrect.',
37+
'date' => 'The :attribute field must be a valid date.',
38+
'date_equals' => 'The :attribute field must be a date equal to :date.',
39+
'date_format' => 'The :attribute field must match the format :format.',
40+
'decimal' => 'The :attribute field must have :decimal decimal places.',
41+
'declined' => 'The :attribute field must be declined.',
42+
'declined_if' => 'The :attribute field must be declined when :other is :value.',
43+
'different' => 'The :attribute field and :other must be different.',
44+
'digits' => 'The :attribute field must be :digits digits.',
45+
'digits_between' => 'The :attribute field must be between :min and :max digits.',
46+
'dimensions' => 'The :attribute field has invalid image dimensions.',
47+
'distinct' => 'The :attribute field has a duplicate value.',
48+
'doesnt_end_with' => 'The :attribute field must not end with one of the following: :values.',
49+
'doesnt_start_with' => 'The :attribute field must not start with one of the following: :values.',
50+
'email' => 'The :attribute field must be a valid email address.',
51+
'ends_with' => 'The :attribute field must end with one of the following: :values.',
52+
'enum' => 'The selected :attribute is invalid.',
53+
'exists' => 'The selected :attribute is invalid.',
54+
'file' => 'The :attribute field must be a file.',
55+
'filled' => 'The :attribute field must have a value.',
56+
'gt' => [
57+
'array' => 'The :attribute field must have more than :value items.',
58+
'file' => 'The :attribute field must be greater than :value kilobytes.',
59+
'numeric' => 'The :attribute field must be greater than :value.',
60+
'string' => 'The :attribute field must be greater than :value characters.',
61+
],
62+
'gte' => [
63+
'array' => 'The :attribute field must have :value items or more.',
64+
'file' => 'The :attribute field must be greater than or equal to :value kilobytes.',
65+
'numeric' => 'The :attribute field must be greater than or equal to :value.',
66+
'string' => 'The :attribute field must be greater than or equal to :value characters.',
67+
],
68+
'image' => 'The :attribute field must be an image.',
69+
'in' => 'The selected :attribute is invalid.',
70+
'in_array' => 'The :attribute field must exist in :other.',
71+
'integer' => 'The :attribute field must be an integer.',
72+
'ip' => 'The :attribute field must be a valid IP address.',
73+
'ipv4' => 'The :attribute field must be a valid IPv4 address.',
74+
'ipv6' => 'The :attribute field must be a valid IPv6 address.',
75+
'json' => 'The :attribute field must be a valid JSON string.',
76+
'lowercase' => 'The :attribute field must be lowercase.',
77+
'lt' => [
78+
'array' => 'The :attribute field must have less than :value items.',
79+
'file' => 'The :attribute field must be less than :value kilobytes.',
80+
'numeric' => 'The :attribute field must be less than :value.',
81+
'string' => 'The :attribute field must be less than :value characters.',
82+
],
83+
'lte' => [
84+
'array' => 'The :attribute field must not have more than :value items.',
85+
'file' => 'The :attribute field must be less than or equal to :value kilobytes.',
86+
'numeric' => 'The :attribute field must be less than or equal to :value.',
87+
'string' => 'The :attribute field must be less than or equal to :value characters.',
88+
],
89+
'mac_address' => 'The :attribute field must be a valid MAC address.',
90+
'max' => [
91+
'array' => 'The :attribute field must not have more than :max items.',
92+
'file' => 'The :attribute field must not be greater than :max kilobytes.',
93+
'numeric' => 'The :attribute field must not be greater than :max.',
94+
'string' => 'The :attribute field must not be greater than :max characters.',
95+
],
96+
'max_digits' => 'The :attribute field must not have more than :max digits.',
97+
'mimes' => 'The :attribute field must be a file of type: :values.',
98+
'mimetypes' => 'The :attribute field must be a file of type: :values.',
99+
'min' => [
100+
'array' => 'The :attribute field must have at least :min items.',
101+
'file' => 'The :attribute field must be at least :min kilobytes.',
102+
'numeric' => 'The :attribute field must be at least :min.',
103+
'string' => 'The :attribute field must be at least :min characters.',
104+
],
105+
'min_digits' => 'The :attribute field must have at least :min digits.',
106+
'missing' => 'The :attribute field must be missing.',
107+
'missing_if' => 'The :attribute field must be missing when :other is :value.',
108+
'missing_unless' => 'The :attribute field must be missing unless :other is :value.',
109+
'missing_with' => 'The :attribute field must be missing when :values is present.',
110+
'missing_with_all' => 'The :attribute field must be missing when :values are present.',
111+
'multiple_of' => 'The :attribute field must be a multiple of :value.',
112+
'not_in' => 'The selected :attribute is invalid.',
113+
'not_regex' => 'The :attribute field format is invalid.',
114+
'numeric' => 'The :attribute field must be a number.',
115+
'password' => [
116+
'letters' => 'The :attribute field must contain at least one letter.',
117+
'mixed' => 'The :attribute field must contain at least one uppercase and one lowercase letter.',
118+
'numbers' => 'The :attribute field must contain at least one number.',
119+
'symbols' => 'The :attribute field must contain at least one symbol.',
120+
'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
121+
],
122+
'present' => 'The :attribute field must be present.',
123+
'prohibited' => 'The :attribute field is prohibited.',
124+
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
125+
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
126+
'prohibits' => 'The :attribute field prohibits :other from being present.',
127+
'regex' => 'The :attribute field format is invalid.',
128+
'required' => 'The :attribute field is required.',
129+
'required_array_keys' => 'The :attribute field must contain entries for: :values.',
130+
'required_if' => 'The :attribute field is required when :other is :value.',
131+
'required_if_accepted' => 'The :attribute field is required when :other is accepted.',
132+
'required_unless' => 'The :attribute field is required unless :other is in :values.',
133+
'required_with' => 'The :attribute field is required when :values is present.',
134+
'required_with_all' => 'The :attribute field is required when :values are present.',
135+
'required_without' => 'The :attribute field is required when :values is not present.',
136+
'required_without_all' => 'The :attribute field is required when none of :values are present.',
137+
'same' => 'The :attribute field must match :other.',
138+
'size' => [
139+
'array' => 'The :attribute field must contain :size items.',
140+
'file' => 'The :attribute field must be :size kilobytes.',
141+
'numeric' => 'The :attribute field must be :size.',
142+
'string' => 'The :attribute field must be :size characters.',
143+
],
144+
'starts_with' => 'The :attribute field must start with one of the following: :values.',
145+
'string' => 'The :attribute field must be a string.',
146+
'timezone' => 'The :attribute field must be a valid timezone.',
147+
'unique' => 'The :attribute has already been taken.',
148+
'uploaded' => 'The :attribute failed to upload.',
149+
'uppercase' => 'The :attribute field must be uppercase.',
150+
'url' => 'The :attribute field must be a valid URL.',
151+
'ulid' => 'The :attribute field must be a valid ULID.',
152+
'uuid' => 'The :attribute field must be a valid UUID.',
153+
154+
/*
155+
|--------------------------------------------------------------------------
156+
| Custom Validation Language Lines
157+
|--------------------------------------------------------------------------
158+
|
159+
| Here you may specify custom validation messages for attributes using the
160+
| convention "attribute.rule" to name the lines. This makes it quick to
161+
| specify a specific custom language line for a given attribute rule.
162+
|
163+
*/
164+
165+
'custom' => [
166+
'attribute-name' => [
167+
'rule-name' => 'custom-message',
168+
],
169+
],
170+
171+
/*
172+
|--------------------------------------------------------------------------
173+
| Custom Validation Attributes
174+
|--------------------------------------------------------------------------
175+
|
176+
| The following language lines are used to swap our attribute placeholder
177+
| with something more reader friendly such as "E-Mail Address" instead
178+
| of "email". This simply helps us make our message more expressive.
179+
|
180+
*/
181+
182+
'attributes' => [],
183+
184+
];

0 commit comments

Comments
 (0)
0