generator-folklore 3.0.15 → 3.0.16
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/generators/laravel-project/templates/laravel/config/app.php +1 -0
- package/lib/generators/laravel-project/templates/laravel/lang/en/auth.php +18 -0
- package/lib/generators/laravel-project/templates/laravel/lang/en/pagination.php +17 -0
- package/lib/generators/laravel-project/templates/laravel/lang/en/passwords.php +20 -0
- package/lib/generators/laravel-project/templates/laravel/lang/en/validation.php +167 -0
- package/package.json +2 -2
@@ -196,6 +196,7 @@ return [
|
|
196
196
|
App\Providers\EventServiceProvider::class,
|
197
197
|
App\Providers\RouteServiceProvider::class,
|
198
198
|
App\Providers\ViewServiceProvider::class,<% if (options.panneau) { %>
|
199
|
+
App\Providers\FortifyServiceProvider::class,
|
199
200
|
App\Panneau\PanneauServiceProvider::class,<% } %>
|
200
201
|
],
|
201
202
|
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
/*
|
5
|
+
|--------------------------------------------------------------------------
|
6
|
+
| Authentication Language Lines
|
7
|
+
|--------------------------------------------------------------------------
|
8
|
+
|
|
9
|
+
| The following language lines are used during authentication for various
|
10
|
+
| messages that we need to display to the user. You are free to modify
|
11
|
+
| these language lines according to your application's requirements.
|
12
|
+
|
|
13
|
+
*/
|
14
|
+
|
15
|
+
'failed' => 'These credentials do not match our records.',
|
16
|
+
'password' => 'The provided password is incorrect.',
|
17
|
+
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
|
18
|
+
];
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
/*
|
5
|
+
|--------------------------------------------------------------------------
|
6
|
+
| Pagination Language Lines
|
7
|
+
|--------------------------------------------------------------------------
|
8
|
+
|
|
9
|
+
| The following language lines are used by the paginator library to build
|
10
|
+
| the simple pagination links. You are free to change them to anything
|
11
|
+
| you want to customize your views to better match your application.
|
12
|
+
|
|
13
|
+
*/
|
14
|
+
|
15
|
+
'previous' => '« Previous',
|
16
|
+
'next' => 'Next »',
|
17
|
+
];
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
/*
|
5
|
+
|--------------------------------------------------------------------------
|
6
|
+
| Password Reset Language Lines
|
7
|
+
|--------------------------------------------------------------------------
|
8
|
+
|
|
9
|
+
| The following language lines are the default lines which match reasons
|
10
|
+
| that are given by the password broker for a password update attempt
|
11
|
+
| has failed, such as for an invalid token or invalid new password.
|
12
|
+
|
|
13
|
+
*/
|
14
|
+
|
15
|
+
'reset' => 'Your password has been reset!',
|
16
|
+
'sent' => 'We have emailed your password reset link!',
|
17
|
+
'throttled' => 'Please wait before retrying.',
|
18
|
+
'token' => 'This password reset token is invalid.',
|
19
|
+
'user' => "We can't find a user with that email address.",
|
20
|
+
];
|
@@ -0,0 +1,167 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
return [
|
4
|
+
/*
|
5
|
+
|--------------------------------------------------------------------------
|
6
|
+
| Validation Language Lines
|
7
|
+
|--------------------------------------------------------------------------
|
8
|
+
|
|
9
|
+
| The following language lines contain the default error messages used by
|
10
|
+
| the validator class. Some of these rules have multiple versions such
|
11
|
+
| as the size rules. Feel free to tweak each of these messages here.
|
12
|
+
|
|
13
|
+
*/
|
14
|
+
|
15
|
+
'accepted' => 'The :attribute must be accepted.',
|
16
|
+
'accepted_if' => 'The :attribute must be accepted when :other is :value.',
|
17
|
+
'active_url' => 'The :attribute is not a valid URL.',
|
18
|
+
'after' => 'The :attribute must be a date after :date.',
|
19
|
+
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
|
20
|
+
'alpha' => 'The :attribute must only contain letters.',
|
21
|
+
'alpha_dash' => 'The :attribute must only contain letters, numbers, dashes and underscores.',
|
22
|
+
'alpha_num' => 'The :attribute must only contain letters and numbers.',
|
23
|
+
'array' => 'The :attribute must be an array.',
|
24
|
+
'before' => 'The :attribute must be a date before :date.',
|
25
|
+
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
|
26
|
+
'between' => [
|
27
|
+
'array' => 'The :attribute must have between :min and :max items.',
|
28
|
+
'file' => 'The :attribute must be between :min and :max kilobytes.',
|
29
|
+
'numeric' => 'The :attribute must be between :min and :max.',
|
30
|
+
'string' => 'The :attribute must be between :min and :max characters.',
|
31
|
+
],
|
32
|
+
'boolean' => 'The :attribute field must be true or false.',
|
33
|
+
'confirmed' => 'The :attribute confirmation does not match.',
|
34
|
+
'current_password' => 'The password is incorrect.',
|
35
|
+
'date' => 'The :attribute is not a valid date.',
|
36
|
+
'date_equals' => 'The :attribute must be a date equal to :date.',
|
37
|
+
'date_format' => 'The :attribute does not match the format :format.',
|
38
|
+
'declined' => 'The :attribute must be declined.',
|
39
|
+
'declined_if' => 'The :attribute must be declined when :other is :value.',
|
40
|
+
'different' => 'The :attribute and :other must be different.',
|
41
|
+
'digits' => 'The :attribute must be :digits digits.',
|
42
|
+
'digits_between' => 'The :attribute must be between :min and :max digits.',
|
43
|
+
'dimensions' => 'The :attribute has invalid image dimensions.',
|
44
|
+
'distinct' => 'The :attribute field has a duplicate value.',
|
45
|
+
'doesnt_end_with' => 'The :attribute may not end with one of the following: :values.',
|
46
|
+
'doesnt_start_with' => 'The :attribute may not start with one of the following: :values.',
|
47
|
+
'email' => 'The :attribute must be a valid email address.',
|
48
|
+
'ends_with' => 'The :attribute must end with one of the following: :values.',
|
49
|
+
'enum' => 'The selected :attribute is invalid.',
|
50
|
+
'exists' => 'The selected :attribute is invalid.',
|
51
|
+
'file' => 'The :attribute must be a file.',
|
52
|
+
'filled' => 'The :attribute field must have a value.',
|
53
|
+
'gt' => [
|
54
|
+
'array' => 'The :attribute must have more than :value items.',
|
55
|
+
'file' => 'The :attribute must be greater than :value kilobytes.',
|
56
|
+
'numeric' => 'The :attribute must be greater than :value.',
|
57
|
+
'string' => 'The :attribute must be greater than :value characters.',
|
58
|
+
],
|
59
|
+
'gte' => [
|
60
|
+
'array' => 'The :attribute must have :value items or more.',
|
61
|
+
'file' => 'The :attribute must be greater than or equal to :value kilobytes.',
|
62
|
+
'numeric' => 'The :attribute must be greater than or equal to :value.',
|
63
|
+
'string' => 'The :attribute must be greater than or equal to :value characters.',
|
64
|
+
],
|
65
|
+
'image' => 'The :attribute must be an image.',
|
66
|
+
'in' => 'The selected :attribute is invalid.',
|
67
|
+
'in_array' => 'The :attribute field does not exist in :other.',
|
68
|
+
'integer' => 'The :attribute must be an integer.',
|
69
|
+
'ip' => 'The :attribute must be a valid IP address.',
|
70
|
+
'ipv4' => 'The :attribute must be a valid IPv4 address.',
|
71
|
+
'ipv6' => 'The :attribute must be a valid IPv6 address.',
|
72
|
+
'json' => 'The :attribute must be a valid JSON string.',
|
73
|
+
'lt' => [
|
74
|
+
'array' => 'The :attribute must have less than :value items.',
|
75
|
+
'file' => 'The :attribute must be less than :value kilobytes.',
|
76
|
+
'numeric' => 'The :attribute must be less than :value.',
|
77
|
+
'string' => 'The :attribute must be less than :value characters.',
|
78
|
+
],
|
79
|
+
'lte' => [
|
80
|
+
'array' => 'The :attribute must not have more than :value items.',
|
81
|
+
'file' => 'The :attribute must be less than or equal to :value kilobytes.',
|
82
|
+
'numeric' => 'The :attribute must be less than or equal to :value.',
|
83
|
+
'string' => 'The :attribute must be less than or equal to :value characters.',
|
84
|
+
],
|
85
|
+
'mac_address' => 'The :attribute must be a valid MAC address.',
|
86
|
+
'max' => [
|
87
|
+
'array' => 'The :attribute must not have more than :max items.',
|
88
|
+
'file' => 'The :attribute must not be greater than :max kilobytes.',
|
89
|
+
'numeric' => 'The :attribute must not be greater than :max.',
|
90
|
+
'string' => 'The :attribute must not be greater than :max characters.',
|
91
|
+
],
|
92
|
+
'mimes' => 'The :attribute must be a file of type: :values.',
|
93
|
+
'mimetypes' => 'The :attribute must be a file of type: :values.',
|
94
|
+
'min' => [
|
95
|
+
'array' => 'The :attribute must have at least :min items.',
|
96
|
+
'file' => 'The :attribute must be at least :min kilobytes.',
|
97
|
+
'numeric' => 'The :attribute must be at least :min.',
|
98
|
+
'string' => 'The :attribute must be at least :min characters.',
|
99
|
+
],
|
100
|
+
'multiple_of' => 'The :attribute must be a multiple of :value.',
|
101
|
+
'not_in' => 'The selected :attribute is invalid.',
|
102
|
+
'not_regex' => 'The :attribute format is invalid.',
|
103
|
+
'numeric' => 'The :attribute must be a number.',
|
104
|
+
'password' => [
|
105
|
+
'letters' => 'The :attribute must contain at least one letter.',
|
106
|
+
'mixed' => 'The :attribute must contain at least one uppercase and one lowercase letter.',
|
107
|
+
'numbers' => 'The :attribute must contain at least one number.',
|
108
|
+
'symbols' => 'The :attribute must contain at least one symbol.',
|
109
|
+
'uncompromised' =>
|
110
|
+
'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
|
111
|
+
],
|
112
|
+
'present' => 'The :attribute field must be present.',
|
113
|
+
'prohibited' => 'The :attribute field is prohibited.',
|
114
|
+
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
|
115
|
+
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
|
116
|
+
'prohibits' => 'The :attribute field prohibits :other from being present.',
|
117
|
+
'regex' => 'The :attribute format is invalid.',
|
118
|
+
'required' => 'The :attribute field is required.',
|
119
|
+
'required_array_keys' => 'The :attribute field must contain entries for: :values.',
|
120
|
+
'required_if' => 'The :attribute field is required when :other is :value.',
|
121
|
+
'required_unless' => 'The :attribute field is required unless :other is in :values.',
|
122
|
+
'required_with' => 'The :attribute field is required when :values is present.',
|
123
|
+
'required_with_all' => 'The :attribute field is required when :values are present.',
|
124
|
+
'required_without' => 'The :attribute field is required when :values is not present.',
|
125
|
+
'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
126
|
+
'same' => 'The :attribute and :other must match.',
|
127
|
+
'size' => [
|
128
|
+
'array' => 'The :attribute must contain :size items.',
|
129
|
+
'file' => 'The :attribute must be :size kilobytes.',
|
130
|
+
'numeric' => 'The :attribute must be :size.',
|
131
|
+
'string' => 'The :attribute must be :size characters.',
|
132
|
+
],
|
133
|
+
'starts_with' => 'The :attribute must start with one of the following: :values.',
|
134
|
+
'string' => 'The :attribute must be a string.',
|
135
|
+
'timezone' => 'The :attribute must be a valid timezone.',
|
136
|
+
'token_failed' => 'Invalid code',
|
137
|
+
'unique' => 'The :attribute has already been taken.',
|
138
|
+
'uploaded' => 'The :attribute failed to upload.',
|
139
|
+
'url' => 'The :attribute must be a valid URL.',
|
140
|
+
'uuid' => 'The :attribute must be a valid UUID.',
|
141
|
+
|
142
|
+
/*
|
143
|
+
|--------------------------------------------------------------------------
|
144
|
+
| Custom Validation Language Lines
|
145
|
+
|--------------------------------------------------------------------------
|
146
|
+
|
|
147
|
+
| Here you may specify custom validation messages for attributes using the
|
148
|
+
| convention "attribute.rule" to name the lines. This makes it quick to
|
149
|
+
| specify a specific custom language line for a given attribute rule.
|
150
|
+
|
|
151
|
+
*/
|
152
|
+
|
153
|
+
'custom' => [],
|
154
|
+
|
155
|
+
/*
|
156
|
+
|--------------------------------------------------------------------------
|
157
|
+
| Custom Validation Attributes
|
158
|
+
|--------------------------------------------------------------------------
|
159
|
+
|
|
160
|
+
| The following language lines are used to swap our attribute placeholder
|
161
|
+
| with something more reader friendly such as "E-Mail Address" instead
|
162
|
+
| of "email". This simply helps us make our message more expressive.
|
163
|
+
|
|
164
|
+
*/
|
165
|
+
|
166
|
+
'attributes' => [],
|
167
|
+
];
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "generator-folklore",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.16",
|
4
4
|
"description": "Yeoman generator for projects at Folklore",
|
5
5
|
"keywords": [
|
6
6
|
"yeoman-generator"
|
@@ -40,5 +40,5 @@
|
|
40
40
|
"yeoman-generator": "^5.7.0",
|
41
41
|
"yeoman-remote": "^1.0.1"
|
42
42
|
},
|
43
|
-
"gitHead": "
|
43
|
+
"gitHead": "6ec0b30e81fd5508831e2b6f7b7337fa9b69e208"
|
44
44
|
}
|