chore: add module exceptions, locales, and fix architecture warnings
- Create module-specific exceptions for cart, catalog, checkout - Add locales (en, de, fr, lb) for cart, catalog, checkout modules - Add missing lb.json for existing module locales - Add noqa comments for legitimate MOD-004 violations (core services) - Fix validator to use correct lb.json locale code (was lu.json) - Add noqa support for MOD-004 rule in validator Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
42
app/modules/checkout/locales/de.json
Normal file
42
app/modules/checkout/locales/de.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"title": "Kasse",
|
||||
"description": "Bestellabwicklung und Zahlungsabwicklung",
|
||||
"session": {
|
||||
"title": "Checkout-Sitzung",
|
||||
"expired": "Sitzung abgelaufen",
|
||||
"invalid": "Ungültige Sitzung"
|
||||
},
|
||||
"shipping": {
|
||||
"title": "Lieferadresse",
|
||||
"select_address": "Adresse auswählen",
|
||||
"add_new": "Neue Adresse hinzufügen",
|
||||
"method": "Versandart",
|
||||
"select_method": "Versandart auswählen",
|
||||
"not_available": "Für diese Adresse nicht verfügbar"
|
||||
},
|
||||
"payment": {
|
||||
"title": "Zahlung",
|
||||
"method": "Zahlungsmethode",
|
||||
"required": "Zahlung erforderlich",
|
||||
"failed": "Zahlung fehlgeschlagen"
|
||||
},
|
||||
"order": {
|
||||
"summary": "Bestellübersicht",
|
||||
"subtotal": "Zwischensumme",
|
||||
"shipping": "Versand",
|
||||
"tax": "MwSt.",
|
||||
"total": "Gesamtsumme",
|
||||
"place_order": "Bestellung aufgeben"
|
||||
},
|
||||
"validation": {
|
||||
"empty_cart": "Warenkorb ist leer",
|
||||
"invalid_address": "Ungültige Lieferadresse",
|
||||
"insufficient_inventory": "Unzureichender Bestand"
|
||||
},
|
||||
"messages": {
|
||||
"order_placed": "Bestellung erfolgreich aufgegeben",
|
||||
"checkout_failed": "Checkout fehlgeschlagen",
|
||||
"session_expired": "Ihre Sitzung ist abgelaufen",
|
||||
"inventory_error": "Einige Artikel sind nicht mehr verfügbar"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user