feat(MiniCalendarWidget): enhance localization and refactor calendar logic
- 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": "December"
|
||||
},
|
||||
"miniWidget": {
|
||||
"loading": "Loading calendar…",
|
||||
"linkToCalendar": "Go to calendar →"
|
||||
},
|
||||
"categories": {
|
||||
"personal": "Personal",
|
||||
"work": "Work",
|
||||
|
||||
@@ -198,9 +198,16 @@
|
||||
"linkSignup": "Create an OpenAI account (new tab)",
|
||||
"linkApiKeys": "Manage OpenAI API keys (new tab)",
|
||||
"enabled": "Allow use for language features",
|
||||
"presetsTitle": "Quick start (1-click)",
|
||||
"presetOllama": "Free local (Ollama)",
|
||||
"presetOpenAi": "Default (OpenAI-compatible)",
|
||||
"presetHintBefore": "The Ollama preset sets ",
|
||||
"presetHintBetween": " and ",
|
||||
"presetHintAfter": ". No API key required.",
|
||||
"baseUrl": "API base URL (optional)",
|
||||
"baseUrlPlaceholder": "Empty = default (OpenAI). For Ollama e.g. http://127.0.0.1:11434/v1",
|
||||
"model": "Model name",
|
||||
"modelPlaceholder": "gpt-4o-mini",
|
||||
"apiKey": "API key",
|
||||
"apiKeyHint": "Leave empty to keep the stored key.",
|
||||
"apiKeyPlaceholderNew": "Paste new key",
|
||||
|
||||
Reference in New Issue
Block a user