Skip to content

Commit 066be92

Browse files
committed
Replace AlertStream with JSON payload
1 parent 465f7cb commit 066be92

File tree

4 files changed

+104
-123
lines changed

4 files changed

+104
-123
lines changed

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

Lines changed: 43 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -79,26 +79,26 @@
7979
'HAVE_ONE' => 'Already have an account ?',
8080

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

8484
'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
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
9090
'UPDATED' => 'Account settings updated',
9191
],
9292

9393
'TOOLS' => 'Account tools',
9494

9595
'VERIFICATION' => [
9696
'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
97+
'RESEND' => 'Resend verification email', //OK
9898
'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
99+
'EMAIL' => 'Please enter the email address you used to sign up, and your verification email will be resent.', //OK
100100
'PAGE' => 'Resend the verification email for your new account.',
101-
'SEND' => 'Email the verification link for my account',//OK
101+
'SEND' => 'Email the verification link for my account', //OK
102102
'TOKEN_NOT_FOUND' => 'Verification token does not exist / Account is already verified',
103103
],
104104
],
@@ -107,72 +107,72 @@
107107
'INVALID' => 'Invalid email',
108108
'IN_USE' => 'Email <strong>{{email}}</strong> is already in use.',
109109
'NOT_FOUND' => 'There is no account for <strong>{{email}}</strong>.',
110-
'VERIFICATION_REQUIRED' => 'Email (verification required - use a real address!)',//OK
110+
'VERIFICATION_REQUIRED' => 'Email (verification required - use a real address!)', //OK
111111
],
112112
'EMAIL_OR_USERNAME' => 'Username or email address',
113113

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

116116
'GUEST' => 'Guest', //OK
117117

118118
'HEADER_MESSAGE_ROOT' => 'YOU ARE SIGNED IN AS THE ROOT USER',
119119

120-
'LAST_NAME' => 'Last name',//OK
120+
'LAST_NAME' => 'Last name', //OK
121121
'LOCALE' => [
122122
'ACCOUNT' => 'The language and locale to use for your account', //OK
123123
'INVALID' => '{{locale}} is not a valid locale.',
124124
],
125125
'LOGIN' => [
126-
'@TRANSLATION' => 'Login',//OK
126+
'@TRANSLATION' => 'Login', //OK
127127
'ALREADY_COMPLETE' => 'You are already logged in!',
128128
'SOCIAL' => 'Or login with',
129129
'REQUIRED' => 'Sorry, you must be logged in to access this resource.',
130130
],
131-
'LOGOUT' => 'Logout',//OK
131+
'LOGOUT' => 'Logout', //OK
132132

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

136136
'PASSWORD' => [
137-
'@TRANSLATION' => 'Password',//OK
137+
'@TRANSLATION' => 'Password', //OK
138138

139139
'BETWEEN' => 'Between {{min}}-{{max}} characters',
140140

141-
'CONFIRM' => 'Confirm password',//OK
141+
'CONFIRM' => 'Confirm password', //OK
142142
'CONFIRM_CURRENT' => 'Please confirm your current password',
143-
'CONFIRM_NEW' => 'Confirm New Password',//OK
144-
'CONFIRM_NEW_EXPLAIN' => 'Re-enter your new password',//OK
143+
'CONFIRM_NEW' => 'Confirm New Password', //OK
144+
'CONFIRM_NEW_EXPLAIN' => 'Re-enter your new password', //OK
145145
'CREATE' => [
146146
'@TRANSLATION' => 'Create Password',
147147
'PAGE' => 'Choose a password for your new account.',
148148
'SET' => 'Set Password and Sign In',
149149
],
150-
'CURRENT' => 'Current Password',//OK
151-
'CURRENT_EXPLAIN' => 'You must confirm your current password to make changes',//OK
150+
'CURRENT' => 'Current Password', //OK
151+
'CURRENT_EXPLAIN' => 'You must confirm your current password to make changes', //OK
152152

153-
'FORGOTTEN' => 'Forgotten Password',//OK
153+
'FORGOTTEN' => 'Forgotten Password', //OK
154154
'FORGET' => [
155-
'@TRANSLATION' => 'Forgot your password?',//OK
155+
'@TRANSLATION' => 'Forgot your password?', //OK
156156

157157
'COULD_NOT_UPDATE' => "Couldn't update password.",
158158
'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
159+
'EMAIL_SEND' => 'Email Password Reset Link', //OK
160160
'PAGE' => 'Get a link to reset your password.',
161161
'REQUEST_CANNED' => 'Lost password request cancelled.',
162162
'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>.',
163163
],
164164

165165
'HASH_FAILED' => 'Password hashing failed. Please contact a site administrator.',
166-
166+
167167
'INVALID' => "Current password doesn't match the one we have on record",
168-
169-
'NEW' => 'New Password',//OK
168+
169+
'NEW' => 'New Password', //OK
170170
'NOTHING_TO_UPDATE' => 'You cannot update with the same password',
171171

172172
'RESET' => [
173-
'@TRANSLATION' => 'Reset Password',//OK
173+
'@TRANSLATION' => 'Reset Password', //OK
174174
'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
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
176176
'PAGE' => 'Choose a new password for your account.',
177177
'SEND' => 'Set New Password and Sign In',
178178
],
@@ -186,17 +186,18 @@
186186
],
187187

