From 6ba0e541046b1f0b33fa177d5569cebe9d76bf4c Mon Sep 17 00:00:00 2001 From: George Mynarskyi <89152669+NippleOfAnApe@users.noreply.github.com> Date: Sun, 18 Aug 2024 15:48:42 +0300 Subject: [PATCH 01/10] =?UTF-8?q?=F0=9F=8C=90=20feat(i18n):=20add=20Estoni?= =?UTF-8?q?an=20language=20(#365)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/blog/faq-languages/index.ca.md | 3 +- content/blog/faq-languages/index.es.md | 3 +- content/blog/faq-languages/index.md | 1 + i18n/et.toml | 93 ++++++++++++++++++++++++++ 4 files changed, 98 insertions(+), 2 deletions(-) create mode 100644 i18n/et.toml diff --git a/content/blog/faq-languages/index.ca.md b/content/blog/faq-languages/index.ca.md index 6a015fb1..8e14903f 100644 --- a/content/blog/faq-languages/index.ca.md +++ b/content/blog/faq-languages/index.ca.md @@ -1,7 +1,7 @@ +++ title = "Lost in Translation? Explora les capacitats multilingües de tabi" date = 2023-09-12 -updated = 2024-03-01 +updated = 2024-08-18 description = "Descobreix com tabi t'ajuda a connectar amb una audiència global gràcies a les seves funcions multilingües. Aprèn a canviar la llengua per defecte, afegir més llengües i aportar les teves pròpies traduccions." [taxonomies] @@ -29,6 +29,7 @@ tabi admet les següents llengües: - Català - Coreà - Espanyol +- Estonià - Francès - Hindi - Italià diff --git a/content/blog/faq-languages/index.es.md b/content/blog/faq-languages/index.es.md index 08f293c0..e8d213da 100644 --- a/content/blog/faq-languages/index.es.md +++ b/content/blog/faq-languages/index.es.md @@ -1,7 +1,7 @@ +++ title = "¿Lost in Translation? Explora las capacidades multilingües de tabi" date = 2023-09-12 -updated = 2024-03-01 +updated = 2024-08-18 description = "Descubre cómo tabi te ayuda a conectar con una audiencia global gracias a sus funciones multilingües. Aprende a cambiar el idioma por defecto, añadir más idiomas y aportar tus propias traducciones." [taxonomies] @@ -29,6 +29,7 @@ tabi admite los siguientes idiomas: - Chino (Simplificado) - Coreano - Español +- Estonio - Francés - Hindi - Inglés diff --git a/content/blog/faq-languages/index.md b/content/blog/faq-languages/index.md index ea3432c8..bcccf778 100644 --- a/content/blog/faq-languages/index.md +++ b/content/blog/faq-languages/index.md @@ -28,6 +28,7 @@ tabi supports the following languages: - Chinese (Simplified) - Chinese (Traditional) - English +- Estonian - French - German - Hindi diff --git a/i18n/et.toml b/i18n/et.toml new file mode 100644 index 00000000..9ebc0f47 --- /dev/null +++ b/i18n/et.toml @@ -0,0 +1,93 @@ +language_name = "Eesti" # Shown in language picker for multi-language sites. +date_locale = "et_EE" +full_stop = "." # Used at the end of a sentence. + +# Menu items. +# Should match the names in config.extra.menu and config.extra.footer_menu. +blog = "blogi" +archive = "arhiiv" +tags = "sildid" +projects = "projektid" +about = "minust" +contact = "kontakt" +privacy = "privaatsuspoliitika" +site_statistics = "saidi statistika" +sitemap = "saidikaart" + +# Search. +search = "Otsing" +search_icon_title = "Otsingu avamiseks klõpsake või vajutage $SHORTCUT" # $SHORTCUT will be replaced with the actual keyboard shortcut. +clear_search = "Tühjenda otsing" # Title of the X icon next to search input. +zero_results = "Tulemusi pole" +one_results = "$NUMBER tulemus" # "1 result" +many_results = "$NUMBER tulemust" # "3 results" + +# Navigation. +read_more = "Loe edasi" +one_posts = "$NUMBER postitus" +many_posts = "$NUMBER postitust" # "3 posts" +prev = "Eelmine" # As in "Previous" page. +next = "Järgmine" # As in "Next" page. +of = "/" # E.g. Page 1 "of" 3 +all_posts = "Kõik postitused" +all_tags = "Kõik sildid" +all_projects = "Kõik projektid" +featured_projects = "Esiletõstetud projektid" +language_selection = "Keele valik" +toggle_mode = "Lülita $MODE režiim" # $MODE will be replaced by a value (or both) below. +dark = "tume" +light = "hele" +reset_mode = "Lähtesta vaikerežiim" + +# Quick navigation buttons. +toggle_toc = "Sisukorra kuvamine/peitmine" +go_to_top = "Mine lehe ülaossa" +go_to_comments = "Mine kommentaaride juurde" + +# Post metadata. +by_author = "Autor: $AUTHOR" # $AUTHOR will be replaced by the author(s). +author_separator = ", " # For multiple authors. Ensure spacing where necessary. +author_conjunction = " ja " # For multiple authors. Ensure spacing where necessary. +draft = "MUSTAND" +zero_min_read = "Lugemisaeg <1 min" +one_min_read = "Lugemisaeg $NUMBER min" +many_min_read = "Lugemisaeg $NUMBER min" +zero_words = "Sõnu pole" +one_words = "$NUMBER sõna" +many_words = "$NUMBER sõna" +last_updated_on = "Uuendatud $DATE" +see_changes = "Vaata muudatusi" + +# Post body. +table_of_contents = "Sisukord" +load_comments = "Lae kommentaarid" + +# Copy code block button. +copied = "Kopeeritud!" +copy_code_to_clipboard = "Kopeeri kood lõikelauale" + +# Footer: Powered by Zola and tabi. +powered_by = "Toetab" +and = "ja" +site_source = "Saidi lähtekood" + +# 404 error. +# https://welpo.github.io/tabi/404.html +page_missing = "Tundub, et otsitud lehte ei leitud" +translation_missing = "või pole seda veel teie keelde tõlgitud" +check_url = "Kontrollige URL-i vigade suhtes või" +go_home = "minge tagasi avalehele" + +# For multilingual quote shortcode. +# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes +show_original_quote = "Näita originaaltsitaati" +show_translation = "Näita tõlget" +open_quotation_mark = "“" +close_quotation_mark = "”" + +# Translations for stylised Atom feed. +# https://welpo.github.io/tabi/atom.xml +# Must contain "About Feeds"; it will become a link. +about_feeds = "See on veebivoog, tuntud ka kui Atom-voog. Tellimiseks kopeerige URL aadressiribalt oma uudistelugerisse. Külastage About Feeds lehte, et õppida ja alustada. See on tasuta." +visit_the_site = "Külasta veebisaiti" +recent_posts = "Viimased postitused" From 37df94db9f696a6ad3520e77ba8526ba7b44795e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 11:31:19 +0200 Subject: [PATCH 02/10] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20chore(deps):=20updat?= =?UTF-8?q?e=20zola-deploy-action=20action=20to=20v0.19.2=20(#366)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8900760a..f1309c45 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,12 +18,12 @@ jobs: uses: actions/checkout@v4 - name: Zola Build - uses: shalzz/zola-deploy-action@v0.19.1 + uses: shalzz/zola-deploy-action@v0.19.2 env: BUILD_ONLY: true - name: Zola Check - uses: shalzz/zola-deploy-action@v0.19.1 + uses: shalzz/zola-deploy-action@v0.19.2 env: BUILD_ONLY: true CHECK_LINKS: true @@ -37,7 +37,7 @@ jobs: uses: actions/checkout@v4 - name: Build and Deploy - uses: shalzz/zola-deploy-action@v0.19.1 + uses: shalzz/zola-deploy-action@v0.19.2 env: PAGES_BRANCH: gh-pages TOKEN: ${{ secrets.TOKEN }} From ce3be5c007fa23bfa6ebb09b3fcab9e2ad9f06fa Mon Sep 17 00:00:00 2001 From: Arnold Loubriat Date: Fri, 23 Aug 2024 20:54:13 +0200 Subject: [PATCH 03/10] =?UTF-8?q?=E2=99=BF=EF=B8=8F=20fix:=20add=20missing?= =?UTF-8?q?=20quotes=20to=20HTML=20attributes=20=20(#367)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/macros/list_posts.html | 2 +- templates/page.html | 2 +- templates/partials/footer.html | 6 +++--- templates/partials/nav.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/macros/list_posts.html b/templates/macros/list_posts.html index c410f245..790e1b79 100644 --- a/templates/macros/list_posts.html +++ b/templates/macros/list_posts.html @@ -62,7 +62,7 @@

{{ post.summary | striptags | trim_end_matches(pat=".") | safe }}…

{% endif %} - {{ macros_translate::translate(key="read_more", default="Read more", language_strings=language_strings) }}  + {{ macros_translate::translate(key="read_more", default="Read more", language_strings=language_strings) }}  {% endif %} diff --git a/templates/page.html b/templates/page.html index f03a119a..ff4ef344 100644 --- a/templates/page.html +++ b/templates/page.html @@ -110,7 +110,7 @@ {%- if page.taxonomies and page.taxonomies.tags -%} {%- if previous_visible -%} {{ separator }} {%- endif -%}
  • {{- macros_translate::translate(key="tags", default="tags", language_strings=language_strings) | capitalize -}}: 
  • {%- for tag in page.taxonomies.tags -%} -
  • {{ tag }} +
  • {{ tag }} {%- if not loop.last -%} ,  {%- endif -%} diff --git a/templates/partials/footer.html b/templates/partials/footer.html index 2dadba31..3ad87ee2 100644 --- a/templates/partials/footer.html +++ b/templates/partials/footer.html @@ -20,7 +20,7 @@ {%- if generate_feed and config.extra.feed_icon and feed_url -%}
  • -
  • @@ -56,8 +56,8 @@ {%- if config.extra.socials %} {% for social in config.extra.socials %}
  • -
  • {% endfor %} diff --git a/templates/partials/nav.html b/templates/partials/nav.html index 591089ca..e2ea1553 100644 --- a/templates/partials/nav.html +++ b/templates/partials/nav.html @@ -1,7 +1,7 @@