Skip to content

Commit ac2cba9

Browse files
committed
Cleanup dictionaries
1 parent 163d638 commit ac2cba9

File tree

15 files changed

+239
-327
lines changed

15 files changed

+239
-327
lines changed

packages/sprinkle-account/app/locale/en_US/messages.php

Lines changed: 51 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
'DESCRIPTION' => 'This password reset request could not be found, or has expired.',
7171
],
7272
],
73-
'EMAIL_UPDATED' => 'Account email updated',
7473
'ERROR' => [
7574
'@TRANSLATION' => 'Error validating account',
7675
'MISSING_PARAM' => "Account can't be registered as '{{param}}' is required.",
@@ -79,139 +78,117 @@
7978
'HAVE_ONE' => 'Already have an account ?',
8079

8180
'MASTER_NOT_EXISTS' => 'You cannot register an account until the master account has been created!',
82-
'MY' => 'My Account', //OK
81+
'MY' => 'My Account',
8382

8483
'SETTINGS' => [
85-
'@TRANSLATION' => 'Account settings', //OK
86-
'DESCRIPTION' => 'Update your account settings, including email, name, and password.', //OK
87-
'EMAIL' => 'Update Email', //OK
88-
'PASSWORD' => 'Update Password', //OK
89-
'PERSONAL' => 'Personal Information', //OK
84+
'@TRANSLATION' => 'Account settings',
85+
'DESCRIPTION' => 'Update your account settings, including email, name, and password.',
86+
'EMAIL' => 'Update Email',
87+
'PASSWORD' => 'Update Password',
88+
'PERSONAL' => 'Personal Information',
9089
'UPDATED' => 'Account settings updated',
9190
],
9291

93-
'TOOLS' => 'Account tools',
94-
9592
'VERIFICATION' => [
9693
'NEW_LINK_SENT' => 'We have emailed a new verification link to {{email}}. Please check your inbox and spam folders for this email.',
97-
'RESEND' => 'Resend verification email', //OK
94+
'RESEND' => 'Resend verification email',
9895
'COMPLETE' => 'You have successfully verified your account. You can now login.',
99-
'EMAIL' => 'Please enter the email address you used to sign up, and your verification email will be resent.', //OK
100-
'PAGE' => 'Resend the verification email for your new account.',
101-
'SEND' => 'Email the verification link for my account', //OK
96+
'EMAIL' => 'Please enter the email address you used to sign up, and your verification email will be resent.',
97+
// 'PAGE' => 'Resend the verification email for your new account.',
98+
'SEND' => 'Email the verification link for my account',
10299
'TOKEN_NOT_FOUND' => 'Verification token does not exist / Account is already verified',
103100
],
104101
],
105102

106103
'EMAIL' => [
107104
'INVALID' => 'Invalid email',
108105
'IN_USE' => 'Email <strong>{{email}}</strong> is already in use.',
109-
'NOT_FOUND' => 'There is no account for <strong>{{email}}</strong>.',
110-
'VERIFICATION_REQUIRED' => 'Email (verification required - use a real address!)', //OK
106+
'VERIFICATION_REQUIRED' => 'Email (verification required - use a real address!)',
111107
],
112-
'EMAIL_OR_USERNAME' => 'Username or email address',
113108

114-
'FIRST_NAME' => 'First name', //OK
109+
'FIRST_NAME' => 'First name',
115110

116-
'GUEST' => 'Guest', //OK
111+
'GUEST' => 'Guest',
117112

118-
'HEADER_MESSAGE_ROOT' => 'YOU ARE SIGNED IN AS THE ROOT USER',
113+
'HEADER_MESSAGE_ROOT' => 'YOU ARE SIGNED IN AS THE ROOT USER', // TODO
119114

