Skip to content

Commit

Permalink
Add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpovel committed Jul 10, 2022
1 parent e2b5c9a commit 4392783
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions ancv/visualization/translations.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
from pydantic import BaseModel


class Translation(BaseModel):
score: str
awarded_by: str
issued_by: str
roles: str
skills: str
work: str
volunteer: str
education: str
awards: str
certificates: str
publications: str
languages: str
references: str
interests: str
projects: str


TRANSLATIONS = {
"en": Translation(
score="Score",
awarded_by="awarded by",
issued_by="issued by",
roles="Roles",
skills="Skills",
work="Experience",
volunteer="Volunteer",
education="Education",
awards="Awards",
certificates="Certificates",
publications="Publications",
languages="Languages",
references="References",
interests="Interests",
projects="Projects",
),
"de": Translation(
score="Note",
awarded_by="verliehen von",
issued_by="ausgestellt von",
roles="Rollen",
skills="Fähigkeiten",
work="Erfahrung",
volunteer="Ehrenamtliche Arbeit",
education="Bildung",
awards="Auszeichnungen",
certificates="Zertifikate",
publications="Publikationen",
languages="Sprachen",
references="Referenzen",
interests="Interessen",
projects="Projekte",
),
}

0 comments on commit 4392783

Please sign in to comment.