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

View file

@ -6,15 +6,15 @@ title = "Τεχνολογικοί οδηγοί για αναρχικούς"
<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">
<img src="/images/arrow-color.png">
</span>

View file

@ -6,7 +6,7 @@ title = "Guias de Tecnológicos para Anarquistes"
<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)**

View file

@ -6,7 +6,7 @@ title = "Технические пособия для анархистов"
<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)**

View file

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

View file

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

View file

@ -1,5 +1,6 @@
+++
title = "Guides"
title = "Οδηγοί"
description = "Άλλοι οδηγοί είναι διαθέσιμοι στα αγγλικά."
sort_by = "date"
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/"]

View file

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

View file

@ -1,15 +1,15 @@
+++
title = "Search"
title = "Αναζήτηση"
sort_by = "date"
paginate_by = 5
+++
<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">
<form action="https://duckduckgo.com/" method="get">
<input type="hidden" name="sites" value="anarsec.guide">
<input type="search" name="q">
<input type="submit" value="Search">
<input type="submit" value="Αναζήτηση">
</form>
</div>

View file

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

View file

@ -52,6 +52,9 @@
#if lang == "fr" [
#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.]
]
#if lang == "el" [
#set align(center + bottom)
#text()[Αυτή η έκδοση της μπροσούρας τροποποιήθηκε τελευταία φορά στις #lastediteddate. Επισκέψου το anarsec.guide/el για να δεις εάν έχει ενημερωθεί από τότε.]
#text()[Το σύμβολο στιλέτο #super[] σε μια λέξη σημαίνει ότι υπάρχει μια καταχώριση στο γλωσσάρι για αυτήν. Ai ferri corti.]
]
]
// set headings
@ -116,6 +126,9 @@
else if lang == "fr" {
rec = "Annexe: Recommendations"
}
else if lang == "el" {
rec = "Παράρτημα: Προτάσεις"
}
let glossaryFootnote = state("x", [#footnote[anarsec.guide/glossary]<glossary-footnote>])
show link: it => {
it.body

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"