fix(loyalty): rename enrollment-success CTA from "continue shopping" to "back to home"
Some checks failed
Some checks failed
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) <noreply@anthropic.com>
This commit is contained in:
@@ -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:",
|
||||
|
||||
@@ -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:",
|
||||
|
||||
@@ -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 :",
|
||||
|
||||
@@ -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:",
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
</a>
|
||||
<a href="{{ base_url }}"
|
||||
class="block w-full py-3 px-4 text-gray-700 dark:text-gray-300 font-medium rounded-lg border border-gray-300 dark:border-gray-600 hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors text-center">
|
||||
{{ _('loyalty.enrollment.success.continue_shopping') }}
|
||||
{{ _('loyalty.enrollment.success.back_to_home') }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user