Skip to content

Commit

Permalink
fix: update categories translations (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyphilia authored Aug 23, 2023
1 parent 7b0e7b5 commit 9c271d5
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 70 deletions.
1 change: 1 addition & 0 deletions src/constants/categories.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @deprecated you should not use these keys, but the enum/data you receive from the db */
export const CATEGORIES = {
// category types
LANGUAGE: 'LANGUAGE',
Expand Down
31 changes: 9 additions & 22 deletions src/langs/ar/categories.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,17 @@
{
"DISCIPLINE": "الفرع",
"EDUCATION_LEVEL": "مستوى التعليم",
"LANGUAGE": "اللغة",
"MATH": "رياضيات",
"LITERATURE": "الأدب",
"SOCIAL_SCIENCE": "علوم اجتماعية",
"NATURAL_SCIENCE": "علم الطبيعة",
"ARTS": "الفنون",
"KINDERGARTEN": "روضة الأطفال",
"PRIMARY_SCHOOL": "المدرسة الإبتدائية",
"LOWER_SECONDARY_SCHOOL": "المدرسة الإعدادية",
"UPPER_SECONDARY_SCHOOL": "المدرسه الثانويه العليا",
"VOCATIONAL_TRAINING": "التّدريب المهني",
"HIGHER_EDUCATION": "التعليم العالي",
"discipline": "الفرع",
"level": "مستوى التعليم",
"language": "اللغة",
"math": "رياضيات",

"mathematics": "رياضيات",
"literature": "الأدب",
"social science": "علوم اجتماعية",
"natural science": "العلوم الطبيعية",
"social-science": "علوم اجتماعية",
"natural-science": "العلوم الطبيعية",
"arts": "الفنون",
"kindergarten": "روضة الأطفال",
"primary school": "المدرسة الإبتدائية",
"lower secondary school": "المدرسة الإعدادية",
"upper secondary school": "المدرسه الثانويه العليا",
"vocational training": "التّدريب المهني",
"higher education": "التعليم العالي"
"primary-school": "المدرسة الإبتدائية",
"lower-secondary-school": "المدرسة الإعدادية",
"upper-secondary-school": "المدرسه الثانويه العليا",
"vocation-training": "التّدريب المهني",
"higher-education": "التعليم العالي"
}
29 changes: 14 additions & 15 deletions src/langs/de/categories.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,20 @@
"level": "Bildungsniveau",
"language": "Sprache",

"Math": "Mathematik",
"Literature": "Literatur",
"Social Science": "Sozialwissenschaft",
"Natural Science": "Naturwissenschaft",
"Arts": "Kunst",
"Language": "Sprache",
"mathematics": "Mathematik",
"literature": "Literatur",
"social-science": "Sozialwissenschaft",
"natural-science": "Naturwissenschaft",
"arts": "Kunst",

"Kindergarten": "Kindergarten",
"Primary School": "Grundschule",
"Lower Secondary School": "Mittelschule",
"Upper Secondary School": "Sekundaroberstufe",
"Vocational Training": "Berufsausbildung",
"Higher Education": "Hochschulbildung",
"kindergarten": "Kindergarten",
"primary-school": "Grundschule",
"lower-secondary-school": "Mittelschule",
"upper-secondary-school": "Sekundaroberstufe",
"vocation-training": "Berufsausbildung",
"higher-education": "Hochschulbildung",

"English": "Englisch",
"French": "Französisch",
"German": "Deutsch"
"english": "Englisch",
"french": "Französisch",
"german": "Deutsch"
}
38 changes: 23 additions & 15 deletions src/langs/en/categories.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,30 @@
"discipline": "Discipline",
"level": "Education Level",
"language": "Language",
"resource-type": "Ressource Type",

"Math": "Math",
"Literature": "Literature",
"Social Science": "Social Science",
"Natural Science": "Natural Science",
"Arts": "Arts",
"Language": "Language",
"mathematics": "Math",
"literature": "Literature",
"social-science": "Social Science",
"natural-science": "Natural Science",
"arts": "Arts",
"informatics": "informatics",
"physical-education": "Physical Education",

"Kindergarten": "Kindergarten",
"Primary School": "Primary School",
"Lower Secondary School": "Lower Secondary School",
"Upper Secondary School": "Upper Secondary School",
"Vocational Training": "Vocational Training",
"Higher Education": "Higher Education",
"kindergarten": "Kindergarten",
"primary-school": "Primary School",
"lower-secondary-school": "Lower Secondary School",
"upper-secondaryschool": "Upper Secondary School",
"vocation-training": "Vocational Training",
"higher-education": "Higher Education",

"English": "English",
"French": "French",
"German": "German"
"english": "English",
"french": "French",
"german": "German",
"arabic": "Arabic",
"italian": "Italian",

"app": "Application",
"template": "Template",
"collection": "Collection"
}
44 changes: 26 additions & 18 deletions src/langs/fr/categories.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
{
"discipline": "Discipline",
"level": "Niveau éducatif",
"language": "Langue",
"discipline": "Disciplines",
"level": "Niveaux éducatifs",
"language": "Langues",
"resource-type": "Types de ressource",

"Math": "Mathématiques",
"Literature": "Littérature",
"Social Science": "Sciences sociales",
"Natural Science": "Sciences naturelles",
"Arts": "Arts",
"Language": "Langues",
"mathematics": "Mathématiques",
"literature": "Littérature",
"social-science": "Sciences sociales",
"natural-science": "Sciences naturelles",
"arts": "Arts",
"informatics": "Informatique",
"physical-education": "Education Physique",

"Kindergarden": "Jardin d'enfants",
"Primary School": "École primaire",
"Lower Secondary School": "École secondaire inférieure",
"Upper Secondary School": "École secondaire supérieure",
"Vocational Training": "Enseignement professionel",
"Higher Education": "Éducation supérieure",
"kindergarten": "Jardin d'enfants",
"primary-school": "École primaire",
"lower-secondary-school": "École secondaire inférieure",
"upper-secondary-school": "École secondaire supérieure",
"vocation-training": "Enseignement professionel",
"higher-education": "Éducation supérieure",

"English": "Anglais",
"French": "Français",
"German": "Allemand"
"english": "Anglais",
"french": "Français",
"german": "Allemand",
"arabic": "Arabe",
"italian": "Italien",

"app": "Application",
"template": "Template",
"collection": "Collection"
}

0 comments on commit 9c271d5

Please sign in to comment.