Skip to content

Commit

Permalink
99 sign in success (#100)
Browse files Browse the repository at this point in the history
* feat: add sign in success translations
  • Loading branch information
pyphilia authored Feb 14, 2023
1 parent 94672e9 commit 2b09bf2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/constants/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ export const AUTH = {
PASSWORD_FIELD_LABEL: 'PASSWORD_FIELD_LABEL',
SWITCH_ACCOUNT_TEXT: 'SWITCH_ACCOUNT_TEXT',
NOT_SIGNED_IN_TOOLTIP: 'NOT_SIGNED_IN_TOOLTIP',
SIGN_IN_SUCCESS_TITLE: 'SIGN_IN_SUCCESS_TITLE',
SIGN_UP_SUCCESS_TITLE: 'SIGN_UP_SUCCESS_TITLE',
SIGN_IN_SUCCESS_TEXT: 'SIGN_IN_SUCCESS_TEXT',
SIGN_IN_SUCCESS_EMAIL_PROBLEM: 'SIGN_IN_SUCCESS_EMAIL_PROBLEM',
};
6 changes: 5 additions & 1 deletion src/langs/en/auth.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,9 @@
"SIGN_UP_HEADER": "Sign Up",
"EMAIL_FIELD_TEXT": "Email",
"SWITCH_ACCOUNT_TEXT": "Switch to another account",
"NOT_SIGNED_IN_TOOLTIP": "You are not signed in."
"NOT_SIGNED_IN_TOOLTIP": "You are not signed in.",
"SIGN_IN_SUCCESS_TITLE": "Welcome back!",
"SIGN_UP_SUCCESS_TITLE": "Welcome!",
"SIGN_IN_SUCCESS_TEXT": "Please check your inbox <bold>{{email}}</bold> to retrieve your personal login link to access Graasp. This can take several minutes.",
"SIGN_IN_SUCCESS_EMAIL_PROBLEM": "If you did not receive any email, check your spam. If you used an institutional email (ie. school, company), it might have been blocked and will have to wait until the email is release by your spam system."
}
6 changes: 5 additions & 1 deletion src/langs/fr/auth.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,9 @@
"SIGN_UP_HEADER": "S'enregistrer",
"EMAIL_FIELD_TEXT": "Email",
"SWITCH_ACCOUNT_TEXT": "Utiliser un autre compte",
"NOT_SIGNED_IN_TOOLTIP": "Vous n'êtes pas connecté."
"NOT_SIGNED_IN_TOOLTIP": "Vous n'êtes pas connecté.",
"SIGN_IN_SUCCESS_TITLE": "Bon retour !",
"SIGN_UP_SUCCESS_TITLE": "Bienvenue !",
"SIGN_IN_SUCCESS_TEXT": "Vous trouverez dans votre boîte mail <bold>{{email}}</bold> votre lien de connexion personnel pour accéder à Graasp. L'email peut prendre quelques minutes à arriver.",
"SIGN_IN_SUCCESS_EMAIL_PROBLEM": "Si vous ne recevez aucun email, vérifiez vos spams. Si vous avez utilisé un email d'une institution, celle-ci peut avoir bloqué l'email de connexion. Cet email sera disponible dans une plus longue période de temps."
}

0 comments on commit 2b09bf2

Please sign in to comment.