From 1649328a09180f8c8b7ed274542401158c48dc17 Mon Sep 17 00:00:00 2001 From: spaenleh Date: Wed, 23 Oct 2024 16:56:22 +0200 Subject: [PATCH] fix: translation --- src/components/signIn/PasswordForm.tsx | 4 +--- src/langs/fr.json | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/signIn/PasswordForm.tsx b/src/components/signIn/PasswordForm.tsx index bef34324..2bc5021e 100644 --- a/src/components/signIn/PasswordForm.tsx +++ b/src/components/signIn/PasswordForm.tsx @@ -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; @@ -139,7 +137,7 @@ export function PasswordForm() { fullWidth loading={isLoadingMobilePasswordSignIn || isLoadingPasswordSignIn} > - {t(SIGN_IN_PASSWORD_BUTTON)} + {t(AUTH.SIGN_IN_PASSWORD_BUTTON)} {(signInWithPasswordSuccess || mobileSignInWithPasswordSuccess) && ( diff --git a/src/langs/fr.json b/src/langs/fr.json index 7e8039ef..4d4602e9 100644 --- a/src/langs/fr.json +++ b/src/langs/fr.json @@ -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",