Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update categories translations #237

Merged
merged 2 commits into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
pyphilia marked this conversation as resolved.
Show resolved Hide resolved
"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"
pyphilia marked this conversation as resolved.
Show resolved Hide resolved
}
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",
pyphilia marked this conversation as resolved.
Show resolved Hide resolved

"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"
pyphilia marked this conversation as resolved.
Show resolved Hide resolved
}