Skip to content

feat: make "job application for" text translatable #96

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

Merged
merged 1 commit into from
Jan 20, 2025
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
9 changes: 9 additions & 0 deletions lang.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ cover-letter = "Cover Letter"
attached = "Attached"
curriculum-vitae = "Curriculum Vitae"
sincerely = "Sincerely"
letter-position-pretext = "Job Application for"

[lang.de]
resume = "Lebenslauf"
Expand All @@ -16,6 +17,7 @@ cover-letter = "Anschreiben"
attached = "Angehängt"
curriculum-vitae = "Lebenslauf"
sincerely = "Mit freundlichen Grüßen"
letter-position-pretext = "Bewerbung für"

[lang.gr]
resume = "Βιογραφικό"
Expand All @@ -24,6 +26,7 @@ cover-letter = "Συνοδευτική Επιστολή"
attached = "Συνημμένο"
curriculum-vitae = "Βιογραφικό"
sincerely = "Με εκτίμηση"
letter-position-pretext = "Αίτηση εργασίας για"

[lang.pt]
resume = "Currículo"
Expand All @@ -32,6 +35,7 @@ cover-letter = "Carta de Apresentação"
attached = "Em anexo"
curriculum-vitae = "Currículo"
sincerely = "Atenciosamente"
letter-position-pretext = "Candidatura a emprego para"

[lang.sp]
resume = "Currículum"
Expand All @@ -40,6 +44,7 @@ cover-letter = "Carta de Presentación"
attached = "Adjunto"
curriculum-vitae = "Currículum"
sincerely = "Sinceramente"
letter-position-pretext = "Solicitud de empleo para"

[lang.fr]
resume = "Curriculum Vitae"
Expand All @@ -48,6 +53,7 @@ cover-letter = "Lettre de motivation"
attached = "Ci-joint"
curriculum-vitae = "Curriculum Vitae"
sincerely = "Sincèrement"
letter-position-pretext = "Demande d'emploi pour"

[lang.ru]
resume = "Резюме"
Expand All @@ -56,6 +62,7 @@ cover-letter = "Сопроводительное письмо"
attached = "Прилагается"
curriculum-vitae = "Биографическая справка"
sincerely = "Искренне"
letter-position-pretext = "Заявление о приеме на работу"

[lang.zh]
resume = "简历"
Expand All @@ -64,6 +71,7 @@ cover-letter = "求职信"
attached = "附件"
curriculum-vitae = "简历"
sincerely = "真诚的"
letter-position-pretext = "職位申請"

[lang.it]
resume = "Curriculum"
Expand All @@ -72,3 +80,4 @@ cover-letter = "Lettera di presentazione"
attached = "Allegato"
curriculum-vitae = "Curriculum Vitae"
sincerely = "Cordiali saluti"
letter-position-pretext = "Domanda di lavoro per"
2 changes: 1 addition & 1 deletion lib.typ
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@

// TODO: Make this adaptable to content
underline(evade: false, stroke: 0.5pt, offset: 0.3em)[
#text(weight: "bold", size: 12pt)[Job Application for #job-position]
#text(weight: "bold", size: 12pt)[#linguify("letter-position-pretext", from: lang_data) #job-position]
]
pad(top: 1em, bottom: 1em)[
#text(weight: "light", fill: color-gray)[
Expand Down
1 change: 1 addition & 0 deletions template/coverletter.typ
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
),
),
profile-picture: image("./profile.png"),
// change this to match the language available in 'lang.toml'
language: "en",
font: "Times New Roman",
// Remove the following line to show the footer
Expand Down
Loading