From 236fee015ef7a58f7924e6b4523ad7ffbe1a88a9 Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Mon, 18 May 2026 19:25:48 +0200 Subject: [PATCH] fix(loyalty): rename enrollment-success CTA from "continue shopping" to "back to home" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The loyalty storefront is a registration / wallet endpoint, not a catalog — there's nothing to continue shopping toward. The button already navigates to {{ base_url }} (the homepage), so the destination was correct; only the wording was wrong. Rename the i18n key continue_shopping -> back_to_home in loyalty/enroll-success.html and all four locale files (en/fr/de/lb): EN: "Continue Shopping" -> "Back to Home" FR: "Continuer mes achats" -> "Retour à l'accueil" DE: "Weiter einkaufen" -> "Zurück zur Startseite" LB: "Weider akafen" -> "Zréck op d'Haaptsäit" Co-Authored-By: Claude Opus 4.7 (1M context) --- app/modules/loyalty/locales/de.json | 2 +- app/modules/loyalty/locales/en.json | 2 +- app/modules/loyalty/locales/fr.json | 2 +- app/modules/loyalty/locales/lb.json | 2 +- .../loyalty/templates/loyalty/storefront/enroll-success.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/modules/loyalty/locales/de.json b/app/modules/loyalty/locales/de.json index fd8c3654..24c2a3bb 100644 --- a/app/modules/loyalty/locales/de.json +++ b/app/modules/loyalty/locales/de.json @@ -134,7 +134,7 @@ "step_balance": "Prüfen Sie Ihren Kontostand online oder in der App", "step_redeem": "Lösen Sie Punkte gegen Prämien an allen unseren Standorten ein", "view_dashboard": "Mein Treue-Dashboard anzeigen", - "continue_shopping": "Weiter einkaufen" + "back_to_home": "Zurück zur Startseite" }, "already_enrolled_title": "Sie sind bereits Mitglied!", "cross_location_message": "Ihre Karte gilt an allen unseren Standorten:", diff --git a/app/modules/loyalty/locales/en.json b/app/modules/loyalty/locales/en.json index b5361f72..5bed301e 100644 --- a/app/modules/loyalty/locales/en.json +++ b/app/modules/loyalty/locales/en.json @@ -134,7 +134,7 @@ "step_balance": "Check your balance online or in the app", "step_redeem": "Redeem points for rewards at any of our locations", "view_dashboard": "View My Loyalty Dashboard", - "continue_shopping": "Continue Shopping" + "back_to_home": "Back to Home" }, "already_enrolled_title": "You're already a member!", "cross_location_message": "Your card works at all our locations:", diff --git a/app/modules/loyalty/locales/fr.json b/app/modules/loyalty/locales/fr.json index 76f8914c..5102fe43 100644 --- a/app/modules/loyalty/locales/fr.json +++ b/app/modules/loyalty/locales/fr.json @@ -134,7 +134,7 @@ "step_balance": "Consultez votre solde en ligne ou dans l'application", "step_redeem": "Échangez vos points contre des récompenses dans tous nos points de vente", "view_dashboard": "Voir mon tableau de bord fidélité", - "continue_shopping": "Continuer mes achats" + "back_to_home": "Retour à l'accueil" }, "already_enrolled_title": "Vous êtes déjà membre !", "cross_location_message": "Votre carte est valable dans tous nos points de vente :", diff --git a/app/modules/loyalty/locales/lb.json b/app/modules/loyalty/locales/lb.json index 5c715cc5..f56c67ab 100644 --- a/app/modules/loyalty/locales/lb.json +++ b/app/modules/loyalty/locales/lb.json @@ -134,7 +134,7 @@ "step_balance": "Préift Äre Kontostand online oder an der App", "step_redeem": "Léist Punkten géint Belounungen an all eise Standuerter an", "view_dashboard": "Mäin Treie-Dashboard kucken", - "continue_shopping": "Weider akafen" + "back_to_home": "Zréck op d'Haaptsäit" }, "already_enrolled_title": "Dir sidd schonn Member!", "cross_location_message": "Är Kaart gëllt an all eise Standuerter:", diff --git a/app/modules/loyalty/templates/loyalty/storefront/enroll-success.html b/app/modules/loyalty/templates/loyalty/storefront/enroll-success.html index 92332dd8..85bda89c 100644 --- a/app/modules/loyalty/templates/loyalty/storefront/enroll-success.html +++ b/app/modules/loyalty/templates/loyalty/storefront/enroll-success.html @@ -115,7 +115,7 @@ - {{ _('loyalty.enrollment.success.continue_shopping') }} + {{ _('loyalty.enrollment.success.back_to_home') }}