From 8b27dbdaf227482759009e7fa0727d71b8af26d4 Mon Sep 17 00:00:00 2001 From: Paul T Date: Tue, 14 May 2024 11:52:40 -0400 Subject: [PATCH] fix: add sincerely to lang.toml Added "Sincerely" in the coverletter to the list of translated words. Fixes #27 --- lang.toml | 5 +++++ lib.typ | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lang.toml b/lang.toml index 7be66cd..96bd993 100644 --- a/lang.toml +++ b/lang.toml @@ -7,6 +7,7 @@ dear = "Dear" cover-letter = "Cover Letter" attached = "Attached" curriculum-vitae = "Curriculum Vitae" +sincerely = "Sincerely" [lang.de] resume = "Lebenslauf" @@ -14,6 +15,7 @@ dear = "Sehr geehrte" cover-letter = "Anschreiben" attached = "Angehängt" curriculum-vitae = "Lebenslauf" +sincerely = "Aufrichtig" [lang.gr] resume = "Βιογραφικό" @@ -21,6 +23,7 @@ dear = "Αγαπητέ" cover-letter = "Συνοδευτική Επιστολή" attached = "Συνημμένο" curriculum-vitae = "Βιογραφικό" +sincerely = "Με εκτίμηση" [lang.pt] resume = "Currículo" @@ -28,6 +31,7 @@ dear = "Caro(a)" cover-letter = "Carta de Apresentação" attached = "Em anexo" curriculum-vitae = "Currículo" +sincerely = "Atenciosamente" [lang.sp] resume = "Currículum" @@ -35,3 +39,4 @@ dear = "Estimado" cover-letter = "Carta de Presentación" attached = "Adjunto" curriculum-vitae = "Currículum" +sincerely = "Sinceramente" diff --git a/lib.typ b/lib.typ index 104dcf8..38feeff 100644 --- a/lib.typ +++ b/lib.typ @@ -601,7 +601,7 @@ let letter-conclusion = { align(bottom)[ #pad(bottom: 2em)[ - #text(weight: "light")[Sincerely,] \ + #text(weight: "light")[#linguify("sincerely", from: lang_data)#sym.comma] \ #text(weight: "bold")[#author.firstname #author.lastname] \ \ #text(weight: "light", style: "italic")[ #linguify( "attached",