Files
orion/app/modules/orders/locales/lb.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": "Bestellhistorik kucken",
"value_label": "Bestellunge gesamt"
}
},
"orders": {
"title": "Bestellungen",
"order": "Bestellung",
"order_id": "Bestellungs-ID",
"order_number": "Bestellungsnummer",
"order_date": "Bestellungsdatum",
"order_status": "Bestellungsstatus",
"order_details": "Bestellungsdetailer",
"order_items": "Bestellungsartikelen",
"order_total": "Bestellungstotal",
"subtotal": "Subtotal",
"shipping": "Versand",
"tax": "Steier",
"discount": "Rabatt",
"customer": "Client",
"shipping_address": "Liwweradress",
"billing_address": "Rechnungsadress",
"payment_method": "Bezuelmethod",
"payment_status": "Bezuelstatus",
"tracking": "Tracking",
"tracking_number": "Trackingnummer",
"carrier": "Transporteur",
"no_orders": "Keng Bestellunge fonnt",
"search_orders": "Bestellunge sichen...",
"filter_by_status": "No Status filteren",
"status_pending": "Aussteesend",
"status_processing": "A Veraarbechtung",
"status_shipped": "Verschéckt",
"status_delivered": "Geliwwert",
"status_cancelled": "Annuléiert",
"status_refunded": "Rembourséiert",
"status_confirmed": "Bestätegt",
"status_rejected": "Ofgeleent",
"confirm_order": "Bestellung bestätegen",
"reject_order": "Bestellung oflehnen",
"set_tracking": "Tracking setzen",
"view_details": "Detailer kucken"
},
"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": "Monatslech Bestellungen",
"description": "Maximal Bestellungen pro Mount",
"unit": "Bestellungen/Mount"
},
"order_history_months": {
"name": "Bestellverlaf",
"description": "Méint vum opbewaartene Bestellverlaf",
"unit": "Méint"
},
"order_management": {
"name": "Bestellverwaltung",
"description": "Vollstänneg Bestellverwaltungsfunktiounen"
},
"order_bulk_actions": {
"name": "Massenaktiounen",
"description": "Massenaktiounen fir Bestellungen duerchféieren"
},
"order_export": {
"name": "Bestellexport",
"description": "Bestelldaten exportéieren"
},
"automation_rules": {
"name": "Automatiséierungsreegelen",
"description": "Automatiséiert Bestellveraarbechtungsreegelen"
}
},
"menu": {
"store_operations": "Buttek-Operatiounen",
"sales_orders": "Verkaf & Bestellungen",
"orders": "Bestellungen"
},
"permissions": {
"orders_view": "Bestellunge kucken",
"orders_view_desc": "Bestelllëscht an Detailer kucken",
"orders_edit": "Bestellungen änneren",
"orders_edit_desc": "Bestellstatus an Detailer aktualiséieren",
"orders_cancel": "Bestellungen stornéieren",
"orders_cancel_desc": "Aussteesend oder a Veraarbechtung Bestellunge stornéieren",
"orders_refund": "Bestellungen erstatten",
"orders_refund_desc": "Réckerstattunge fir Bestellunge veraarbechten"
},
"storefront": {
"account": {
"orders": "Bestellungen"
}
}
}