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": "Novembre",
|
||||
"dec": "Décembre"
|
||||
},
|
||||
"miniWidget": {
|
||||
"loading": "Chargement du calendrier…",
|
||||
"linkToCalendar": "Ouvrir le calendrier →"
|
||||
},
|
||||
"categories": {
|
||||
"personal": "Personnel",
|
||||
"work": "Travail",
|
||||
|
||||
@@ -198,9 +198,16 @@
|
||||
"linkSignup": "Créer un compte avec OpenAI (nouvelle fenêtre)",
|
||||
"linkApiKeys": "Gérer les clés API chez OpenAI (nouvelle fenêtre)",
|
||||
"enabled": "Autoriser l'utilisation des fonctions vocales",
|
||||
"presetsTitle": "Démarrage rapide (1 clic)",
|
||||
"presetOllama": "Gratuit en local (Ollama)",
|
||||
"presetOpenAi": "Par défaut (compatible OpenAI)",
|
||||
"presetHintBefore": "Le préréglage Ollama définit ",
|
||||
"presetHintBetween": " et ",
|
||||
"presetHintAfter": ". Aucune clé API requise.",
|
||||
"baseUrl": "URL de base de l'API (facultatif)",
|
||||
"baseUrlPlaceholder": "Vide = Par défaut (OpenAI). Pour Ollama par ex. Par ex. http://127.0.0.1:11434/v1",
|
||||
"model": "Nom du modèle",
|
||||
"modelPlaceholder": "gpt-4o-mini",
|
||||
"apiKey": "Clé API",
|
||||
"apiKeyHint": "Laissez vide pour conserver la clé enregistrée.",
|
||||
"apiKeyPlaceholderNew": "Insérer une nouvelle clé",
|
||||
|
||||
Reference in New Issue
Block a user