From bbb481aad4bcb9695e7a778a2904957d75b2f9d2 Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Fri, 29 May 2026 22:36:56 +0200 Subject: [PATCH] fix(login-i18n): translate the "Welcome back ..." subtitle on customer login MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Last unilingual string in customers/storefront/login.html was the "Welcome back to your shopping experience" line on the branding side. Was flagged as scope-creep-skip during the original Test 5 i18n sweep since the user only complained about reset-password and dashboard pages; surfaced now that the 401 redirect lands users on /account/login mid-French-session. Replaced with {{ _("auth.login_subtitle") }} and added the key to all 4 core locales (en/fr/de/lb). Reworded slightly from "shopping experience" since loyalty storefronts have no catalog — same reasoning as the auth.continue_shopping → auth.back_to_home rename earlier. Co-Authored-By: Claude Opus 4.7 (1M context) --- app/modules/customers/templates/customers/storefront/login.html | 2 +- static/locales/de.json | 1 + static/locales/en.json | 1 + static/locales/fr.json | 1 + static/locales/lb.json | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/modules/customers/templates/customers/storefront/login.html b/app/modules/customers/templates/customers/storefront/login.html index 217d00d8..fc3d69fb 100644 --- a/app/modules/customers/templates/customers/storefront/login.html +++ b/app/modules/customers/templates/customers/storefront/login.html @@ -56,7 +56,7 @@
🛒
{% endif %}

{{ store.name }}

-

Welcome back to your shopping experience

+

{{ _("auth.login_subtitle") }}

diff --git a/static/locales/de.json b/static/locales/de.json index 854e930b..464eda0e 100644 --- a/static/locales/de.json +++ b/static/locales/de.json @@ -141,6 +141,7 @@ "didnt_receive_email": "E-Mail nicht erhalten? Überprüfen Sie Ihren Spam-Ordner oder", "try_again": "versuchen Sie es erneut", "remember_password": "Passwort wieder eingefallen?", + "login_subtitle": "Willkommen zurück in Ihrem Konto", "reset_password_subtitle": "Neues Passwort erstellen", "reset_your_password": "Passwort zurücksetzen", "reset_password_form_desc": "Geben Sie unten Ihr neues Passwort ein. Es muss mindestens 8 Zeichen lang sein.", diff --git a/static/locales/en.json b/static/locales/en.json index 46688768..b5e225bc 100644 --- a/static/locales/en.json +++ b/static/locales/en.json @@ -141,6 +141,7 @@ "didnt_receive_email": "Didn't receive the email? Check your spam folder or", "try_again": "try again", "remember_password": "Remember your password?", + "login_subtitle": "Welcome back to your account", "reset_password_subtitle": "Create new password", "reset_your_password": "Reset Your Password", "reset_password_form_desc": "Enter your new password below. Password must be at least 8 characters.", diff --git a/static/locales/fr.json b/static/locales/fr.json index 9ef83b12..f79fa07c 100644 --- a/static/locales/fr.json +++ b/static/locales/fr.json @@ -141,6 +141,7 @@ "didnt_receive_email": "Vous n'avez pas reçu l'e-mail ? Vérifiez votre dossier spam ou", "try_again": "réessayez", "remember_password": "Vous vous souvenez de votre mot de passe ?", + "login_subtitle": "Heureux de vous revoir", "reset_password_subtitle": "Créer un nouveau mot de passe", "reset_your_password": "Réinitialisez votre mot de passe", "reset_password_form_desc": "Saisissez votre nouveau mot de passe ci-dessous. Il doit comporter au moins 8 caractères.", diff --git a/static/locales/lb.json b/static/locales/lb.json index 75e8f584..d74f2562 100644 --- a/static/locales/lb.json +++ b/static/locales/lb.json @@ -141,6 +141,7 @@ "didnt_receive_email": "E-Mail net kritt? Kuckt Ären Spam-Dossier oder", "try_again": "probéiert et nach eng Kéier", "remember_password": "Passwuert erëm agefall?", + "login_subtitle": "Wëllkomm zréck an Ärem Kont", "reset_password_subtitle": "Neit Passwuert erstellen", "reset_your_password": "Ärt Passwuert zrécksetzen", "reset_password_form_desc": "Gitt hei drënner Ärt neit Passwuert an. Et muss mindestens 8 Zeechen laang sinn.",