Course: {{ module.course }} | +{{$t('moduleInformation.course')}}: {{ module.course }} |
Person: {{ module.prof }} | +{{$t('moduleInformation.person')}}: {{ module.prof }} |
Semester: {{ module.semester }} | +{{$t('moduleInformation.semester')}}: {{ module.semester }} |
diff --git a/frontend/src/components/ModuleSelection.vue b/frontend/src/components/ModuleSelection.vue
index b7981b5..1a510a1 100644
--- a/frontend/src/components/ModuleSelection.vue
+++ b/frontend/src/components/ModuleSelection.vue
@@ -64,7 +64,7 @@ function nextStep() {
:disabled="selectedModules.length < 1"
class="col-4 justify-content-center"
@click="nextStep()"
- >Next Step
+ >{{ $t("moduleSelection.nextStep") }}
@@ -72,16 +72,16 @@ function nextStep() {
@@ -132,4 +132,4 @@ function nextStep() {
width: 50rem;
}
}
-
+
\ No newline at end of file
diff --git a/frontend/src/components/RoomOccupation.vue b/frontend/src/components/RoomOccupation.vue
index 883233a..c88b0dd 100644
--- a/frontend/src/components/RoomOccupation.vue
+++ b/frontend/src/components/RoomOccupation.vue
@@ -3,9 +3,11 @@ import FullCalendar from "@fullcalendar/vue3";
import dayGridPlugin from "@fullcalendar/daygrid";
import interactionPlugin from "@fullcalendar/interaction";
import timeGridPlugin from "@fullcalendar/timegrid";
-import { computed, ref, Ref, watch } from "vue";
+import { computed, ComputedRef, ref, Ref, watch } from "vue";
import { CalendarOptions, EventInput } from "@fullcalendar/core";
import { fetchEventsByRoomAndDuration } from "../api/fetchRoom.ts";
+import { useI18n } from "vue-i18n";
+const { t } = useI18n({ useScope: 'global' })
const props = defineProps({
room: {
@@ -53,7 +55,14 @@ async function getOccupation() {
calendar?.refetchEvents();
}
-const calendarOptions: CalendarOptions = {
+import allLocales from "@fullcalendar/core/locales-all";
+
+
+const calendarOptions: ComputedRef
-
Modules - {{ selectedModules.length }}+{{$t('moduleSelection.modules')}} - {{ selectedModules.length }}- Select additional Modules that are not listed in the regular semester - for your Course + {{ $t("additionalModules.subTitle") }}
@@ -93,10 +90,11 @@ function selectChange() {
:virtual-scroller-options="{ itemSize: 70 }"
class="custom-multiselect"
filter
- placeholder="Select additional modules"
+ :placeholder="$t('additionalModules.dropDown')"
@change="selectChange()"
@selectall-change="onSelectAllChange($event)"
:autoFilterFocus="true"
+ :showToggleAll="false"
>
@@ -143,4 +140,4 @@ function selectChange() {
:deep(.custom-multiselect li) {
height: unset;
}
-
+
\ No newline at end of file
diff --git a/frontend/src/view/editCalendarView.vue b/frontend/src/view/EditCalendarView.vue
similarity index 81%
rename from frontend/src/view/editCalendarView.vue
rename to frontend/src/view/EditCalendarView.vue
index 18dc925..d84ed7b 100644
--- a/frontend/src/view/editCalendarView.vue
+++ b/frontend/src/view/EditCalendarView.vue
@@ -6,6 +6,9 @@ import { getCalender } from "../api/loadCalendar";
import router from "../router";
import tokenStore from "../store/tokenStore";
import { useToast } from "primevue/usetoast";
+import { useI18n } from "vue-i18n";
+const { t } = useI18n({ useScope: 'global' })
+
const toast = useToast();
const token: Ref
@@ -121,16 +119,15 @@ function selectChange() {
{{ selectedModules ? selectedModules.length : 0 }}
- item{{
- (selectedModules ? selectedModules.length : 0) > 1 ? "s" : ""
- }}
- selected.
+ {{$t("additionalModules.dropDownFooterItem")}}
+ {{ (selectedModules ? selectedModules.length : 0) > 1 ? "s" : "" }}
+ {{$t("additionalModules.dropDownFooterSelected")}}
-
+
-
- Edit your HTWKalender
+ Please enter your existing calendar token +{{$t("editCalendarView.subTitle")}}
-
Raumfinder+{{$t('roomFinderPage.headline')}}+
-
Please select a room+{{$t('roomFinderPage.detail')}} |