188188
'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
191-
'REGISTRATION' => [
192-
'COMPLETE_TYPE1' => 'You have successfully registered. You can now sign in.',
193-
'COMPLETE_TYPE2' => '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.',
194-
'DISABLED' => "We're sorry, account registration has been disabled.",
195-
'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-
'UNKNOWN' => 'A problem was encountered during the account registration process.',
199-
'WELCOME' => 'Registration is fast and simple.',
189+
'REGISTER' => 'Register', //OK
190+
'REGISTER_ME' => 'Sign me up', //OK
191+
'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
194+
'DISABLED' => "We're sorry, account registration has been disabled.",
195+
'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.',
200201
],
201202
'REMEMBER_ME' => 'Keep me signed in',
202203
'REMEMBER_ME_ON_COMPUTER' => 'Remember me on this computer (not recommended for public computers)',
@@ -210,7 +211,7 @@
210211
'TOS_FOR' => 'Terms and Conditions for {{title}}',
211212

212213
'USERNAME' => [
213-
'@TRANSLATION' => 'Username',//OK
214+
'@TRANSLATION' => 'Username', //OK
214215
'CHOOSE' => 'Choose a unique username',
215216
'INVALID' => 'Invalid username',
216217
'IN_USE' => 'Username <strong>{{user_name}}</strong> is already in use.',

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

Lines changed: 37 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -71,27 +71,27 @@
7171
],
7272
],
7373
'EMAIL_UPDATED' => 'Adresse email mise à jour',
74-
'ERROR' => [
74+
'ERROR' => [
7575
'@TRANSLATION' => 'Error validating account',
7676
'MISSING_PARAM' => "Account can't be registered as '{{param}}' is required.",
7777
],
78-
78+
7979
'HAVE_ONE' => 'Vous avez déjà un compte ?',
80-
80+
8181
'MASTER_NOT_EXISTS' => 'Vous ne pouvez pas enregistrer un compte tant que le compte principal n\'a pas été créé!',
82-
'MY' => 'Mon compte',//OK
83-
82+
'MY' => 'Mon compte', //OK
83+
8484
'SETTINGS' => [
8585
'@TRANSLATION' => 'Paramètres du compte',
8686
'DESCRIPTION' => 'Mettez à jour les paramètres de votre compte, y compris votre adresse e-mail, votre nom et votre mot de passe.',
87-
'EMAIL' => 'Mise à jour du email',//OK
88-
'PASSWORD' => 'Modifier le mot de passe',//OK
89-
'PERSONAL' => 'Information personnelle',//OK
87+
'EMAIL' => 'Mise à jour du email', //OK
88+
'PASSWORD' => 'Modifier le mot de passe', //OK
89+
'PERSONAL' => 'Information personnelle', //OK
9090
'UPDATED' => 'Paramètres du compte mis à jour',
9191
],
9292

9393
'TOOLS' => 'Outils du compte',
94-
94+
9595
'VERIFICATION' => [
9696
'NEW_LINK_SENT' => 'Nous avons envoyé un nouveau lien de vérification à {{email}}. Veuillez vérifier vos dossiers de boîte de réception et de spam pour ce courriel.',
9797
'RESEND' => 'Renvoyer le courriel de validation',
@@ -102,21 +102,21 @@
102102
'TOKEN_NOT_FOUND' => 'Le jeton de vérification n\'existe pas / Le compte est déjà vérifié',
103103
],
104104
],
105-
105+
106106
'EMAIL' => [
107107
'INVALID' => 'Il n\'y a aucun compte pour <strong>{{email}}</strong>.',
108108
'IN_USE' => 'Le email <strong>{{email}}</strong> est déjà utilisé.',
109109
'NOT_FOUND' => 'Il n\'y a aucun compte pour <strong>{{email}}</strong>.',
110110
'VERIFICATION_REQUIRED' => 'Email (vérification requise - utiliser une adresse réelle!)',
111111
],
112112
'EMAIL_OR_USERNAME' => 'Nom d\'utilisateur ou adresse email',
113-
113+
114114
'FIRST_NAME' => 'Prénom',
115-
115+
116116
'GUEST' => 'Invité',
117117

