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:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user