fix(loyalty): translate transaction types + notes on card detail page
Some checks failed
Some checks failed
Card detail transaction history now shows translated transaction type labels and system-generated notes. Uses server-rendered labels object (same pattern as terminal) to avoid async i18n flicker. - Transaction types: server-rendered txLabels lookup (all 11 types) - Notes: txNotes lookup maps English DB strings to translated text (e.g., "Welcome bonus on enrollment" → "Bonus de bienvenue...") - Added welcome_bonus_note key to all 4 locales Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -194,7 +194,8 @@
|
||||
"points_adjustment": "Points Adjusted",
|
||||
"points_expired": "Points Expired",
|
||||
"card_deactivated": "Deactivated",
|
||||
"reward_redeemed": "Reward Redeemed"
|
||||
"reward_redeemed": "Reward Redeemed",
|
||||
"welcome_bonus_note": "Welcome bonus on enrollment"
|
||||
},
|
||||
"shared": {
|
||||
"analytics": {
|
||||
|
||||
Reference in New Issue
Block a user