feat: make "job application for" text translatable

Fixes #92
This commit is contained in:
Paul Tsouchlos
2025-01-20 10:11:31 -05:00
parent 7d9927bc19
commit 461c954df9
3 changed files with 11 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ cover-letter = "Cover Letter"
attached = "Attached" attached = "Attached"
curriculum-vitae = "Curriculum Vitae" curriculum-vitae = "Curriculum Vitae"
sincerely = "Sincerely" sincerely = "Sincerely"
letter-position-pretext = "Job Application for"
[lang.de] [lang.de]
resume = "Lebenslauf" resume = "Lebenslauf"
@@ -16,6 +17,7 @@ cover-letter = "Anschreiben"
attached = "Angehängt" attached = "Angehängt"
curriculum-vitae = "Lebenslauf" curriculum-vitae = "Lebenslauf"
sincerely = "Mit freundlichen Grüßen" sincerely = "Mit freundlichen Grüßen"
letter-position-pretext = "Bewerbung für"
[lang.gr] [lang.gr]
resume = "Βιογραφικό" resume = "Βιογραφικό"
@@ -24,6 +26,7 @@ cover-letter = "Συνοδευτική Επιστολή"
attached = "Συνημμένο" attached = "Συνημμένο"
curriculum-vitae = "Βιογραφικό" curriculum-vitae = "Βιογραφικό"
sincerely = "Με εκτίμηση" sincerely = "Με εκτίμηση"
letter-position-pretext = "Αίτηση εργασίας για"
[lang.pt] [lang.pt]
resume = "Currículo" resume = "Currículo"
@@ -32,6 +35,7 @@ cover-letter = "Carta de Apresentação"
attached = "Em anexo" attached = "Em anexo"
curriculum-vitae = "Currículo" curriculum-vitae = "Currículo"
sincerely = "Atenciosamente" sincerely = "Atenciosamente"
letter-position-pretext = "Candidatura a emprego para"
[lang.sp] [lang.sp]
resume = "Currículum" resume = "Currículum"
@@ -40,6 +44,7 @@ cover-letter = "Carta de Presentación"
attached = "Adjunto" attached = "Adjunto"
curriculum-vitae = "Currículum" curriculum-vitae = "Currículum"
sincerely = "Sinceramente" sincerely = "Sinceramente"
letter-position-pretext = "Solicitud de empleo para"
[lang.fr] [lang.fr]
resume = "Curriculum Vitae" resume = "Curriculum Vitae"
@@ -48,6 +53,7 @@ cover-letter = "Lettre de motivation"
attached = "Ci-joint" attached = "Ci-joint"
curriculum-vitae = "Curriculum Vitae" curriculum-vitae = "Curriculum Vitae"
sincerely = "Sincèrement" sincerely = "Sincèrement"
letter-position-pretext = "Demande d'emploi pour"
[lang.ru] [lang.ru]
resume = "Резюме" resume = "Резюме"
@@ -56,6 +62,7 @@ cover-letter = "Сопроводительное письмо"
attached = "Прилагается" attached = "Прилагается"
curriculum-vitae = "Биографическая справка" curriculum-vitae = "Биографическая справка"
sincerely = "Искренне" sincerely = "Искренне"
letter-position-pretext = "Заявление о приеме на работу"
[lang.zh] [lang.zh]
resume = "简历" resume = "简历"
@@ -64,6 +71,7 @@ cover-letter = "求职信"
attached = "附件" attached = "附件"
curriculum-vitae = "简历" curriculum-vitae = "简历"
sincerely = "真诚的" sincerely = "真诚的"
letter-position-pretext = "職位申請"
[lang.it] [lang.it]
resume = "Curriculum" resume = "Curriculum"
@@ -72,3 +80,4 @@ cover-letter = "Lettera di presentazione"
attached = "Allegato" attached = "Allegato"
curriculum-vitae = "Curriculum Vitae" curriculum-vitae = "Curriculum Vitae"
sincerely = "Cordiali saluti" sincerely = "Cordiali saluti"
letter-position-pretext = "Domanda di lavoro per"

View File

@@ -824,7 +824,7 @@
// TODO: Make this adaptable to content // TODO: Make this adaptable to content
underline(evade: false, stroke: 0.5pt, offset: 0.3em)[ 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)[ pad(top: 1em, bottom: 1em)[
#text(weight: "light", fill: color-gray)[ #text(weight: "light", fill: color-gray)[

View File

@@ -17,6 +17,7 @@
), ),
), ),
profile-picture: image("./profile.png"), profile-picture: image("./profile.png"),
// change this to match the language available in 'lang.toml'
language: "en", language: "en",
font: "Times New Roman", font: "Times New Roman",
// Remove the following line to show the footer // Remove the following line to show the footer