fix(loyalty): resolve 40 missing i18n keys across all frontends

Fix template references to match existing locale key names (11 renames
in pins-list.html and settings.html) and add 29 missing keys to all 4
locale files (en/fr/de/lb). All 299 template keys now resolve correctly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-22 20:52:38 +01:00
parent 6161d69ba2
commit 52a5f941fe
6 changed files with 217 additions and 101 deletions

View File

@@ -143,27 +143,32 @@
},
"common": {
"active": "Active",
"inactive": "Inactive",
"all_stores": "All Stores",
"at": "at",
"back": "Back",
"cancel": "Cancel",
"save": "Save",
"delete": "Delete",
"confirm": "Confirm",
"refresh": "Refresh",
"loading": "Loading...",
"saving": "Saving...",
"view": "View",
"continue": "Continue",
"delete": "Delete",
"disabled": "Disabled",
"edit": "Edit",
"yes": "Yes",
"enabled": "Enabled",
"inactive": "Inactive",
"loading": "Loading...",
"minutes": "minutes",
"never": "Never",
"no": "No",
"none": "None",
"never": "Never",
"total": "TOTAL",
"continue": "Continue",
"back": "Back",
"points": "points",
"minutes": "minutes",
"or": "or",
"at": "at"
"points": "points",
"program_not_setup": "Loyalty program not set up",
"program_not_setup_desc": "Please set up a loyalty program to get started",
"refresh": "Refresh",
"save": "Save",
"saving": "Saving...",
"total": "TOTAL",
"view": "View",
"yes": "Yes"
},
"transactions": {
"card_created": "Enrolled",
@@ -290,6 +295,7 @@
"transactions": {
"title": "Transactions",
"subtitle": "View all loyalty transactions",
"adjust_filters": "Try adjusting your filters",
"loading": "Loading transactions...",
"error_loading": "Error loading transactions",
"search_placeholder": "Search transactions...",
@@ -301,7 +307,11 @@
"col_points": "Points",
"col_location": "Location",
"col_notes": "Notes",
"no_transactions": "No transactions found"
"no_transactions": "No transactions found",
"type_adjust": "Adjust",
"type_earn": "Earn",
"type_expire": "Expire",
"type_redeem": "Redeem"
},
"pins": {
"title": "Staff PINs",
@@ -333,6 +343,8 @@
"pin_staff_id": "Employee ID (optional)",
"pin_code": "PIN Code",
"pin_code_hint": "4-6 digit PIN",
"pin_edit_hint": "Leave blank to keep current PIN",
"pin_edit_placeholder": "New PIN (optional)",
"pin_store": "Store",
"select_store": "Select store",
"pin_created": "PIN created successfully",
@@ -473,7 +485,9 @@
"error_loading": "Error loading cards"
},
"merchant_card_detail": {
"title": "Card Detail"
"title": "Card Detail",
"error_loading": "Error loading card",
"loading": "Loading card details..."
},
"merchant_transactions": {
"title": "Merchant Transactions",
@@ -572,23 +586,38 @@
},
"cards": {
"title": "Customer Cards",
"subtitle": "View and manage loyalty members across all locations"
"subtitle": "View and manage loyalty members across all locations",
"error_loading": "Error loading cards",
"loading": "Loading cards..."
},
"card_detail": {
"title": "Card Detail"
"title": "Card Detail",
"card_label": "Card",
"error_loading": "Error loading card",
"loading": "Loading card details..."
},
"transactions": {
"title": "Transactions",
"subtitle": "View all loyalty transactions across locations"
"subtitle": "View all loyalty transactions across locations",
"error_loading": "Error loading transactions",
"loading": "Loading transactions..."
},
"pins": {
"title": "Staff PINs",
"subtitle": "Manage staff PINs across all locations"
"subtitle": "Manage staff PINs across all locations",
"error_loading": "Error loading PINs",
"loading": "Loading PINs..."
},
"settings": {
"title": "Loyalty Settings",
"subtitle": "View loyalty program settings",
"admin_controlled": "These settings are managed by the platform administrator",
"error_loading": "Error loading settings",
"loading": "Loading settings...",
"lockout_attempts": "Lockout Attempts",
"lockout_minutes": "Lockout Duration (min)",
"permissions": "Enrollment & Permissions",
"pin_policy": "PIN Policy",
"staff_pin_policy": "Staff PIN Policy",
"self_enrollment": "Self Enrollment",
"cross_location": "Cross-Location Redemption",