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:
72
app/modules/loyalty/locales/lb.json
Normal file
72
app/modules/loyalty/locales/lb.json
Normal file
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"loyalty": {
|
||||
"module": {
|
||||
"name": "Treieprogrammer",
|
||||
"description": "Stempel- a Punktebaséiert Treieprogrammer mat Wallet-Integratioun"
|
||||
},
|
||||
"program": {
|
||||
"title": "Treieprogramm",
|
||||
"create": "Programm erstellen",
|
||||
"edit": "Programm beaarbechten",
|
||||
"activate": "Aktivéieren",
|
||||
"deactivate": "Deaktivéieren",
|
||||
"type": {
|
||||
"stamps": "Stempelen",
|
||||
"points": "Punkten",
|
||||
"hybrid": "Hybrid"
|
||||
}
|
||||
},
|
||||
"card": {
|
||||
"title": "Treiekaart",
|
||||
"number": "Kaartnummer",
|
||||
"qr_code": "QR-Code",
|
||||
"enroll": "Client aschreiben",
|
||||
"deactivate": "Kaart deaktivéieren"
|
||||
},
|
||||
"stamp": {
|
||||
"title": "Stempelen",
|
||||
"add": "Stempel derbäisetzen",
|
||||
"redeem": "Belounung aléisen",
|
||||
"count": "{current} vun {target}",
|
||||
"until_reward": "{count} bis zur Belounung"
|
||||
},
|
||||
"points": {
|
||||
"title": "Punkten",
|
||||
"earn": "Punkten sammelen",
|
||||
"redeem": "Punkten aléisen",
|
||||
"balance": "{count} Punkten",
|
||||
"per_euro": "{points} Punkten pro Euro"
|
||||
},
|
||||
"pin": {
|
||||
"title": "Personal-PINen",
|
||||
"create": "PIN erstellen",
|
||||
"edit": "PIN beaarbechten",
|
||||
"unlock": "PIN entspären",
|
||||
"locked": "PIN gespaart bis {time}"
|
||||
},
|
||||
"wallet": {
|
||||
"google": "An Google Wallet derbäisetzen",
|
||||
"apple": "An Apple Wallet derbäisetzen"
|
||||
},
|
||||
"stats": {
|
||||
"title": "Statistiken",
|
||||
"total_cards": "Total Kaarten",
|
||||
"active_cards": "Aktiv Kaarten",
|
||||
"stamps_issued": "Stempelen ausgestallt",
|
||||
"rewards_redeemed": "Belounungen agelées"
|
||||
},
|
||||
"errors": {
|
||||
"program_not_found": "Treieprogramm net fonnt",
|
||||
"program_inactive": "Treieprogramm ass net aktiv",
|
||||
"card_not_found": "Treiekaart net fonnt",
|
||||
"card_inactive": "Treiekaart ass net aktiv",
|
||||
"cooldown": "W.e.g. waart {minutes} Minutten virum nächste Stempel",
|
||||
"daily_limit": "Deeglecht Stempel-Limit vun {limit} erreecht",
|
||||
"insufficient_stamps": "Brauch {required} Stempelen, huet {current}",
|
||||
"insufficient_points": "Brauch {required} Punkten, huet {current}",
|
||||
"pin_required": "Personal-PIN erfuerderlech",
|
||||
"pin_invalid": "Ongëlteg Personal-PIN",
|
||||
"pin_locked": "PIN gespaart wéinst ze vill Fehlversich"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user