diff --git a/frontend/src/i18n/locales/de/personal.json b/frontend/src/i18n/locales/de/personal.json index fde8914..f04d480 100644 --- a/frontend/src/i18n/locales/de/personal.json +++ b/frontend/src/i18n/locales/de/personal.json @@ -2,7 +2,45 @@ "personal": { "calendar": { "title": "Kalender", - "comingSoon": "Der Kalender wird bald verfügbar sein. Hier können Sie zukünftig Ihre Termine und Ereignisse verwalten." + "today": "Heute", + "views": { + "month": "Monat", + "week": "Woche", + "workweek": "Arbeitswoche", + "day": "Tag" + }, + "weekdays": { + "mon": "Mo", + "tue": "Di", + "wed": "Mi", + "thu": "Do", + "fri": "Fr", + "sat": "Sa", + "sun": "So" + }, + "weekdaysFull": { + "mon": "Montag", + "tue": "Dienstag", + "wed": "Mittwoch", + "thu": "Donnerstag", + "fri": "Freitag", + "sat": "Samstag", + "sun": "Sonntag" + }, + "months": { + "jan": "Januar", + "feb": "Februar", + "mar": "März", + "apr": "April", + "may": "Mai", + "jun": "Juni", + "jul": "Juli", + "aug": "August", + "sep": "September", + "oct": "Oktober", + "nov": "November", + "dec": "Dezember" + } } } } diff --git a/frontend/src/i18n/locales/en/personal.json b/frontend/src/i18n/locales/en/personal.json index 67fb4d6..80a58cb 100644 --- a/frontend/src/i18n/locales/en/personal.json +++ b/frontend/src/i18n/locales/en/personal.json @@ -2,7 +2,45 @@ "personal": { "calendar": { "title": "Calendar", - "comingSoon": "The calendar will be available soon. Here you will be able to manage your appointments and events." + "today": "Today", + "views": { + "month": "Month", + "week": "Week", + "workweek": "Work Week", + "day": "Day" + }, + "weekdays": { + "mon": "Mon", + "tue": "Tue", + "wed": "Wed", + "thu": "Thu", + "fri": "Fri", + "sat": "Sat", + "sun": "Sun" + }, + "weekdaysFull": { + "mon": "Monday", + "tue": "Tuesday", + "wed": "Wednesday", + "thu": "Thursday", + "fri": "Friday", + "sat": "Saturday", + "sun": "Sunday" + }, + "months": { + "jan": "January", + "feb": "February", + "mar": "March", + "apr": "April", + "may": "May", + "jun": "June", + "jul": "July", + "aug": "August", + "sep": "September", + "oct": "October", + "nov": "November", + "dec": "December" + } } } } diff --git a/frontend/src/views/personal/CalendarView.vue b/frontend/src/views/personal/CalendarView.vue index e3df35e..4700dbf 100644 --- a/frontend/src/views/personal/CalendarView.vue +++ b/frontend/src/views/personal/CalendarView.vue @@ -2,9 +2,144 @@

{{ $t('personal.calendar.title') }}

-
- Coming Soon -

{{ $t('personal.calendar.comingSoon') }}

+ +
+ + +
+ +
+
+ + +
+
+
+ {{ $t(`personal.calendar.weekdays.${day}`) }} +
+
+
+
+ {{ day.dayNumber }} +
+
+
+
+
+
+ + +
+
+
+
+
+ {{ $t(`personal.calendar.weekdays.${day.weekday}`) }} +
+
{{ day.dayNumber }}
+
+
+
+
+
+ {{ formatHour(hour) }} +
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+ {{ $t(`personal.calendar.weekdays.${day.weekday}`) }} +
+
{{ day.dayNumber }}
+
+
+
+
+
+ {{ formatHour(hour) }} +
+
+
+
+
+
+
+
+
+ + +
+
+
+ {{ $t(`personal.calendar.weekdays.${currentDayData.weekday}`) }}, + {{ currentDayData.dayNumber }}. {{ $t(`personal.calendar.months.${currentDayData.month}`) }} {{ currentDayData.year }} +
+
+
+
+
+ {{ formatHour(hour) }} +
+
+
+
+
+
+
+
@@ -12,12 +147,184 @@