fix(i18n): complete translations for production launch and fix CMS store context
Some checks failed
CI / ruff (push) Successful in 10s
CI / validate (push) Successful in 26s
CI / dependency-scanning (push) Successful in 28s
CI / pytest (push) Failing after 3h13m27s
CI / docs (push) Has been cancelled
CI / deploy (push) Has been cancelled

- Replace CMS custom get_store_context() with core utility (same fix as loyalty)
- Add 85 missing translation keys across fr/de/lb for core, tenancy, messaging,
  customers, and loyalty modules
- Convert 21 client-side $t() calls to server-side _() in 9 loyalty templates
- Fix 3 broken translation keys in store/cards.html

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-14 23:38:54 +01:00
parent bc7431943a
commit 6c07f6cbb2
27 changed files with 189 additions and 82 deletions

View File

@@ -35,7 +35,16 @@
"failed_to_delete_notification": "Failed to delete notification",
"failed_to_load_alerts": "Failed to load alerts",
"alert_resolved_successfully": "Alert resolved successfully",
"failed_to_resolve_alert": "Failed to resolve alert"
"failed_to_resolve_alert": "Failed to resolve alert",
"no_template_for_language": "Keine Vorlage für {language} - erstellen Sie eine durch Speichern",
"failed_to_save_template": "Vorlage konnte nicht gespeichert werden",
"test_email_sent": "Test-E-Mail an {email} gesendet"
},
"confirmations": {
"delete_notification": "Sind Sie sicher, dass Sie diese Benachrichtigung löschen möchten?",
"close_conversation": "Diese Konversation schließen?",
"close_conversation_admin": "Sind Sie sicher, dass Sie diese Konversation schließen möchten?",
"delete_customization": "Sind Sie sicher, dass Sie Ihre Anpassung löschen und zur Plattform-Standardvorlage zurückkehren möchten?"
},
"features": {
"messaging_basic": {
@@ -78,6 +87,7 @@
"reply_to": "Antwort an",
"related_entity": "Verknüpfte Entität",
"error_message": "Fehlermeldung",
"retry_count": "Wiederholungsversuche",
"actions": "Aktionen",
"view_detail": "Details anzeigen",
"email_detail": "E-Mail-Detail",
@@ -85,6 +95,7 @@
"text_preview": "Text-Vorschau",
"metadata": "Metadaten",
"content": "Inhalt",
"status_timeline": "Status-Verlauf",
"filter_by_recipient": "Nach Empfänger-E-Mail suchen...",
"filter_by_status": "Alle Status",
"filter_by_template": "Alle Vorlagen",
@@ -104,7 +115,8 @@
"status_delivered": "Zugestellt",
"status_bounced": "Abgewiesen",
"status_opened": "Geöffnet",
"status_clicked": "Angeklickt"
"status_clicked": "Angeklickt",
"retention_note": "E-Mail-Inhalte werden 90 Tage aufbewahrt. Metadaten werden unbegrenzt gespeichert."
},
"permissions": {
"view_messages": "Nachrichten anzeigen",