From 773249887583b1d2997a22b59341f8b00238bd34 Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Fri, 17 Apr 2026 16:44:27 +0200 Subject: [PATCH] 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. --- .../components/widgets/MiniCalendarWidget.vue | 25 ++++++++-------- frontend/src/i18n/locales/ceb/personal.json | 4 +++ frontend/src/i18n/locales/ceb/settings.json | 11 +++++-- frontend/src/i18n/locales/de/personal.json | 4 +++ frontend/src/i18n/locales/de/settings.json | 7 +++++ frontend/src/i18n/locales/en/personal.json | 4 +++ frontend/src/i18n/locales/en/settings.json | 7 +++++ frontend/src/i18n/locales/es/personal.json | 4 +++ frontend/src/i18n/locales/es/settings.json | 7 +++++ frontend/src/i18n/locales/fr/personal.json | 4 +++ frontend/src/i18n/locales/fr/settings.json | 7 +++++ .../views/settings/LanguageAssistantView.vue | 29 ++++++++++++------- 12 files changed, 88 insertions(+), 25 deletions(-) diff --git a/frontend/src/components/widgets/MiniCalendarWidget.vue b/frontend/src/components/widgets/MiniCalendarWidget.vue index 4128d22..2637225 100644 --- a/frontend/src/components/widgets/MiniCalendarWidget.vue +++ b/frontend/src/components/widgets/MiniCalendarWidget.vue @@ -4,7 +4,7 @@ {{ monthName }} {{ calendarData.year }}
- {{ day }} + {{ day }}
- Zum Kalender → + {{ $t('personal.calendar.miniWidget.linkToCalendar') }}
- Kalender wird geladen... + {{ $t('personal.calendar.miniWidget.loading') }}