120-
'LAST_NAME' => 'Last name', //OK
115+
'LAST_NAME' => 'Last name',
121116
'LOCALE' => [
122-
'ACCOUNT' => 'The language and locale to use for your account', //OK
117+
'ACCOUNT' => 'The language and locale to use for your account',
123118
'INVALID' => '{{locale}} is not a valid locale.',
124119
],
125-
'LOGIN' => [
126-
'@TRANSLATION' => 'Login', //OK
127-
'ALREADY_COMPLETE' => 'You are already logged in!',
128-
'SOCIAL' => 'Or login with',
129-
'REQUIRED' => 'Sorry, you must be logged in to access this resource.',
130-
],
131-
'LOGOUT' => 'Logout', //OK
120+
'LOGIN' => 'Login',
121+
'LOGOUT' => 'Logout',
132122

133-
'NAME' => 'Name',
134-
'NAME_AND_EMAIL' => 'Name and email', //OK
123+
'NAME_AND_EMAIL' => 'Name and email',
135124

136125
'PASSWORD' => [
137-
'@TRANSLATION' => 'Password', //OK
126+
'@TRANSLATION' => 'Password',
138127

139128
'BETWEEN' => 'Between {{min}}-{{max}} characters',
140129

141-
'CONFIRM' => 'Confirm password', //OK
130+
'CONFIRM' => 'Confirm password',
142131
'CONFIRM_CURRENT' => 'Please confirm your current password',
143-
'CONFIRM_NEW' => 'Confirm New Password', //OK
144-
'CONFIRM_NEW_EXPLAIN' => 'Re-enter your new password', //OK
145-
'CREATE' => [
146-
'@TRANSLATION' => 'Create Password',
147-
'PAGE' => 'Choose a password for your new account.',
148-
'SET' => 'Set Password and Sign In',
149-
],
150-
'CURRENT' => 'Current Password', //OK
151-
'CURRENT_EXPLAIN' => 'You must confirm your current password to make changes', //OK
152-
153-
'FORGOTTEN' => 'Forgotten Password', //OK
132+
'CONFIRM_NEW' => 'Confirm New Password',
133+
'CONFIRM_NEW_EXPLAIN' => 'Re-enter your new password',
134+
// 'CREATE' => [
135+
// '@TRANSLATION' => 'Create Password',
136+
// 'PAGE' => 'Choose a password for your new account.',
137+
// 'SET' => 'Set Password and Sign In',
138+
// ],
139+
'CURRENT' => 'Current Password',
140+
'CURRENT_EXPLAIN' => 'You must confirm your current password to make changes',
141+
142+
'FORGOTTEN' => 'Forgotten Password',
154143
'FORGET' => [
155-
'@TRANSLATION' => 'Forgot your password?', //OK
156-
157-
'COULD_NOT_UPDATE' => "Couldn't update password.",
144+
'@TRANSLATION' => 'Forgot your password?',
158145
'EMAIL' => 'Please enter the email address you used to sign up. A link with instructions to reset your password will be emailed to you.',
159-
'EMAIL_SEND' => 'Email Password Reset Link', //OK
160-
'PAGE' => 'Get a link to reset your password.',
146+
'EMAIL_SEND' => 'Email Password Reset Link',
147+
// 'INVALID' => 'This password reset request could not be found or has expired. Please try <a href="{{url}}">submitting your request</a> again.',
148+
// 'PAGE' => 'Get a link to reset your password.',
161149
'REQUEST_CANNED' => 'Lost password request cancelled.',
162150
'REQUEST_SENT' => 'If the email <strong>{{email}}</strong> matches an account in our system, a password reset link will be sent to <strong>{{email}}</strong>.',
163151
],
164152

165-
'HASH_FAILED' => 'Password hashing failed. Please contact a site administrator.',
166-
167153
'INVALID' => "Current password doesn't match the one we have on record",
168154

169-
'NEW' => 'New Password', //OK
170-
'NOTHING_TO_UPDATE' => 'You cannot update with the same password',
155+
'NEW' => 'New Password',
171156

172157
'RESET' => [
173-
'@TRANSLATION' => 'Reset Password', //OK
174-
'CHOOSE' => 'Please choose a new password to continue.',
175-
'CONFIRM' => ' Are you sure you want to send <strong>{{full_name}} ({{ user_name }})</strong> a link that will allow them to reset their password ?', //OK
176-
'PAGE' => 'Choose a new password for your account.',
177-
'SEND' => 'Set New Password and Sign In',
158+
'@TRANSLATION' => 'Reset Password',
159+
// 'CHOOSE' => 'Please choose a new password to continue.',
160+
// 'CONFIRM' => ' Are you sure you want to send <strong>{{full_name}} ({{ user_name }})</strong> a link that will allow them to reset their password ?',
161+
// 'PAGE' => 'Choose a new password for your account.',
162+
// 'SEND' => 'Set New Password and Sign In',
178163
],
179164

180165
'UPDATED' => 'Account password updated',
181166
],
182167

