fix: resolve all architecture validation warnings
JavaScript improvements: - Add try/catch error handling to all async init() functions - Move initialization guards before try/catch blocks (JS-005) - Use centralized logger in i18n.js with silent fallback (JS-001) - Add loading state to icons-page.js (JS-007) Payments module structure: - Add templates/, static/, and locales/ directories (MOD-005) - Add locale files for en, de, fr, lb (MOD-006) Architecture validation now passes with 0 errors, 0 warnings, 0 info. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
12
app/modules/payments/locales/de.json
Normal file
12
app/modules/payments/locales/de.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"payments": {
|
||||
"title": "Zahlungen",
|
||||
"menu": {
|
||||
"payments": "Zahlungen"
|
||||
},
|
||||
"messages": {
|
||||
"payment_successful": "Zahlung erfolgreich verarbeitet",
|
||||
"payment_failed": "Zahlungsverarbeitung fehlgeschlagen"
|
||||
}
|
||||
}
|
||||
}
|
||||
12
app/modules/payments/locales/en.json
Normal file
12
app/modules/payments/locales/en.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"payments": {
|
||||
"title": "Payments",
|
||||
"menu": {
|
||||
"payments": "Payments"
|
||||
},
|
||||
"messages": {
|
||||
"payment_successful": "Payment processed successfully",
|
||||
"payment_failed": "Payment processing failed"
|
||||
}
|
||||
}
|
||||
}
|
||||
12
app/modules/payments/locales/fr.json
Normal file
12
app/modules/payments/locales/fr.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"payments": {
|
||||
"title": "Paiements",
|
||||
"menu": {
|
||||
"payments": "Paiements"
|
||||
},
|
||||
"messages": {
|
||||
"payment_successful": "Paiement traité avec succès",
|
||||
"payment_failed": "Échec du traitement du paiement"
|
||||
}
|
||||
}
|
||||
}
|
||||
12
app/modules/payments/locales/lb.json
Normal file
12
app/modules/payments/locales/lb.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"payments": {
|
||||
"title": "Bezuelungen",
|
||||
"menu": {
|
||||
"payments": "Bezuelungen"
|
||||
},
|
||||
"messages": {
|
||||
"payment_successful": "Bezuelung erfollegräich veraarbecht",
|
||||
"payment_failed": "Bezuelungsveraarbechtung ass feelgeschloen"
|
||||
}
|
||||
}
|
||||
}
|
||||
1
app/modules/payments/static/vendor/js/.gitkeep
vendored
Normal file
1
app/modules/payments/static/vendor/js/.gitkeep
vendored
Normal file
@@ -0,0 +1 @@
|
||||
// Placeholder to keep directory in git
|
||||
1
app/modules/payments/templates/payments/vendor/.gitkeep
vendored
Normal file
1
app/modules/payments/templates/payments/vendor/.gitkeep
vendored
Normal file
@@ -0,0 +1 @@
|
||||
# Placeholder to keep directory in git
|
||||
Reference in New Issue
Block a user