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

@ -77,29 +77,29 @@ title = "AnarSec"
[languages.el.translations] [languages.el.translations]
language_name = "el" language_name = "el"
language_selection = "Language" language_selection = "Γλώσσα"
search = "Search" search = "Αναζήτηση"
published = "Published on" published = "Δημοσιεύθηκε στις"
edited = "Last edited on" edited = "Τελευταία τροποποίηση στις"
letter = "Letter booklet" letter = "Letter booklet"
a4 = "A4 booklet" a4 = "A4 booklet"
read = "Read More" read = "Διάβασε περισσότερα"
contents = "Contents" contents = "Περιεχόμενα"
categories = "Categories" categories = "Κατηγορίες"
defensive = "Defensive" defensive = "Άμυνα"
offensive = "Offensive" offensive = "Επίθεση"
tags = "Tags" tags = "Ετικέτες"
beginner = "beginner" beginner = "Αρχάριο επίπεδο γνώσης"
e2ee = "e2ee" e2ee = "Κρυπτογράφηση"
intermediate = "intermediate" intermediate = "Ενδιάμεσο επίπεδο γνώσης"
intro = "intro" intro = "Εισαγωγή"
linux = "linux" linux = "Linux"
metadata = "metadata" metadata = "Μεταδεδομένα"
mobile = "mobile" mobile = "Κινητό"
opsec = "opsec" opsec = "Επιχειρησιακή ασφάλεια"
qubes = "qubes" qubes = "Qubes"
tails = "tails" tails = "Tails"
windows = "windows" windows = "Windows"
[languages.pt] [languages.pt]
generate_feed = true generate_feed = true
@ -186,11 +186,11 @@ navbar_items = [
{ url = "$BASE_URL/fr/contact/", name = "Contact" }, { url = "$BASE_URL/fr/contact/", name = "Contact" },
] }, ] },
{ code = "el", nav_items = [ { code = "el", nav_items = [
{ url = "$BASE_URL/el/posts/", name = "Guides" }, { url = "$BASE_URL/el/posts/", name = "Οδηγοί" },
{ url = "$BASE_URL/el/series/", name = "Series" }, { url = "$BASE_URL/el/series/", name = "Σειρές" },
{ url = "$BASE_URL/el/recommendations/", name = "Recommendations" }, { url = "$BASE_URL/el/recommendations/", name = "Προτάσεις" },
{ url = "$BASE_URL/el/glossary/", name = "Glossary" }, { url = "$BASE_URL/el/glossary/", name = "Γλωσσάρι" },
{ url = "$BASE_URL/el/contact/", name = "Contact" }, { url = "$BASE_URL/el/contact/", name = "Επικοινωνία" },
] }, ] },
{ code = "pt", nav_items = [ { code = "pt", nav_items = [
{ url = "$BASE_URL/pt/posts/", name = "Guides" }, { url = "$BASE_URL/pt/posts/", name = "Guides" },

View file

@ -6,15 +6,15 @@ title = "Τεχνολογικοί οδηγοί για αναρχικούς"
<br> <br>
<br> <br>
**You want a quick overview of our** **[advice for all anarchists?](/recommendations)** **Θέλεις μια γρήγορη επισκόπηση των** **[συμβουλών μας για όλους τους αναρχικούς;](/el/recommendations)**
**You need to** **[do action research or write an anonymous communique?](/posts/tails)** **Χρειάζεται να κάνεις** **[έρευνα για δράση ή να γράψεις μία ανώνυμη ανακοίνωση;](/posts/tails)**
**You need** **[increased security against malware?](/posts/qubes)** **Χρειάζεσαι** **[αυξημένη ασφάλεια ενάντια σε κακόβουλα λογισμικά;](/posts/qubes)**
**You want to** **[protect your digital devices from covert house visits by law enforcement?](/posts/tamper)** **Θέλεις να** **[προστατέψεις τις ψηφιακές σου συσκευές από μυστικές επισκέψεις από τις αρχές;](/posts/tamper)**
<p><strong><a href="/series">See all guides <p><strong><a href="/series">Δες όλους τους οδηγούς
<span class="icon is-small"> <span class="icon is-small">
<img src="/images/arrow-color.png"> <img src="/images/arrow-color.png">
</span> </span>

View file

@ -6,7 +6,7 @@ title = "Guias de Tecnológicos para Anarquistes"
<br> <br>
<br> <br>
**You want a quick overview of our** **[advice for all anarchists?](/recommendations)** **You want a quick overview of our** **[advice for all anarchists?](/pt/recommendations)**
**You need to** **[do action research or write an anonymous communique?](/posts/tails)** **You need to** **[do action research or write an anonymous communique?](/posts/tails)**

View file

@ -6,7 +6,7 @@ title = "Технические пособия для анархистов"
<br> <br>
<br> <br>
**You want a quick overview of our** **[advice for all anarchists?](/recommendations)** **You want a quick overview of our** **[advice for all anarchists?](/ru/recommendations)**
**You need to** **[do action research or write an anonymous communique?](/posts/tails)** **You need to** **[do action research or write an anonymous communique?](/posts/tails)**

View file

@ -1,5 +1,5 @@
+++ +++
title = "Contact" title = "Επικοινωνία"
sort_by = "date" sort_by = "date"
paginate_by = 5 paginate_by = 5
+++ +++

View file

@ -1,12 +1,12 @@
+++ +++
title = "Glossary" title = "Γλωσσάρι"
sort_by = "date" sort_by = "date"
paginate_by = 5 paginate_by = 5
+++ +++
<br> <br>
<div class="column is-8 is-offset-2"> <div class="column is-8 is-offset-2">
> This glossary defines terms commonly used in AnarSec articles. > Αυτό το γλωσσάρι επεξηγεί όρους που χρησιμοποιούνται συχνά στα άρθα του AnarSec.
### Asynchronous Communication ### Asynchronous Communication

View file

@ -1,5 +1,6 @@
+++ +++
title = "Guides" title = "Οδηγοί"
description = "Άλλοι οδηγοί είναι διαθέσιμοι στα αγγλικά."
sort_by = "date" sort_by = "date"
paginate_by = 10 paginate_by = 10
aliases = ["/el/posts/e2ee/","/el/posts/grapheneos/","/el/posts/linux/","/el/posts/metadata/","/el/posts/qubes/","/el/posts/tails/","/el/posts/tails-best/","/el/posts/tamper/"] aliases = ["/el/posts/e2ee/","/el/posts/grapheneos/","/el/posts/linux/","/el/posts/metadata/","/el/posts/qubes/","/el/posts/tails/","/el/posts/tails-best/","/el/posts/tamper/"]

View file

@ -1,5 +1,5 @@
+++ +++
title = "Recommendations" title = "Προτάσεις"
sort_by = "date" sort_by = "date"
paginate_by = 5 paginate_by = 5
+++ +++

View file

@ -1,15 +1,15 @@
+++ +++
title = "Search" title = "Αναζήτηση"
sort_by = "date" sort_by = "date"
paginate_by = 5 paginate_by = 5
+++ +++
<br> <br>
<p style="text-align:center">The search feature uses the external search engine DuckDuckGo.</p> <p style="text-align:center">Η δυνατότητα αναζήτησης χρησιμοποιεί την εξωτερική μηχανή αναζήτησης DuckDuckGo.</p>
<div class="columns is-centered"> <div class="columns is-centered">
<form action="https://duckduckgo.com/" method="get"> <form action="https://duckduckgo.com/" method="get">
<input type="hidden" name="sites" value="anarsec.guide"> <input type="hidden" name="sites" value="anarsec.guide">
<input type="search" name="q"> <input type="search" name="q">
<input type="submit" value="Search"> <input type="submit" value="Αναζήτηση">
</form> </form>
</div> </div>

View file

@ -1,5 +1,5 @@
+++ +++
title = "Series" title = "Σειρές"
description = "" description = ""
sort_by = "date" sort_by = "date"
paginate_by = 5 paginate_by = 5
@ -9,7 +9,7 @@ paginate_by = 5
Το AnarSec είναι ένα νέο βοήθημα που έχει σχεδιαστεί για να βοηθήσει τους αναρχικούς να πλοηγηθούν στο εχθρικό έδαφος της τεχνολογίας — αμυντικοί οδηγοί για ψηφιακή ασφάλεια και ανωνυμία, καθώς και επιθετικοί οδηγοί για χάκινγκ. Όλοι οι οδηγοί διατίθενται σε μορφή booklet για εκτύπωση και θα ενημερώνονται. Το AnarSec είναι ένα νέο βοήθημα που έχει σχεδιαστεί για να βοηθήσει τους αναρχικούς να πλοηγηθούν στο εχθρικό έδαφος της τεχνολογίας — αμυντικοί οδηγοί για ψηφιακή ασφάλεια και ανωνυμία, καθώς και επιθετικοί οδηγοί για χάκινγκ. Όλοι οι οδηγοί διατίθενται σε μορφή booklet για εκτύπωση και θα ενημερώνονται.
## Defensive ## Άμυνα
### Tails ### Tails
* [Tails for Anarchists](/posts/tails/) * [Tails for Anarchists](/posts/tails/)
@ -18,18 +18,18 @@ paginate_by = 5
### Qubes OS ### Qubes OS
* [Qubes OS for Anarchists](/posts/qubes/) * [Qubes OS for Anarchists](/posts/qubes/)
### Phones ### Τηλέφωνα
* [**Σκότωσε τον μπάτσο στην τσέπη σου**](/el/posts/nophones/) * [**Σκότωσε τον μπάτσο στην τσέπη σου**](/el/posts/nophones/)
* [GrapheneOS for Anarchists](/posts/grapheneos/) * [GrapheneOS for Anarchists](/posts/grapheneos/)
### General ### Γενικά
* [Linux Essentials](/posts/linux/) * [Linux Essentials](/posts/linux/)
* [Remove Identifying Metadata From Files](/posts/metadata/) * [Remove Identifying Metadata From Files](/posts/metadata/)
* [Encrypted Messaging for Anarchists](/posts/e2ee/) * [Encrypted Messaging for Anarchists](/posts/e2ee/)
* [Make Your Electronics Tamper-Evident](/posts/tamper/) * [Make Your Electronics Tamper-Evident](/posts/tamper/)
## Offensive ## Επίθεση
*Coming soon* *Προσεχώς*
</div> </div>

View file

@ -52,6 +52,9 @@
#if lang == "fr" [ #if lang == "fr" [
#text(18pt)[Série: #category] #text(18pt)[Série: #category]
] ]
#if lang == "el" [
#text(18pt)[Σειρά: #category]
]
] ]
] ]
@ -72,6 +75,13 @@
#text()[Le symbole de dague #super[] près d'un mot indique qu'une entrée existe dans le glossaire pour ce mot. Ai ferri corti.] #text()[Le symbole de dague #super[] près d'un mot indique qu'une entrée existe dans le glossaire pour ce mot. Ai ferri corti.]
] ]
#if lang == "el" [
#set align(center + bottom)
#text()[Αυτή η έκδοση της μπροσούρας τροποποιήθηκε τελευταία φορά στις #lastediteddate. Επισκέψου το anarsec.guide/el για να δεις εάν έχει ενημερωθεί από τότε.]
#text()[Το σύμβολο στιλέτο #super[] σε μια λέξη σημαίνει ότι υπάρχει μια καταχώριση στο γλωσσάρι για αυτήν. Ai ferri corti.]
]
] ]
// set headings // set headings
@ -116,6 +126,9 @@
else if lang == "fr" { else if lang == "fr" {
rec = "Annexe: Recommendations" rec = "Annexe: Recommendations"
} }
else if lang == "el" {
rec = "Παράρτημα: Προτάσεις"
}
let glossaryFootnote = state("x", [#footnote[anarsec.guide/glossary]<glossary-footnote>]) let glossaryFootnote = state("x", [#footnote[anarsec.guide/glossary]<glossary-footnote>])
show link: it => { show link: it => {
it.body it.body

View file

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