feat(MiniCalendarWidget): enhance localization and refactor calendar logic
All checks were successful
Deploy to production / deploy (push) Successful in 1m55s

- Updated the MiniCalendarWidget to utilize localized strings for month names, weekdays, and loading messages, improving user experience across multiple languages.
- Refactored the calendar logic to use constants for month keys and weekday order, ensuring consistency with backend configurations.
- Added new translation entries for the mini widget in Cebuano, German, English, Spanish, and French, enhancing accessibility for users.
This commit is contained in:
Torsten Schulz (local)
2026-04-17 16:44:27 +02:00
parent 14881803df
commit 7732498875
12 changed files with 88 additions and 25 deletions

View File

@@ -49,6 +49,10 @@
"nov": "November",
"dec": "Dezember"
},
"miniWidget": {
"loading": "Kalender wird geladen…",
"linkToCalendar": "Zum Kalender →"
},
"categories": {
"personal": "Persönlich",
"work": "Arbeit",

View File

@@ -198,9 +198,16 @@
"linkSignup": "Konto bei OpenAI anlegen (neues Fenster)",
"linkApiKeys": "API-Keys bei OpenAI verwalten (neues Fenster)",
"enabled": "Nutzung für Sprachfunktionen erlauben",
"presetsTitle": "Schnellstart (1-Klick)",
"presetOllama": "Kostenlos lokal (Ollama)",
"presetOpenAi": "Standard (OpenAI-kompatibel)",
"presetHintBefore": "Der Ollama-Preset setzt ",
"presetHintBetween": " und ",
"presetHintAfter": ". Kein API-Key erforderlich.",
"baseUrl": "API-Basis-URL (optional)",
"baseUrlPlaceholder": "Leer = Standard (OpenAI). Für Ollama z. B. http://127.0.0.1:11434/v1",
"model": "Modellname",
"modelPlaceholder": "gpt-4o-mini",
"apiKey": "API-Schlüssel",
"apiKeyHint": "Leer lassen, um den gespeicherten Schlüssel beizubehalten.",
"apiKeyPlaceholderNew": "Neuen Schlüssel einfügen",