chore: translation
This commit is contained in:
parent
6769169817
commit
ce234a0538
|
|
@ -12,12 +12,12 @@ defineProps<{
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<AssignmentItem
|
<AssignmentItem
|
||||||
:task-title="`Praxisauftrag: ${taskTitle}`"
|
:task-title="`${$t('a.Praxisauftrag')}: ${taskTitle}`"
|
||||||
:circle-title="circleTitle"
|
:circle-title="circleTitle"
|
||||||
:pending-tasks="pendingTasks"
|
:pending-tasks="pendingTasks"
|
||||||
:task-link="taskLink"
|
:task-link="taskLink"
|
||||||
pending-tasks-label="Ergebnisse abgegeben"
|
:pending-tasks-label="$t('a.Ergebnisse abgegeben')"
|
||||||
task-link-pending-label="Ergebnisse bewerten"
|
:task-link-pending-label="$t('a.Ergebnisse bewerten')"
|
||||||
task-link-label="Praxisaufträge anschauen"
|
:task-link-label="$t('a.Praxisaufträge anschauen')"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
class="btn-text mb-4 inline-flex items-center pl-0"
|
class="btn-text mb-4 inline-flex items-center pl-0"
|
||||||
>
|
>
|
||||||
<it-icon-arrow-left class="it-icon"></it-icon-arrow-left>
|
<it-icon-arrow-left class="it-icon"></it-icon-arrow-left>
|
||||||
{{ $t("a.Zurück") }}
|
{{ $t("general.back") }}
|
||||||
</router-link>
|
</router-link>
|
||||||
|
|
||||||
<div class="bg-white">
|
<div class="bg-white">
|
||||||
|
|
|
||||||
|
|
@ -5,26 +5,28 @@ import { useCurrentCourseSession } from "@/composables";
|
||||||
import ItDropdownSelect from "@/components/ui/ItDropdownSelect.vue";
|
import ItDropdownSelect from "@/components/ui/ItDropdownSelect.vue";
|
||||||
import { computed, type Ref, ref } from "vue";
|
import { computed, type Ref, ref } from "vue";
|
||||||
import PraxisAssignmentItem from "@/components/cockpit/mentor/PraxisAssignmentItem.vue";
|
import PraxisAssignmentItem from "@/components/cockpit/mentor/PraxisAssignmentItem.vue";
|
||||||
|
import { useTranslation } from "i18next-vue";
|
||||||
|
|
||||||
|
const { t } = useTranslation();
|
||||||
const courseSession = useCurrentCourseSession();
|
const courseSession = useCurrentCourseSession();
|
||||||
|
|
||||||
const mentorCockpitStore = useMentorCockpit(courseSession.value.id);
|
const mentorCockpitStore = useMentorCockpit(courseSession.value.id);
|
||||||
const summary = mentorCockpitStore.summary;
|
const summary = mentorCockpitStore.summary;
|
||||||
|
|
||||||
const statusFilterValue = ref({ name: "Alle", id: "_all" });
|
const statusFilterValue = ref({ name: t("Alle"), id: "_all" });
|
||||||
|
|
||||||
const statusFilter = ref([
|
const statusFilter = ref([
|
||||||
{ name: "Alle", id: "_all" },
|
{ name: t("Alle"), id: "_all" },
|
||||||
{ name: "Zu erledigen", id: "todo" },
|
{ name: t("a.Zu erledigen"), id: "todo" },
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const circleFilterValue = ref({ name: "Circle: Alle", id: "_all" });
|
const circleFilterValue = ref({ name: t("a.AlleCircle"), id: "_all" });
|
||||||
|
|
||||||
const circleFilter = computed(() => {
|
const circleFilter = computed(() => {
|
||||||
if (!summary.value) return [];
|
if (!summary.value) return [];
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{ name: "Circle: Alle", id: "_all" },
|
{ name: t("a.AlleCircle"), id: "_all" },
|
||||||
...summary.value.circles.map((circle) => ({
|
...summary.value.circles.map((circle) => ({
|
||||||
name: `Circle: ${circle.title}`,
|
name: `Circle: ${circle.title}`,
|
||||||
id: circle.id,
|
id: circle.id,
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ const getParticipantById = (id: string): Participant | null => {
|
||||||
<template>
|
<template>
|
||||||
<div v-if="praxisAssignment">
|
<div v-if="praxisAssignment">
|
||||||
<div class="p-6">
|
<div class="p-6">
|
||||||
<h2 class="mb-2">Praxisauftrag: {{ praxisAssignment.title }}</h2>
|
<h2 class="mb-2">{{ $t("a.Praxisauftrag") }}: {{ praxisAssignment.title }}</h2>
|
||||||
<span class="text-gray-800">
|
<span class="text-gray-800">
|
||||||
Circle «{{ mentorCockpitStore.getCircleTitleById(praxisAssignment.circle_id) }}»
|
Circle «{{ mentorCockpitStore.getCircleTitleById(praxisAssignment.circle_id) }}»
|
||||||
</span>
|
</span>
|
||||||
|
|
@ -40,7 +40,7 @@ const getParticipantById = (id: string): Participant | null => {
|
||||||
>
|
>
|
||||||
<span>{{ praxisAssignment.pending_evaluations }}</span>
|
<span>{{ praxisAssignment.pending_evaluations }}</span>
|
||||||
</div>
|
</div>
|
||||||
<span>Ergebnisse abgegeben</span>
|
<span>{{ $t("a.Ergebnisse abgegeben") }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -82,7 +82,7 @@ const getParticipantById = (id: string): Participant | null => {
|
||||||
<it-icon-check class="h-5 w-5"></it-icon-check>
|
<it-icon-check class="h-5 w-5"></it-icon-check>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<span>Ergebnisse abgegeben</span>
|
<span>{{ $t("a.Ergebnisse abgegeben") }}</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="item.status == 'EVALUATED'">
|
<template v-if="item.status == 'EVALUATED'">
|
||||||
<div
|
<div
|
||||||
|
|
@ -92,7 +92,7 @@ const getParticipantById = (id: string): Participant | null => {
|
||||||
<it-icon-check class="h-5 w-5"></it-icon-check>
|
<it-icon-check class="h-5 w-5"></it-icon-check>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<span>Bewertung freigeben</span>
|
<span>{{ $t("a.Bewertung freigeben") }}</span>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<!-- Right -->
|
<!-- Right -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue