From 57edf80bfd9eb14231b95d27b293cbf41aa6e36e Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Mon, 9 Mar 2026 14:13:51 +0100 Subject: [PATCH] Translate creating profile --- common/messages/de.json | 1 + common/messages/fr.json | 1 + web/pages/signup.tsx | 6 +++++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/common/messages/de.json b/common/messages/de.json index 91673c0b..5f4ddc02 100644 --- a/common/messages/de.json +++ b/common/messages/de.json @@ -1139,6 +1139,7 @@ "signup.submit": "Konto erstellen", "signup.title": "Konto erstellen", "signup.toast.created": "Konto erstellt", + "signup.creating_profile": "Profil wird erstellt...", "social.community.desc": "Treten Sie unseren Community-Diskussionen und Chats bei.", "social.community.title": "Community", "social.contact.desc": "Kontaktieren Sie uns direkt für Anfragen.", diff --git a/common/messages/fr.json b/common/messages/fr.json index 39448870..5f7133e9 100644 --- a/common/messages/fr.json +++ b/common/messages/fr.json @@ -1138,6 +1138,7 @@ "signup.submit": "Créer le compte", "signup.title": "Créer un compte", "signup.toast.created": "Compte créé", + "signup.creating_profile": "Création de votre profil...", "social.community.desc": "Rejoignez nos discussions et chats communautaires.", "social.community.title": "Communauté", "social.contact.desc": "Contactez-nous directement pour toute demande.", diff --git a/web/pages/signup.tsx b/web/pages/signup.tsx index a6a00cdd..07547676 100644 --- a/web/pages/signup.tsx +++ b/web/pages/signup.tsx @@ -17,6 +17,7 @@ import {useTracking} from 'web/hooks/use-tracking' import {api} from 'web/lib/api' import {auth, CACHED_REFERRAL_USERNAME_KEY} from 'web/lib/firebase/users' import {useLocale} from 'web/lib/locale' +import {useT} from 'web/lib/locale' import {getLocale} from 'web/lib/locale-cookie' import {track} from 'web/lib/service/analytics' import {safeLocalStorage} from 'web/lib/util/local' @@ -30,6 +31,7 @@ export default function SignupPage() { const {locale} = useLocale() const language = LOCALE_TO_LANGUAGE[locale] + const t = useT() const [baseUser, setBaseUser] = useState(getInitialBaseUser()) @@ -124,7 +126,9 @@ export default function SignupPage() { {isSubmitting ? ( -
Creating your profile...
+
+ {t('signup.creating_profile', 'Creating your profile...')} +
) : (