generated from graasp/graasp-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add auth frontend translations
- Loading branch information
Showing
5 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export const AUTH = { | ||
SIGN_IN_BUTTON: 'Sign In', | ||
SIGN_IN_HEADER: 'Sign In', | ||
SIGN_UP_LINK_TEXT: 'Not registered? Click here to register', | ||
SIGN_IN_LINK_TEXT: 'Already have an account? Click here to sign in', | ||
EMAIL_SIGN_IN_METHOD: 'Email Sign In', | ||
PASSWORD_SIGN_IN_METHOD: 'Password Sign In', | ||
NAME_FIELD_LABEL: 'Name', | ||
SIGN_UP_BUTTON: 'Sign Up', | ||
SIGN_UP_HEADER: 'Sign Up', | ||
EMAIL_FIELD_TEXT: 'Email', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { AUTH } from '../../constants/auth'; | ||
|
||
export default { | ||
[AUTH.SIGN_IN_BUTTON]: 'Sign In', | ||
[AUTH.SIGN_IN_HEADER]: 'Sign In', | ||
[AUTH.SIGN_UP_LINK_TEXT]: 'Not registered? Click here to register', | ||
[AUTH.SIGN_IN_LINK_TEXT]: 'Already have an account? Click here to sign in', | ||
[AUTH.EMAIL_SIGN_IN_METHOD]: 'Email Sign In', | ||
[AUTH.PASSWORD_SIGN_IN_METHOD]: 'Password Sign In', | ||
[AUTH.NAME_FIELD_LABEL]: 'Name', | ||
[AUTH.SIGN_UP_BUTTON]: 'Sign Up', | ||
[AUTH.SIGN_UP_HEADER]: 'Sign Up', | ||
[AUTH.EMAIL_FIELD_TEXT]: 'Email', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { AUTH } from '../../constants/auth'; | ||
|
||
export default { | ||
[AUTH.SIGN_IN_BUTTON]: 'Se Connecter', | ||
[AUTH.SIGN_IN_HEADER]: 'Se Connecter', | ||
[AUTH.SIGN_UP_LINK_TEXT]: | ||
'Pas encore enregistré ? Cliquez ici pour vous enregistrer', | ||
[AUTH.SIGN_IN_LINK_TEXT]: 'Déjà un compte? Cliquez ici pour vous connecter', | ||
[AUTH.EMAIL_SIGN_IN_METHOD]: 'Connexion avec email', | ||
[AUTH.PASSWORD_SIGN_IN_METHOD]: 'Connexion avec mot de passe', | ||
[AUTH.NAME_FIELD_LABEL]: 'Nom', | ||
[AUTH.SIGN_UP_BUTTON]: "S'enregistrer", | ||
[AUTH.SIGN_UP_HEADER]: "S'enregistrer", | ||
[AUTH.EMAIL_FIELD_TEXT]: 'Email', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters