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", "Status anschauen": "Status anschauen",
"TODO: Nächste Termine": "TODO: Nächste Termine", "TODO: Nächste Termine": "TODO: Nächste Termine",
"Trainerunterlagen": "Trainerunterlagen", "Trainerunterlagen": "Trainerunterlagen",
"Vorbereitungsauftrag": "Vorbereitungsauftrag",
"Wissens - und Verständnisfragen": "Wissens - und Verständnisfragen", "Wissens - und Verständnisfragen": "Wissens - und Verständnisfragen",
"Zur Zeit sind keine Termine vorhanden": "Zur Zeit sind keine Termine vorhanden", "Zur Zeit sind keine Termine vorhanden": "Zur Zeit sind keine Termine vorhanden",
"assignment": { "assignment": {
@ -69,6 +68,7 @@
"learnMore": "Erfahre mehr dazu" "learnMore": "Erfahre mehr dazu"
}, },
"cockpit": { "cockpit": {
"all": "Alle",
"examsDone": "Abgelegte Prüfungen von Teilnehmer.", "examsDone": "Abgelegte Prüfungen von Teilnehmer.",
"feedbacksDone": "Abgeschickte Feedbacks von Teilnehmer.", "feedbacksDone": "Abgeschickte Feedbacks von Teilnehmer.",
"notifyTask": "Benachrichtigen", "notifyTask": "Benachrichtigen",
@ -197,6 +197,20 @@
"learningContent": { "learningContent": {
"markAsDone": "Als erledigt markieren" "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": { "learningPathPage": {
"currentCircle": "Aktueller Circle", "currentCircle": "Aktueller Circle",
"listView": "Listenansicht", "listView": "Listenansicht",
@ -210,7 +224,7 @@
}, },
"login": { "login": {
"demoLogin": "Demo Login", "demoLogin": "Demo Login",
"guidelineFile": "Registrierung _myVBV.pptx", "guidelineFile": "Registrierung_myVBV.pdf",
"guidelineText": "Erfahre wie du dich als Lernende/r registrieren kannst", "guidelineText": "Erfahre wie du dich als Lernende/r registrieren kannst",
"login": "Login", "login": "Login",
"ssoLogin": "SSO Login/Registration", "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.", "description": "Finde eine vollständige Liste der Bücher und anderen Medien, auf die im Kurs verwiesen wird.",
"titel": "Lernmedien" "titel": "Lernmedien"
}, },
"overview": "Übersicht",
"title": "Mediathek" "title": "Mediathek"
}, },
"messages": { "messages": {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -15,13 +15,13 @@ export function learningContentTypeData(
case "learnpath.LearningContentAssignment": { case "learnpath.LearningContentAssignment": {
let title = "unknown"; let title = "unknown";
if (lc.assignment_type === "CASEWORK") { if (lc.assignment_type === "CASEWORK") {
title = t("Geleitete Fallarbeit"); title = t("learningContentTypes.casework");
} else if (lc.assignment_type === "PREP_ASSIGNMENT") { } else if (lc.assignment_type === "PREP_ASSIGNMENT") {
title = t("Vorbereitungsaufgabe"); title = t("learningContentTypes.prepAssignment");
} else if (lc.assignment_type === "REFLECTION") { } else if (lc.assignment_type === "REFLECTION") {
title = t("Reflexion"); title = t("learningContentTypes.reflection");
} else if (lc.assignment_type === "CONDITION_ACCEPTANCE") { } else if (lc.assignment_type === "CONDITION_ACCEPTANCE") {
title = t("Auftrag"); title = t("learningContentTypes.task");
} }
return { return {
title: title, title: title,
@ -29,23 +29,35 @@ export function learningContentTypeData(
}; };
} }
case "learnpath.LearningContentAttendanceCourse": 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": case "learnpath.LearningContentDocumentList":
return { title: "Dokumente", icon: "it-icon-lc-document" }; return {
title: t("learningContentTypes.documents"),
icon: "it-icon-lc-document",
};
case "learnpath.LearningContentLearningModule": 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": 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": case "learnpath.LearningContentVideo":
return { title: "Video", icon: "it-icon-lc-video" }; return { title: t("learningContentTypes.video"), icon: "it-icon-lc-video" };
case "learnpath.LearningContentTest": case "learnpath.LearningContentTest":
return { title: "Test", icon: "it-icon-lc-test" }; return { title: t("learningContentTypes.test"), icon: "it-icon-lc-test" };
case "learnpath.LearningContentRichText": case "learnpath.LearningContentRichText":
return { title: "Text", icon: "it-icon-lc-resource" }; return { title: t("learningContentTypes.text"), icon: "it-icon-lc-resource" };
case "learnpath.LearningContentFeedback": case "learnpath.LearningContentFeedback":
return { title: "Feedback", icon: "it-icon-lc-feedback" }; return { title: t("learningContentTypes.feedback"), icon: "it-icon-lc-feedback" };
case "learnpath.LearningContentPlaceholder": 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 // eslint-disable-next-line @typescript-eslint/ban-ts-comment