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:
49
app/modules/catalog/locales/de.json
Normal file
49
app/modules/catalog/locales/de.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"title": "Produktkatalog",
|
||||
"description": "Produktkatalogverwaltung für Händler",
|
||||
"products": {
|
||||
"title": "Produkte",
|
||||
"subtitle": "Verwalten Sie Ihren Produktkatalog",
|
||||
"create": "Produkt erstellen",
|
||||
"edit": "Produkt bearbeiten",
|
||||
"delete": "Produkt löschen",
|
||||
"empty": "Keine Produkte gefunden",
|
||||
"empty_search": "Keine Produkte entsprechen Ihrer Suche"
|
||||
},
|
||||
"product": {
|
||||
"name": "Produktname",
|
||||
"description": "Beschreibung",
|
||||
"sku": "Artikelnummer",
|
||||
"price": "Preis",
|
||||
"stock": "Bestand",
|
||||
"status": "Status",
|
||||
"active": "Aktiv",
|
||||
"inactive": "Inaktiv"
|
||||
},
|
||||
"media": {
|
||||
"title": "Produktmedien",
|
||||
"upload": "Bild hochladen",
|
||||
"delete": "Bild löschen",
|
||||
"primary": "Als Hauptbild festlegen",
|
||||
"error": "Medien-Upload fehlgeschlagen"
|
||||
},
|
||||
"validation": {
|
||||
"name_required": "Produktname ist erforderlich",
|
||||
"price_required": "Preis ist erforderlich",
|
||||
"invalid_sku": "Ungültiges Artikelnummernformat",
|
||||
"duplicate_sku": "Artikelnummer existiert bereits"
|
||||
},
|
||||
"messages": {
|
||||
"created": "Produkt erfolgreich erstellt",
|
||||
"updated": "Produkt erfolgreich aktualisiert",
|
||||
"deleted": "Produkt erfolgreich gelöscht",
|
||||
"not_found": "Produkt nicht gefunden",
|
||||
"cannot_delete": "Produkt kann nicht gelöscht werden",
|
||||
"error_loading": "Fehler beim Laden der Produkte"
|
||||
},
|
||||
"filters": {
|
||||
"all_products": "Alle Produkte",
|
||||
"active_only": "Nur aktive",
|
||||
"search_placeholder": "Produkte suchen..."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user