🌐 Add translation for configureTimetableGroup

This commit is contained in:
2022-09-30 18:00:33 +02:00
parent debe5025dd
commit ae4249f1f0
3 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,7 @@
import { computed } from "@vue/reactivity";
import { ref, watch } from "vue";
import router from "./router";
import i18n from "./main";
export const lastRoute = ref();
export const loading = ref(false);
@ -85,7 +86,7 @@ export const parsedTimetable = computed(() => {
if (!matchingLesson) {
matchingLesson = {
subject: lesson.map((e) => e.subject).join(" / "),
teacher: "Please configure a timetable group in the settings",
teacher: i18n.global.t("timetable.configureTimetableGroup"),
length: lesson[0].length || 1,
};
}