118118
'HEADER_MESSAGE_ROOT' => 'VOUS ÊTES CONNECTÉ EN TANT QUE L\'UTILISATEUR ROOT',
119-
119+
120120
'LAST_NAME' => 'Nom de famille',
121121
'LOCALE' => [
122122
'ACCOUNT' => 'La langue utilisé pour votre compte d\'utilisateur',
@@ -129,15 +129,15 @@
129129
'REQUIRED' => 'Désolé, vous devez être connecté pour accéder à cette ressource.',
130130
],
131131
'LOGOUT' => 'Déconnexion',
132-
132+
133133
'NAME' => 'Nom',
134134
'NAME_AND_EMAIL' => 'Nom et email',
135-
135+
136136
'PASSWORD' => [
137137
'@TRANSLATION' => 'Mot de passe',
138-
138+
139139
'BETWEEN' => 'Entre {{min}} et {{max}} charactères',
140-
140+
141141
'CONFIRM' => 'Confirmer le mot de passe',
142142
'CONFIRM_CURRENT' => 'Veuillez confirmer votre mot de passe actuel',
143143
'CONFIRM_NEW' => 'Confirmer le nouveau mot de passe',
@@ -149,7 +149,7 @@
149149
],
150150
'CURRENT' => 'Mot de passe actuel',
151151
'CURRENT_EXPLAIN' => 'Vous devez confirmer votre mot de passe actuel pour apporter des modifications',
152-
152+
153153
'FORGOTTEN' => 'Mot de passe oublié',
154154
'FORGET' => [
155155
'@TRANSLATION' => 'Mot de passe oublié?',
@@ -161,61 +161,62 @@
161161
'REQUEST_CANNED' => 'Demande de mot de passe perdu annulée.',
162162
'REQUEST_SENT' => 'Si l\'adresse e-mail <strong>{{email}}</strong> correspond à un compte dans notre système, un lien de réinitialisation de mot de passe sera envoyé à <strong>{{email}}</strong>.',
163163
],
164-
164+
165165
'HASH_FAILED' => 'Le hachage du mot de passe a échoué. Veuillez contacter un administrateur de site.',
166-
166+
167167
'INVALID' => 'Le mot de passe actuel ne correspond pas à celui que nous avons au dossier',
168-
168+
169169
'NEW' => 'Nouveau mot de passe',
170170
'NOTHING_TO_UPDATE' => 'Vous ne pouvez pas mettre à jour avec le même mot de passe',
171-
171+
172172
'RESET' => [
173173
'@TRANSLATION' => 'Réinitialiser le mot de passe',
174174
'CHOOSE' => 'Veuillez choisir un nouveau mot de passe pour continuer.',
175175
'CONFIRM' => 'Êtes-vous sûr de vouloir envoyer à <strong>{{full_name}} ({{user_name}})</strong> un lien qui leur permettra de réinitialiser leur mot de passe ?',
176176
'PAGE' => 'Choisissez un nouveau mot de passe pour votre compte.',
177177
'SEND' => 'Définir un nouveau mot de passe',
178178
],
179-
179+
180180
'UPDATED' => 'Mot de passe du compte mis à jour',
181181
],
182182

