el strings

This commit is contained in:
anarsec 2024-11-25 12:30:23 -05:00
parent b186d25403
commit 1c7c1c6649
No known key found for this signature in database
12 changed files with 68 additions and 49 deletions

View file

@ -143,7 +143,7 @@ class Converter:
if self.post_lang == 'fr':
markdown_content += f"\n\n# Annexe: Recommendations\n\n{recommendations}\n\n"
if self.post_lang == 'el':
markdown_content += f"\n\n# Appendix: Recommendations\n\n{recommendations}\n\n"
markdown_content += f"\n\n# Παράρτημα: Προτάσεις\n\n{recommendations}\n\n"
if self.post_lang == 'pt':
markdown_content += f"\n\n# Appendix: Recommendations\n\n{recommendations}\n\n"
if self.post_lang == 'ru':
@ -168,7 +168,7 @@ class Converter:
if self.post_lang == 'fr':
markdown_content += "\n\n# Annexe: Glossaire\n\n"
if self.post_lang == 'el':
markdown_content += "\n\n# Appendix: Glossary\n\n"
markdown_content += "\n\n# Παράρτημα: Γλωσσάρι\n\n"
if self.post_lang == 'pt':
markdown_content += "\n\n# Appendix: Glossary\n\n"
if self.post_lang == 'ru':
@ -205,6 +205,11 @@ class Converter:
category = 'Défensif'
if category == 'Offensive':
category = 'Offensif'
if self.post_lang == 'el':
if category == 'Defensive':
category = 'Άμυνα'
if category == 'Offensive':
category = 'Επίθεση'
# Build the full typst file
full_typst_path = pathlib.Path(workingDirectory) / f"{self.post_id}-full.typ"