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": "Nobyembre",
|
||||
"dec": "Disyembre"
|
||||
},
|
||||
"miniWidget": {
|
||||
"loading": "Nag-load sa kalendaryo…",
|
||||
"linkToCalendar": "Adto sa kalendaryo →"
|
||||
},
|
||||
"categories": {
|
||||
"personal": "Personal",
|
||||
"work": "Trabaho",
|
||||
|
||||
@@ -198,10 +198,17 @@
|
||||
"linkSignup": "Paghimo og account sa OpenAI (bag-ong bintana)",
|
||||
"linkApiKeys": "Pagdumala sa API keys sa OpenAI (bag-ong bintana)",
|
||||
"enabled": "Tugoti ang paggamit para sa mga bahin sa pinulongan",
|
||||
"baseUrl": "API base URL (opsyonal)",
|
||||
"presetsTitle": "Paspas nga sugod (1 ka klik)",
|
||||
"presetOllama": "Libre sa lokal (Ollama)",
|
||||
"presetOpenAi": "Sukdanan (sundon ang OpenAI)",
|
||||
"presetHintBefore": "Ang preset sa Ollama nagbutang og ",
|
||||
"presetHintBetween": " ug ",
|
||||
"presetHintAfter": ". Walay gikinahanglan nga API key.",
|
||||
"baseUrl": "URL sa API (opsyonal)",
|
||||
"baseUrlPlaceholder": "Walay sulod = default (OpenAI). Para sa Ollama pananglitan http://127.0.0.1:11434/v1",
|
||||
"model": "Ngalan sa modelo",
|
||||
"apiKey": "API key",
|
||||
"modelPlaceholder": "gpt-4o-mini",
|
||||
"apiKey": "Yabi sa API",
|
||||
"apiKeyHint": "Biyai nga walay sulod aron mapadayon ang natipig nga yabi.",
|
||||
"apiKeyPlaceholderNew": "I-paste ang bag-ong yabi",
|
||||
"apiKeyPlaceholderHasKey": "Ang natipig nagtapos sa …{last4} — walay sulod = padayon",
|
||||
|
||||
Reference in New Issue
Block a user