Files
orion/app/modules/orders/locales/de.json
Samir Boulahtit 5f359283bc
Some checks failed
CI / ruff (push) Successful in 17s
CI / validate (push) Has been cancelled
CI / dependency-scanning (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / deploy (push) Has been cancelled
CI / pytest (push) Has been cancelled
fix(storefront-i18n): dashboard widgets translate + correct customer-module key paths
Two bugs from Test 5.1 on FR storefront dashboard:

1. Loyalty + Orders dashboard cards (`StorefrontDashboardCard.title`/
   `subtitle`/`value_label`) were hardcoded English. Added `language`
   to `WidgetContext`; customer dashboard route passes
   `request.state.language` through; loyalty and orders widget
   providers now call `translate(..., context.language)` with new
   `widget.*` i18n keys × 4 locales each.

2. Customer-module locale JSON has redundant top-level `customers`
   wrapper, so after the module-locale loader auto-namespaces under
   module code `customers`, the actual key path is
   `customers.customers.customer_number` (matches the existing
   `loyalty.loyalty.wallet.apple` pattern). My earlier sweep used the
   single-prefix path for 8 references — fixed all to double-prefix.

Both bugs were visible end-of-day yesterday after the api container
recreate landed `1bade6e6`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-29 20:45:46 +02:00

106 lines
4.0 KiB
JSON

{
"widget": {
"summary": {
"title": "Bestellungen",
"subtitle": "Bestellverlauf anzeigen",
"value_label": "Bestellungen gesamt"
}
},
"orders": {
"title": "Bestellungen",
"order": "Bestellung",
"order_id": "Bestellnummer",
"order_number": "Bestellnummer",
"order_date": "Bestelldatum",
"order_status": "Bestellstatus",
"order_details": "Bestelldetails",
"order_items": "Bestellartikel",
"order_total": "Bestellsumme",
"subtotal": "Zwischensumme",
"shipping": "Versand",
"tax": "Steuer",
"discount": "Rabatt",
"customer": "Kunde",
"shipping_address": "Lieferadresse",
"billing_address": "Rechnungsadresse",
"payment_method": "Zahlungsmethode",
"payment_status": "Zahlungsstatus",
"tracking": "Sendungsverfolgung",
"tracking_number": "Sendungsnummer",
"carrier": "Versanddienstleister",
"no_orders": "Keine Bestellungen gefunden",
"search_orders": "Bestellungen suchen...",
"filter_by_status": "Nach Status filtern",
"status_pending": "Ausstehend",
"status_processing": "In Bearbeitung",
"status_shipped": "Versendet",
"status_delivered": "Zugestellt",
"status_cancelled": "Storniert",
"status_refunded": "Erstattet",
"status_confirmed": "Bestätigt",
"status_rejected": "Abgelehnt",
"confirm_order": "Bestellung bestätigen",
"reject_order": "Bestellung ablehnen",
"set_tracking": "Sendungsverfolgung setzen",
"view_details": "Details ansehen"
},
"messages": {
"order_status_updated": "Order status updated",
"item_shipped_successfully": "Item shipped successfully",
"all_items_shipped": "All items shipped",
"invoice_downloaded": "Invoice downloaded",
"failed_to_load_order_details": "Failed to load order details.",
"order_status_updated_successfully": "Order status updated successfully.",
"order_marked_as_shipped_successfully": "Order marked as shipped successfully.",
"no_shipping_label_url_available_for_this": "No shipping label URL available for this order."
},
"features": {
"orders_per_month": {
"name": "Monatliche Bestellungen",
"description": "Maximale Bestellungen pro Monat",
"unit": "Bestellungen/Monat"
},
"order_history_months": {
"name": "Bestellverlauf",
"description": "Monate des aufbewahrten Bestellverlaufs",
"unit": "Monate"
},
"order_management": {
"name": "Bestellverwaltung",
"description": "Vollständige Bestellverwaltungsfunktionen"
},
"order_bulk_actions": {
"name": "Massenaktionen",
"description": "Massenaktionen für Bestellungen durchführen"
},
"order_export": {
"name": "Bestellexport",
"description": "Bestelldaten exportieren"
},
"automation_rules": {
"name": "Automatisierungsregeln",
"description": "Automatisierte Bestellverarbeitungsregeln"
}
},
"menu": {
"store_operations": "Shop-Betrieb",
"sales_orders": "Verkäufe & Bestellungen",
"orders": "Bestellungen"
},
"permissions": {
"orders_view": "Bestellungen anzeigen",
"orders_view_desc": "Bestellliste und Details anzeigen",
"orders_edit": "Bestellungen bearbeiten",
"orders_edit_desc": "Bestellstatus und Details aktualisieren",
"orders_cancel": "Bestellungen stornieren",
"orders_cancel_desc": "Ausstehende oder in Bearbeitung befindliche Bestellungen stornieren",
"orders_refund": "Bestellungen erstatten",
"orders_refund_desc": "Rückerstattungen für Bestellungen verarbeiten"
},
"storefront": {
"account": {
"orders": "Bestellungen"
}
}
}