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

fix: translations #498

Merged
merged 2 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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