Merged in feature/update-translations (pull request #185)

Add missing translations
This commit is contained in:
Christian Cueni 2023-08-16 13:02:46 +00:00
commit eeb205d452
8 changed files with 71 additions and 29 deletions

View File

@ -13,7 +13,6 @@
"Status anschauen": "Status anschauen",
"TODO: Nächste Termine": "TODO: Nächste Termine",
"Trainerunterlagen": "Trainerunterlagen",
"Vorbereitungsauftrag": "Vorbereitungsauftrag",
"Wissens - und Verständnisfragen": "Wissens - und Verständnisfragen",
"Zur Zeit sind keine Termine vorhanden": "Zur Zeit sind keine Termine vorhanden",
"assignment": {
@ -69,6 +68,7 @@
"learnMore": "Erfahre mehr dazu"
},
"cockpit": {
"all": "Alle",
"examsDone": "Abgelegte Prüfungen von Teilnehmer.",
"feedbacksDone": "Abgeschickte Feedbacks von Teilnehmer.",
"notifyTask": "Benachrichtigen",
@ -197,6 +197,20 @@
"learningContent": {
"markAsDone": "Als erledigt markieren"
},
"learningContentTypes": {
"attendanceCourse": "Präsenzkurs",
"casework": "Geleitete Fallarbeit",
"documents": "Dokumente",
"feedback": "Feedback",
"learningModule": "Lernmodul",
"placeholder": "In Umsetzung",
"prepAssignment": "Vorbereitungsauftrag",
"reflection": "Reflexion",
"task": "Aufgabe",
"test": "Test",
"text": "Text",
"video": "Video"
},
"learningPathPage": {
"currentCircle": "Aktueller Circle",
"listView": "Listenansicht",
@ -210,7 +224,7 @@
},
"login": {
"demoLogin": "Demo Login",
"guidelineFile": "Registrierung _myVBV.pptx",
"guidelineFile": "Registrierung_myVBV.pdf",
"guidelineText": "Erfahre wie du dich als Lernende/r registrieren kannst",
"login": "Login",
"ssoLogin": "SSO Login/Registration",
@ -232,6 +246,7 @@
"description": "Finde eine vollständige Liste der Bücher und anderen Medien, auf die im Kurs verwiesen wird.",
"titel": "Lernmedien"
},
"overview": "Übersicht",
"title": "Mediathek"
},
"messages": {

View File

@ -13,7 +13,6 @@
"Status anschauen": "Consulter le statut",
"TODO: Nächste Termine": "TODO: prochaines dates",
"Trainerunterlagen": "Documents du formateur / de la formatrice",
"Vorbereitungsauftrag": "Mandat de préparation",
"Wissens - und Verständnisfragen": "Questions de connaissance et de compréhension ",
"Zur Zeit sind keine Termine vorhanden": "Aucune réunion nest prévue pour le moment",
"assignment": {
@ -69,6 +68,7 @@
"learnMore": "Pour en savoir plus"
},
"cockpit": {
"all": "Tous",
"examsDone": "Examens remis par les participants.",
"feedbacksDone": "Retours envoyés par les participants.",
"notifyTask": "Notifier",
@ -85,7 +85,7 @@
"competences": "Compétences",
"lastImprovements": "Dernières compétences améliorées",
"notAssessed": "Compétence non évaluée",
"title": "Menu des compétences"
"title": "NaviCompétence"
},
"constants": {
"no": "Non",
@ -171,7 +171,7 @@
"feedback_one": "Feed-back",
"feedback_other": "Feed-backs",
"introduction": "Introduction",
"learningPath": "Programme de formation",
"learningPath": "Parcours de formation",
"learningSequence": "Séquence",
"learningUnit": "Leçon",
"next": "Continuer",
@ -203,6 +203,12 @@
"learningContent": {
"markAsDone": "Marquer comme effectué(e)"
},
"learningContentTypes": {
"attendanceCourse": "Cours de présence",
"feedback": "Feedback",
"prepAssignment": "Mandat de préparation",
"reflection": "Réflexion"
},
"learningPathPage": {
"currentCircle": "Cercle en cours",
"listView": "Affichage sous forme de liste",
@ -216,7 +222,7 @@
},
"login": {
"demoLogin": "Connexion Demo",
"guidelineFile": "Régistration _myAFA.pptx",
"guidelineFile": "Inscription_myAFA.pdf",
"guidelineText": "Découvre comment t'inscrire en tant qu'apprenant-e",
"login": "Login",
"ssoLogin": "Connexion SSO / Inscription",
@ -239,6 +245,7 @@
"description": "Trouve une liste complète des livres, manuels et autres outils qui ont été mentionnés pendant le cours.",
"titel": "Outils didactiques "
},
"overview": "Aperçu",
"title": "Médiathèque"
},
"messages": {

View File

@ -13,7 +13,6 @@
"Status anschauen": "Vedere lo stato",
"TODO: Nächste Termine": "TODO: prossime date",
"Trainerunterlagen": "Documenti del/della trainer",
"Vorbereitungsauftrag": "Incarico di preparazione",
"Wissens - und Verständnisfragen": "Domande di conoscenza e di comprensione",
"Zur Zeit sind keine Termine vorhanden": "Al momento non ci sono scadenze",
"assignment": {
@ -69,6 +68,7 @@
"learnMore": "Ottieni maggiori informazioni"
},
"cockpit": {
"all": "Tutti",
"examsDone": "Esami sostenuti dal/dalla partecipante.",
"feedbacksDone": "Feedback inviati dal/dalla partecipante.",
"notifyTask": "Inviare notifica",
@ -85,7 +85,7 @@
"competences": "Competenze",
"lastImprovements": "Ultime competenze migliorate",
"notAssessed": "Non valutato",
"title": "Navigatore Competenze"
"title": "NaviCompetenze"
},
"constants": {
"no": "No",
@ -171,7 +171,7 @@
"feedback_one": "Feedback",
"feedback_other": "Feedback",
"introduction": "Introduzione",
"learningPath": "Percorso formativo",
"learningPath": "Percorso di formazione",
"learningSequence": "Sequenza di apprendimento",
"learningUnit": "Unità di apprendimento",
"next": "Avanti",
@ -203,6 +203,12 @@
"learningContent": {
"markAsDone": "Contrassegnare come completato"
},
"learningContentTypes": {
"attendanceCourse": "Corso di presenza",
"feedback": "Feedback",
"prepAssignment": "Incarico di preparazione",
"reflection": "Riflessione"
},
"learningPathPage": {
"currentCircle": "Circle attuale",
"listView": "Vista elenco",
@ -216,7 +222,7 @@
},
"login": {
"demoLogin": "Login Demo",
"guidelineFile": "Registrazione _myAFA.pptx",
"guidelineFile": "Registrazione_myAFA.pdf",
"guidelineText": "Scopri come iscriverti come apprendista professionale",
"login": "Login",
"ssoLogin": "Login/Registrazione SSO",
@ -239,6 +245,7 @@
"description": "Trova un elenco completo di libri e altri materiali a cui si rimanda nel corso.",
"titel": "Materiali didattici"
},
"overview": "Panoramica",
"title": "Mediateca"
},
"messages": {

View File

@ -41,8 +41,8 @@ const step = useRouteQuery("step");
</li>
</ul>
<h3 class="mb-4 mt-8">{{ $t("assignment.dueDateTitle") }}</h3>
<p v-if="props.dueDate" class="text-large">
<h3 class="mb-4 mt-8">{{ $t("assignment.dueDateTitle") }}asdf</h3>
<p v-if="props.dueDate?.toString() === 'Invalid Date'" class="text-large">
{{ $t("assignment.dueDateIntroduction") }}
<DateEmbedding :single-date="dueDate"></DateEmbedding>
</p>

View File

@ -207,8 +207,8 @@ const assignmentUser = computed(() => {
:show-previous-button="showPreviousButton"
:base-url="props.learningContent.frontend_url"
step-query-param="step"
start-badge-text="Einleitung"
:end-badge-text="$t('Abgabe')"
:start-badge-text="$t('general.introduction')"
:end-badge-text="$t('general.submission')"
close-button-variant="close"
@previous="handleBack()"
@next="handleContinue()"

View File

@ -31,7 +31,7 @@ onMounted(async () => {
>
<li class="inline-block lg:ml-12">
<router-link :to="mediaLibraryStore.mediaLibraryPage.frontend_url">
Übersicht
{{ $t("mediaLibrary.overview") }}
</router-link>
</li>
<li

View File

@ -8,6 +8,7 @@ import type {
CompetenceProfilePage,
PerformanceCriteria,
} from "@/types";
import i18next from "i18next";
import cloneDeep from "lodash/cloneDeep";
import groupBy from "lodash/groupBy";
import orderBy from "lodash/orderBy";
@ -25,7 +26,7 @@ export const useCompetenceStore = defineStore({
state: () => {
return {
competenceProfilePages: new Map<string, CompetenceProfilePage>(),
selectedCircle: { id: "all", name: "Circle: Alle" },
selectedCircle: { id: "all", name: `Circle: ${i18next.t("Alle")}` },
availableCircles: [],
} as CompetenceStoreState;
},

View File

@ -15,13 +15,13 @@ export function learningContentTypeData(
case "learnpath.LearningContentAssignment": {
let title = "unknown";
if (lc.assignment_type === "CASEWORK") {
title = t("Geleitete Fallarbeit");
title = t("learningContentTypes.casework");
} else if (lc.assignment_type === "PREP_ASSIGNMENT") {
title = t("Vorbereitungsaufgabe");
title = t("learningContentTypes.prepAssignment");
} else if (lc.assignment_type === "REFLECTION") {
title = t("Reflexion");
title = t("learningContentTypes.reflection");
} else if (lc.assignment_type === "CONDITION_ACCEPTANCE") {
title = t("Auftrag");
title = t("learningContentTypes.task");
}
return {
title: title,
@ -29,23 +29,35 @@ export function learningContentTypeData(
};
}
case "learnpath.LearningContentAttendanceCourse":
return { title: "Präsenzkurs", icon: "it-icon-lc-training" };
return {
title: t("learningContentTypes.attendanceCourse"),
icon: "it-icon-lc-training",
};
case "learnpath.LearningContentDocumentList":
return { title: "Dokumente", icon: "it-icon-lc-document" };
return {
title: t("learningContentTypes.documents"),
icon: "it-icon-lc-document",
};
case "learnpath.LearningContentLearningModule":
return { title: "Lernmodul", icon: "it-icon-lc-learning-module" };
return {
title: t("learningContentTypes.learningModule"),
icon: "it-icon-lc-learning-module",
};
case "learnpath.LearningContentMediaLibrary":
return { title: "Mediathek", icon: "it-icon-lc-media-library" };
return { title: t("mediaLibrary.title"), icon: "it-icon-lc-media-library" };
case "learnpath.LearningContentVideo":
return { title: "Video", icon: "it-icon-lc-video" };
return { title: t("learningContentTypes.video"), icon: "it-icon-lc-video" };
case "learnpath.LearningContentTest":
return { title: "Test", icon: "it-icon-lc-test" };
return { title: t("learningContentTypes.test"), icon: "it-icon-lc-test" };
case "learnpath.LearningContentRichText":
return { title: "Text", icon: "it-icon-lc-resource" };
return { title: t("learningContentTypes.text"), icon: "it-icon-lc-resource" };
case "learnpath.LearningContentFeedback":
return { title: "Feedback", icon: "it-icon-lc-feedback" };
return { title: t("learningContentTypes.feedback"), icon: "it-icon-lc-feedback" };
case "learnpath.LearningContentPlaceholder":
return { title: "In Umsetzung", icon: "it-icon-lc-document" };
return {
title: t("learningContentTypes.placeholder"),
icon: "it-icon-lc-document",
};
}
// eslint-disable-next-line @typescript-eslint/ban-ts-comment