From 45224b73c5c7aa290b9cfd06eb8f11b3da0ae0c9 Mon Sep 17 00:00:00 2001 From: Jonah Aragon Date: Wed, 21 Jun 2023 14:29:33 -0500 Subject: [PATCH] Add missing information --- config/mkdocs-common.yml | 2 +- config/mkdocs.zh-Hant.yml | 4 ++-- netlify.toml | 2 +- static/_redirects | 2 +- theme/main.html | 10 ++++++++++ 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/config/mkdocs-common.yml b/config/mkdocs-common.yml index 8d7c8fc7f9..31ca069cde 100644 --- a/config/mkdocs-common.yml +++ b/config/mkdocs-common.yml @@ -59,7 +59,7 @@ extra: lang: nl icon: https://raw.githubusercontent.com/twitter/twemoji/master/assets/svg/1f1f3-1f1f1.svg - name: 繁体字 - link: /zh-Hant/ + link: /zh-hant/ lang: zh-Hant icon: https://raw.githubusercontent.com/twitter/twemoji/master/assets/svg/1f1ed-1f1f0.svg diff --git a/config/mkdocs.zh-Hant.yml b/config/mkdocs.zh-Hant.yml index 10bccdba4c..25b86df746 100644 --- a/config/mkdocs.zh-Hant.yml +++ b/config/mkdocs.zh-Hant.yml @@ -20,8 +20,8 @@ INHERIT: mkdocs-common.yml docs_dir: '../i18n/zh-Hant' -site_url: "https://www.privacyguides.org/zh-Hant/" -site_dir: '../site/zh-Hant' +site_url: "https://www.privacyguides.org/zh-hant/" +site_dir: '../site/zh-hant' site_name: Privacy Guides site_description: | diff --git a/netlify.toml b/netlify.toml index 787a1cbbec..69124f8d6b 100644 --- a/netlify.toml +++ b/netlify.toml @@ -74,7 +74,7 @@ status = 404 [[redirects]] - from = "/zh-Hant/*" + from = "/zh-hant/*" to = "/i18n/404.zh-Hant.html" status = 404 diff --git a/static/_redirects b/static/_redirects index b70f824114..78c3358f15 100644 --- a/static/_redirects +++ b/static/_redirects @@ -24,7 +24,7 @@ / /he/ 302 Language=he / /it/ 302 Language=it / /nl/ 302 Language=nl -/ /zh-Hant/ 302 Language=zh-Hant +/ /zh-hant/ 302 Language=zh-Hant / /en/ 302 /.well-known/matrix/* https://matrix.privacyguides.org/.well-known/matrix/:splat 200 diff --git a/theme/main.html b/theme/main.html index 9e38fe9c27..e29bec385c 100644 --- a/theme/main.html +++ b/theme/main.html @@ -124,10 +124,20 @@

{{ page.title | d(config.site_name, true)}}

אתה צופה בעותק העברי של Privacy Guides, שתורגם על ידי צוות השפה הפנטסטי שלנו ב-Crowdin. אם אתה מבחין בשגיאה, או רואה קטעים לא מתורגמים בדף זה, אנא שקול לעזור!

You're viewing the Hebrew copy of Privacy Guides, translated by our fantastic language team on Crowdin. If you notice an error, or see any untranslated sections on this page, please consider helping out

+ {% elif config.theme.language == "it" %} +
+

Stai visualizzando la versione italiana di Privacy Guides, tradotta dal nostro fantastico team linguistico su Crowdin. Se noti un errore o vedi sezioni non tradotte in questa pagina, ti invitiamo a dare una mano!

+

You're viewing the Italian copy of Privacy Guides, translated by our fantastic language team on Crowdin. If you notice an error, or see any untranslated sections on this page, please consider helping out

+
{% elif config.theme.language == "nl" %}

Je bekijkt de Nederlandse versie van Privacy Guides, vertaald door ons fantastische taalteam op Crowdin. Als u een fout opmerkt of onvertaalde gedeelten op deze pagina ziet, overweeg dan om te helpen!

You're viewing the Dutch copy of Privacy Guides, translated by our fantastic language team on Crowdin. If you notice an error, or see any untranslated sections on this page, please consider helping out

+ {% elif config.theme.language == "zh-Hant" %} +
+

您正在查看由我們在Crowdin上出色的語言團隊翻譯的《隱私指南》英文版。如果您發現錯誤,或在此頁面上看到任何未翻譯的部分,請考慮提供幫助

+

You're viewing the Chinese (Traditional) copy of Privacy Guides, translated by our fantastic language team on Crowdin. If you notice an error, or see any untranslated sections on this page, please consider helping out

+
{% endif %} {% endblock %}