fix(login-i18n): translate the "Welcome back ..." subtitle on customer login
Some checks failed
CI / ruff (push) Successful in 19s
CI / validate (push) Has been cancelled
CI / dependency-scanning (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / deploy (push) Has been cancelled
CI / pytest (push) Has started running

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) <noreply@anthropic.com>
This commit is contained in:
2026-05-29 22:36:56 +02:00
parent 6564f13898
commit bbb481aad4
5 changed files with 5 additions and 1 deletions

View File

@@ -56,7 +56,7 @@
<div class="text-6xl mb-4">🛒</div>
{% endif %}
<h2 class="text-2xl font-bold text-white mb-2">{{ store.name }}</h2>
<p class="text-white opacity-90">Welcome back to your shopping experience</p>
<p class="text-white opacity-90">{{ _("auth.login_subtitle") }}</p>
</div>
</div>

View File

@@ -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.",

View File

@@ -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.",

View File

@@ -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.",

View File

@@ -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.",