183168
'PROFILE' => [
184-
'SETTINGS' => 'Profile settings',
185169
'UPDATED' => 'Profile settings updated',
186170
],
187171

188172
'RATE_LIMIT_EXCEEDED' => 'The rate limit for this action has been exceeded. You must wait another {{delay}} seconds before you will be allowed to make another attempt.',
189-
'REGISTER' => 'Register', //OK
190-
'REGISTER_ME' => 'Sign me up', //OK
173+
'REGISTER' => 'Register',
174+
'REGISTER_ME' => 'Sign me up',
191175
'REGISTRATION' => [
192-
'COMPLETE' => 'You have successfully registered. You can now sign in.',//OK
193-
'COMPLETE_VERIFICATION' => 'You have successfully registered. A link to activate your account has been sent to <strong>{{email}}</strong>. You will not be able to sign in until you complete this step.',//OK
176+
'COMPLETE' => 'You have successfully registered. You can now sign in.',
177+
'COMPLETE_VERIFICATION' => 'You have successfully registered. A link to activate your account has been sent to <strong>{{email}}</strong>. You will not be able to sign in until you complete this step.',
194178
'DISABLED' => "We're sorry, account registration has been disabled.",
195179
'ERROR' => 'Registration error',
196-
'LOGOUT' => "I'm sorry, you cannot register for an account while logged in. Please log out first.",
197-
'QUESTION' => "You don't have an account yet?", //OK
198-
'MAIL_ERROR' => 'An error occurred while sending the verification email. Please contact your administrator.', //OK
199-
'UNKNOWN' => 'A problem was encountered during the account registration process.', //OK
200-
'WELCOME' => 'Registration is fast and simple.',
180+
'QUESTION' => "You don't have an account yet?",
181+
'MAIL_ERROR' => 'An error occurred while sending the verification email. Please contact your administrator.',
182+
'UNKNOWN' => 'A problem was encountered during the account registration process.',
201183
],
202184
'REMEMBER_ME' => 'Keep me signed in',
203-
'REMEMBER_ME_ON_COMPUTER' => 'Remember me on this computer (not recommended for public computers)',
204-
205-
'SIGNIN' => 'Sign in',
206-
'SIGNIN_OR_REGISTER' => 'Sign in or register',
207-
'SIGNUP' => 'Sign Up',
208185

209186
'TOS' => 'Terms and Conditions',
210187
'TOS_AGREEMENT' => 'By registering an account with {{site_title}}, you accept the <a {{link_attributes | raw}}>terms and conditions</a>.',
211-
'TOS_FOR' => 'Terms and Conditions for {{title}}',
188+
// 'TOS_FOR' => 'Terms and Conditions for {{title}}',
212189

213190
'USERNAME' => [
214-
'@TRANSLATION' => 'Username', //OK
191+
'@TRANSLATION' => 'Username',
215192
'CHOOSE' => 'Choose a unique username',
216193
'INVALID' => 'Invalid username',
217194
'IN_USE' => 'Username <strong>{{user_name}}</strong> is already in use.',

0 commit comments

Comments
 (0)