From 33f823aba0fd8e95c574d473a4f6b76caca9178c Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Mon, 23 Mar 2026 18:15:20 +0100 Subject: [PATCH] fix(loyalty): rename table_* locale keys to col_* matching template references Store templates (cards, card-detail, terminal) reference col_member, col_date etc. but locale files had table_member, table_date. Renamed 16 keys across all 4 locale files (en/fr/de/lb) to match. Co-Authored-By: Claude Opus 4.6 (1M context) --- app/modules/loyalty/locales/de.json | 32 ++++++++++++++--------------- app/modules/loyalty/locales/en.json | 32 ++++++++++++++--------------- app/modules/loyalty/locales/fr.json | 32 ++++++++++++++--------------- app/modules/loyalty/locales/lb.json | 32 ++++++++++++++--------------- 4 files changed, 64 insertions(+), 64 deletions(-) diff --git a/app/modules/loyalty/locales/de.json b/app/modules/loyalty/locales/de.json index 26531e55..0d4db7c7 100644 --- a/app/modules/loyalty/locales/de.json +++ b/app/modules/loyalty/locales/de.json @@ -677,11 +677,11 @@ "points_after": "Punkte danach:", "search_to_process": "Suchen Sie einen Kunden, um eine Transaktion zu verarbeiten", "recent_transactions": "Letzte Transaktionen an diesem Standort", - "table_time": "Zeit", - "table_customer": "Kunde", - "table_type": "Typ", - "table_points": "Punkte", - "table_notes": "Notizen", + "col_time": "Zeit", + "col_customer": "Kunde", + "col_type": "Typ", + "col_points": "Punkte", + "col_notes": "Notizen", "no_recent_transactions": "Keine aktuellen Transaktionen", "enter_staff_pin": "Mitarbeiter-PIN eingeben", "pin_authorize": "Geben Sie Ihren Mitarbeiter-PIN ein, um diese Transaktion zu autorisieren.", @@ -707,12 +707,12 @@ "total_points_balance": "Gesamtpunktestand", "search_placeholder": "Nach Name, E-Mail, Telefon oder Karte suchen...", "all_status": "Alle Status", - "table_member": "Mitglied", - "table_card_number": "Kartennummer", - "table_points_balance": "Punktestand", - "table_last_activity": "Letzte Aktivität", - "table_status": "Status", - "table_actions": "Aktionen", + "col_member": "Mitglied", + "col_card_number": "Kartennummer", + "col_points_balance": "Punktestand", + "col_last_activity": "Letzte Aktivität", + "col_status": "Status", + "col_actions": "Aktionen", "no_members": "Keine Mitglieder gefunden", "adjust_search": "Versuchen Sie, Ihre Suche anzupassen", "enroll_first": "Melden Sie Ihren ersten Kunden an" @@ -736,11 +736,11 @@ "last_activity": "Letzte Aktivität", "enrolled_at": "Angemeldet am", "transaction_history": "Transaktionsverlauf", - "table_date": "Datum", - "table_type": "Typ", - "table_points": "Punkte", - "table_location": "Standort", - "table_notes": "Notizen", + "col_date": "Datum", + "col_type": "Typ", + "col_points": "Punkte", + "col_location": "Standort", + "col_notes": "Notizen", "no_transactions": "Noch keine Transaktionen" }, "enroll": { diff --git a/app/modules/loyalty/locales/en.json b/app/modules/loyalty/locales/en.json index fde1ccea..589998a4 100644 --- a/app/modules/loyalty/locales/en.json +++ b/app/modules/loyalty/locales/en.json @@ -677,11 +677,11 @@ "points_after": "Points after:", "search_to_process": "Search for a customer to process a transaction", "recent_transactions": "Recent Transactions at This Location", - "table_time": "Time", - "table_customer": "Customer", - "table_type": "Type", - "table_points": "Points", - "table_notes": "Notes", + "col_time": "Time", + "col_customer": "Customer", + "col_type": "Type", + "col_points": "Points", + "col_notes": "Notes", "no_recent_transactions": "No recent transactions", "enter_staff_pin": "Enter Staff PIN", "pin_authorize": "Enter your staff PIN to authorize this transaction.", @@ -707,12 +707,12 @@ "total_points_balance": "Total Points Balance", "search_placeholder": "Search by name, email, phone, or card...", "all_status": "All Status", - "table_member": "Member", - "table_card_number": "Card Number", - "table_points_balance": "Points Balance", - "table_last_activity": "Last Activity", - "table_status": "Status", - "table_actions": "Actions", + "col_member": "Member", + "col_card_number": "Card Number", + "col_points_balance": "Points Balance", + "col_last_activity": "Last Activity", + "col_status": "Status", + "col_actions": "Actions", "no_members": "No members found", "adjust_search": "Try adjusting your search", "enroll_first": "Enroll your first customer to get started" @@ -736,11 +736,11 @@ "last_activity": "Last Activity", "enrolled_at": "Enrolled At", "transaction_history": "Transaction History", - "table_date": "Date", - "table_type": "Type", - "table_points": "Points", - "table_location": "Location", - "table_notes": "Notes", + "col_date": "Date", + "col_type": "Type", + "col_points": "Points", + "col_location": "Location", + "col_notes": "Notes", "no_transactions": "No transactions yet" }, "enroll": { diff --git a/app/modules/loyalty/locales/fr.json b/app/modules/loyalty/locales/fr.json index 569f4b3b..f5892e72 100644 --- a/app/modules/loyalty/locales/fr.json +++ b/app/modules/loyalty/locales/fr.json @@ -677,11 +677,11 @@ "points_after": "Points après :", "search_to_process": "Recherchez un client pour traiter une transaction", "recent_transactions": "Transactions récentes dans ce point de vente", - "table_time": "Heure", - "table_customer": "Client", - "table_type": "Type", - "table_points": "Points", - "table_notes": "Notes", + "col_time": "Heure", + "col_customer": "Client", + "col_type": "Type", + "col_points": "Points", + "col_notes": "Notes", "no_recent_transactions": "Aucune transaction récente", "enter_staff_pin": "Saisir le PIN du personnel", "pin_authorize": "Saisissez votre PIN personnel pour autoriser cette transaction.", @@ -707,12 +707,12 @@ "total_points_balance": "Solde total de points", "search_placeholder": "Rechercher par nom, e-mail, téléphone ou carte...", "all_status": "Tous les statuts", - "table_member": "Membre", - "table_card_number": "Numéro de carte", - "table_points_balance": "Solde de points", - "table_last_activity": "Dernière activité", - "table_status": "Statut", - "table_actions": "Actions", + "col_member": "Membre", + "col_card_number": "Numéro de carte", + "col_points_balance": "Solde de points", + "col_last_activity": "Dernière activité", + "col_status": "Statut", + "col_actions": "Actions", "no_members": "Aucun membre trouvé", "adjust_search": "Essayez d'ajuster votre recherche", "enroll_first": "Inscrivez votre premier client pour commencer" @@ -736,11 +736,11 @@ "last_activity": "Dernière activité", "enrolled_at": "Inscrit le", "transaction_history": "Historique des transactions", - "table_date": "Date", - "table_type": "Type", - "table_points": "Points", - "table_location": "Point de vente", - "table_notes": "Notes", + "col_date": "Date", + "col_type": "Type", + "col_points": "Points", + "col_location": "Point de vente", + "col_notes": "Notes", "no_transactions": "Aucune transaction" }, "enroll": { diff --git a/app/modules/loyalty/locales/lb.json b/app/modules/loyalty/locales/lb.json index 8907f278..e428d334 100644 --- a/app/modules/loyalty/locales/lb.json +++ b/app/modules/loyalty/locales/lb.json @@ -677,11 +677,11 @@ "points_after": "Punkten duerno:", "search_to_process": "Sicht e Client fir eng Transaktioun ze veraarbechten", "recent_transactions": "Rezent Transaktiounen un dësem Standuert", - "table_time": "Zäit", - "table_customer": "Client", - "table_type": "Typ", - "table_points": "Punkten", - "table_notes": "Notizen", + "col_time": "Zäit", + "col_customer": "Client", + "col_type": "Typ", + "col_points": "Punkten", + "col_notes": "Notizen", "no_recent_transactions": "Keng rezent Transaktiounen", "enter_staff_pin": "Personal-PIN aginn", "pin_authorize": "Gitt Äre Personal-PIN an fir dës Transaktioun ze autoriséieren.", @@ -707,12 +707,12 @@ "total_points_balance": "Gesamtpunktestand", "search_placeholder": "No Numm, E-Mail, Telefon oder Kaart sichen...", "all_status": "All Status", - "table_member": "Member", - "table_card_number": "Kaartnummer", - "table_points_balance": "Punktestand", - "table_last_activity": "Lescht Aktivitéit", - "table_status": "Status", - "table_actions": "Aktiounen", + "col_member": "Member", + "col_card_number": "Kaartnummer", + "col_points_balance": "Punktestand", + "col_last_activity": "Lescht Aktivitéit", + "col_status": "Status", + "col_actions": "Aktiounen", "no_members": "Keng Membere fonnt", "adjust_search": "Probéiert Är Sich unzepassen", "enroll_first": "Mellt Ären éischte Client un" @@ -736,11 +736,11 @@ "last_activity": "Lescht Aktivitéit", "enrolled_at": "Ugemellt um", "transaction_history": "Transaktiounsverlaf", - "table_date": "Datum", - "table_type": "Typ", - "table_points": "Punkten", - "table_location": "Standuert", - "table_notes": "Notizen", + "col_date": "Datum", + "col_type": "Typ", + "col_points": "Punkten", + "col_location": "Standuert", + "col_notes": "Notizen", "no_transactions": "Nach keng Transaktiounen" }, "enroll": {