feat(MiniCalendarWidget): enhance localization and refactor calendar logic
All checks were successful
Deploy to production / deploy (push) Successful in 1m55s
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:
@@ -49,6 +49,10 @@
|
||||
"nov": "November",
|
||||
"dec": "Dezember"
|
||||
},
|
||||
"miniWidget": {
|
||||
"loading": "Kalender wird geladen…",
|
||||
"linkToCalendar": "Zum Kalender →"
|
||||
},
|
||||
"categories": {
|
||||
"personal": "Persönlich",
|
||||
"work": "Arbeit",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user