183183
'PROFILE' => [
184184
'SETTINGS' => 'Paramètres du profil',
185185
'UPDATED' => 'Paramètres du profil mis à jour',
186186
],
187-
187+
188188
'RATE_LIMIT_EXCEEDED' => 'La limite de tentatives pour cette action a été dépassée. Vous devez attendre {{delay}} secondes avant de pouvoir effectuer une autre tentative.',
189189
'REGISTER' => 'S\'inscrire',
190190
'REGISTER_ME' => 'Créer mon compte',
191191
'REGISTRATION' => [
192-
'COMPLETE_TYPE1' => 'Vous êtes inscrit avec succès. Vous pouvez maintenant vous connecter.',
193-
'COMPLETE_TYPE2' => 'Vous êtes inscrit avec succès. Vous recevrez bientôt un e-mail de validation contenant un lien pour activer votre compte. Vous ne pourrez pas vous connecter avant d\'avoir terminé cette étape.',
194-
'DISABLED' => 'Désolé, l\'enregistrement de compte a été désactivé.',
195-
'ERROR' => 'Erreur d\'inscription',
196-
'LOGOUT' => 'Désolé, vous ne pouvez pas vous inscrire tout en étant connecté. Veuillez vous déconnecter en premier.',
197-
'QUESTION' => "Pas encore de compte?",//OK
198-
'UNKNOWN' => 'Un problème a été rencontré lors du processus d\'enregistrement du compte.',
199-
'WELCOME' => 'L\'inscription est rapide et simple.',
192+
'COMPLETE' => 'Vous êtes inscrit avec succès. Vous pouvez maintenant vous connecter.',
193+
'COMPLETE_VERIFICATION' => 'Vous êtes inscrit avec succès. Vous recevrez bientôt un e-mail de validation contenant un lien pour activer votre compte. Vous ne pourrez pas vous connecter avant d\'avoir terminé cette étape.',
194+
'DISABLED' => 'Désolé, l\'enregistrement de compte a été désactivé.',
195+
'ERROR' => 'Erreur d\'inscription',
196+
'LOGOUT' => 'Désolé, vous ne pouvez pas vous inscrire tout en étant connecté. Veuillez vous déconnecter en premier.',
197+
'QUESTION' => 'Pas encore de compte?', //OK
198+
'MAIL_ERROR' => 'Une erreur est survenue lors de l\'envoi de l\'email de vérification. Veuillez contacter votre administrateur.',
199+
'UNKNOWN' => 'Un problème a été rencontré lors du processus d\'enregistrement du compte.',
200+
'WELCOME' => 'L\'inscription est rapide et simple.',
200201
],
201202
'REMEMBER_ME' => 'Se souvenir de moi!',
202203
'REMEMBER_ME_ON_COMPUTER' => 'Se souvenir de moi sur cet ordinateur (non recommandé pour les ordinateurs publics)',
203-
204+
204205
'SIGNIN' => 'Se connecter',
205206
'SIGNIN_OR_REGISTER' => 'Se connecter ou s\'inscrire',
206207
'SIGNUP' => 'S\'inscrire',
207-
208+
208209
'TOS' => 'Termes et conditions',
209210
'TOS_AGREEMENT' => 'En créant un compte avec {{site_title}}, vous acceptez les <a {{link_attributes | raw}}>termes et conditions</a>.',
210211
'TOS_FOR' => 'Termes et conditions pour {{title}}',
211-
212+
212213
'USERNAME' => [
213214
'@TRANSLATION' => 'Nom d\'utilisateur',
214215
'CHOOSE' => 'Choisissez un nom d\'utilisateur unique',
215216
'INVALID' => 'Nom d\'utilisateur invalide',
216217
'IN_USE' => 'Le nom d\'utilisateur \'{{username}}\' est déjà utilisé.',
217218
'NOT_AVAILABLE' => 'Le nom d\'utilisateur <strong>{{user_name}}</strong> n\'est pas disponible. Choisissez un autre nom, ou cliquez sur « suggérer ».',
218219
],
219-
220+
220221
'WELCOME' => 'Bienvenue {{full_name}}!',
221222
];

0 commit comments

Comments
 (0)