Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
fix: translations (#498)
Browse files Browse the repository at this point in the history
* fix: translation

* fix: translation
  • Loading branch information
spaenleh authored Oct 28, 2024
1 parent b19392d commit 07f7fb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/components/signIn/PasswordForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ import { ErrorDisplay } from '../common/ErrorDisplay';
import { PasswordInput } from '../common/PasswordInput';
import { EmailInput } from './EmailInput';

const { SIGN_IN_PASSWORD_BUTTON } = AUTH;

type Inputs = {
email: string;
password: string;
Expand Down Expand Up @@ -139,7 +137,7 @@ export function PasswordForm() {
fullWidth
loading={isLoadingMobilePasswordSignIn || isLoadingPasswordSignIn}
>
{t(SIGN_IN_PASSWORD_BUTTON)}
{t(AUTH.SIGN_IN_PASSWORD_BUTTON)}
</LoadingButton>

{(signInWithPasswordSuccess || mobileSignInWithPasswordSuccess) && (
Expand Down
4 changes: 2 additions & 2 deletions src/langs/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"PASSWORD_FIELD_LABEL": "Mot de passe",
"PASSWORD_SIGN_IN_METHOD": "Connexion avec mot de passe",
"RESEND_EMAIL_BUTTON": "Renvoyer l'email",
"SIGN_IN_BUTTON": "Se connecter",
"SIGN_IN_BUTTON": "Recevoir un lien pour se connecter",
"SIGN_IN_PASSWORD_BUTTON": "Se connecter",
"SIGN_IN_HEADER": "Se connecter",
"SIGN_IN_LINK_TEXT": "Déjà un compte? Cliquez ici pour vous connecter",
Expand All @@ -22,7 +22,7 @@
"SIGN_IN_SUCCESS_TITLE": "Bon retour !",
"SIGN_UP_BUTTON": "S'enregistrer",
"SIGN_UP_HEADER": "S'enregistrer",
"SIGN_UP_LINK_TEXT": "Pas encore enregistré ? Cliquez ici pour vous enregistrer",
"SIGN_UP_LINK_TEXT": "Créer un compte",
"SIGN_UP_SAVE_ACTIONS_LABEL": "Activer l'enregistrement des données pour améliorer les tableaux de bord analytiques",
"SIGN_UP_SAVE_ACTIONS_TOOLTIP": "Nous recueillons des données analytiques afin d'améliorer votre expérience utilisateur lorsque vous naviguez sur Graasp.",
"SIGN_UP_SUCCESS_TITLE": "Bienvenue !",
Expand Down

0 comments on commit 07f7fb6

Please sign in to comment.