From 52075011b13be7c731361122661a4bef04cf217e Mon Sep 17 00:00:00 2001 From: Laure Jablonski Date: Sat, 22 Mar 2025 15:44:55 +0100 Subject: [PATCH] style: titels in menubalk met hoofdletter --- frontend/src/components/MenuBar.vue | 3 ++- frontend/src/i18n/locale/de.json | 17 ++++++++++++++++- frontend/src/i18n/locale/en.json | 19 ++++++++++++++----- frontend/src/i18n/locale/fr.json | 19 +++++++++++++++++-- frontend/src/i18n/locale/nl.json | 19 ++++++++++++++----- 5 files changed, 63 insertions(+), 14 deletions(-) diff --git a/frontend/src/components/MenuBar.vue b/frontend/src/components/MenuBar.vue index 42b4543d..29f9efb3 100644 --- a/frontend/src/components/MenuBar.vue +++ b/frontend/src/components/MenuBar.vue @@ -21,13 +21,14 @@ const languages = ref([ { name: "English", code: "en" }, { name: "Nederlands", code: "nl" }, + { name: "Français", code: "fr" }, + { name: "Deutsch", code: "de" }, ]); // Logic to change the language of the website to the selected language const changeLanguage = (langCode: string) => { locale.value = langCode; localStorage.setItem("user-lang", langCode); - console.log(langCode); }; const drawer = ref(false); diff --git a/frontend/src/i18n/locale/de.json b/frontend/src/i18n/locale/de.json index a1a699e5..4a6ebc9a 100644 --- a/frontend/src/i18n/locale/de.json +++ b/frontend/src/i18n/locale/de.json @@ -1,3 +1,18 @@ { - "welcome": "Willkommen" + "welcome": "Willkommen", + "student": "schüler", + "teacher": "lehrer", + "assignments": "Aufgaben", + "classes": "Klasses", + "discussions": "Diskussionen", + "login": "einloggen", + "logout": "ausloggen", + "homeTitle": "Unsere Stärken", + "homeIntroduction1": "Wir entwickeln innovative Workshops und Bildungsressourcen, die wir in Zusammenarbeit mit Lehrern und Freiwilligen Schülern auf der ganzen Welt zur Verfügung stellen. Unsere Train-the-Trainer-Sitzungen ermöglichen es ihnen, unsere praktischen Workshops an die Schüler weiterzugeben.", + "homeIntroduction2": "Wir fügen allen unseren Projekten ständig neue Projekte und Methoden hinzu. Für diese Projekte suchen wir immer nach einem gesellschaftlich relevanten Thema. Darüber hinaus stellen wir sicher, dass unser didaktisches Material auf wissenschaftlicher Forschung basiert, und achten stets auf die Inklusion.", + "innovative": "Innovativ", + "researchBased": "Forschungsbasiert", + "inclusive": "Inclusiv", + "sociallyRelevant": "Gesellschaftlich relevant", + "translate": "übersetzen" } diff --git a/frontend/src/i18n/locale/en.json b/frontend/src/i18n/locale/en.json index c75bfc5d..2a0f246f 100644 --- a/frontend/src/i18n/locale/en.json +++ b/frontend/src/i18n/locale/en.json @@ -2,8 +2,17 @@ "welcome": "Welcome", "student": "student", "teacher": "teacher", - "assignments": "assignments", - "classes": "classes", - "discussions": "discussions", - "logout": "log out" -} + "assignments": "Assignments", + "classes": "Classes", + "discussions": "Discussions", + "logout": "log out", + "homeTitle": "Our strengths", + "homeIntroduction1": "We develop innovative workshops and educational resources, and we provide them to students around the globe in collaboration with teachers and volunteers. Our train-the-trainer sessions enable them to bring our hands-on workshops to the students.", + "homeIntroduction2": "We continuously add new projects and methodologies to all our projects. For these projects, we always look for a socially relevant theme. Additionally, we ensure that our didactic material is based on scientific research and always keep an eye on inclusivity.", + "innovative": "Innovative", + "researchBased": "Research-based", + "inclusive": "Inclusive", + "sociallyRelevant": "Socially relevant", + "login": "login", + "translate": "translate" +} \ No newline at end of file diff --git a/frontend/src/i18n/locale/fr.json b/frontend/src/i18n/locale/fr.json index 86fe964d..f0e0cd56 100644 --- a/frontend/src/i18n/locale/fr.json +++ b/frontend/src/i18n/locale/fr.json @@ -1,3 +1,18 @@ { - "welcome": "Bienvenue" -} + "welcome": "Bienvenue", + "student": "élève", + "teacher": "enseignant", + "assignments": "Travails", + "classes": "Classes", + "discussions": "Discussions", + "login": "se connecter", + "logout": "se déconnecter", + "homeTitle": "Nos atouts", + "homeIntroduction1": "Nous développons des ateliers innovants et des ressources éducatives que nous mettons à la disposition des élèves du monde entier en collaboration avec des enseignants et des bénévoles. Nos sessions de formation des formateurs leur permettent d'offrir nos ateliers pratiques aux élèves.", + "homeIntroduction2": "Nous ajoutons continuellement de nouveaux projets et de nouvelles méthodologies à tous nos projets. Pour ces projets, nous recherchons toujours un thème socialement pertinent. En outre, nous veillons à ce que notre matériel didactique soit basé sur la recherche scientifique et nous gardons toujours un œil sur l'inclusivité.", + "innovative": "Innovatif", + "researchBased": "Fondé sur la recherche", + "inclusive": "Inclusif", + "sociallyRelevant": "Socialement pertinent", + "translate": "traduire" +} \ No newline at end of file diff --git a/frontend/src/i18n/locale/nl.json b/frontend/src/i18n/locale/nl.json index 97ec9b49..c2932819 100644 --- a/frontend/src/i18n/locale/nl.json +++ b/frontend/src/i18n/locale/nl.json @@ -2,8 +2,17 @@ "welcome": "Welkom", "student": "leerling", "teacher": "leerkracht", - "assignments": "opdrachten", - "classes": "klassen", - "discussions": "discussies", - "logout": "log uit" -} + "assignments": "Opdrachten", + "classes": "Klassen", + "discussions": "Discussies", + "logout": "log uit", + "homeTitle": "Onze sterke punten", + "homeIntroduction1": "We ontwikkelen innovatieve workshops en leermiddelen en bieden deze aan studenten over de hele wereld in samenwerking met leerkrachten en vrijwilligers. Onze train-de-trainer sessies stellen hen in staat om onze hands-on workshops naar de leerlingen te brengen.", + "homeIntroduction2": "We voegen voortdurend nieuwe projecten en methodologieën toe aan al onze projecten. Voor deze projecten zoeken we altijd een maatschappelijk relevant thema. Daarnaast zorgen we ervoor dat ons didactisch materiaal gebaseerd is op wetenschappelijk onderzoek en houden we inclusiviteit altijd in het oog.", + "innovative": "Innovatief", + "researchBased": "Onderzoeksgedreven", + "inclusive": "Inclusief", + "sociallyRelevant": "Maatschappelijk relevant", + "login": "inloggen", + "translate": "vertalen" +} \ No newline at end of file