fix(i18n): translate shopping categories and recurrence UI fields

- Shopping category dropdown options now use CATEGORY_LABELS() for
  translated display text instead of raw German internal keys
- rrule-ui.js now imports t() from /i18n.js; all hardcoded German
  strings (freq options, weekday labels, form labels, unit labels)
  replaced with i18n keys under the new 'rrule' namespace
- Added 'rrule' section to de.json and en.json with 22 new keys

Fixes #21
This commit is contained in:
Ulas
2026-04-05 13:49:24 +02:00
parent d7a79d9194
commit 5b8ab7303f
5 changed files with 80 additions and 26 deletions
+24
View File
@@ -552,5 +552,29 @@
"modal": {
"closeLabel": "Schließen"
},
"rrule": {
"freqNone": "Keine Wiederholung",
"freqDaily": "Täglich",
"freqWeekly": "Wöchentlich",
"freqMonthly": "Monatlich",
"dayMo": "Mo",
"dayTu": "Di",
"dayWe": "Mi",
"dayTh": "Do",
"dayFr": "Fr",
"daySa": "Sa",
"daySu": "So",
"labelRepeat": "Wiederholung",
"labelEvery": "Alle",
"labelOnDays": "An diesen Tagen",
"labelUntil": "Endet am (optional)",
"unitDay": "Tag",
"unitDays": "Tage",
"unitWeek": "Woche",
"unitWeeks": "Wochen",
"unitMonth": "Monat",
"unitMonths": "Monate"
}
}