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": "Close"
},
"rrule": {
"freqNone": "No recurrence",
"freqDaily": "Daily",
"freqWeekly": "Weekly",
"freqMonthly": "Monthly",
"dayMo": "Mo",
"dayTu": "Tu",
"dayWe": "We",
"dayTh": "Th",
"dayFr": "Fr",
"daySa": "Sa",
"daySu": "Su",
"labelRepeat": "Recurrence",
"labelEvery": "Every",
"labelOnDays": "On these days",
"labelUntil": "Ends on (optional)",
"unitDay": "day",
"unitDays": "days",
"unitWeek": "week",
"unitWeeks": "weeks",
"unitMonth": "month",
"unitMonths": "months"
}
}