Skip to content

Commit

Permalink
Add missing information
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaharagon authored and dngray committed Jun 30, 2023
1 parent 8aab81b commit 45224b7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/mkdocs-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions config/mkdocs.zh-Hant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
status = 404

[[redirects]]
from = "/zh-Hant/*"
from = "/zh-hant/*"
to = "/i18n/404.zh-Hant.html"
status = 404

Expand Down
2 changes: 1 addition & 1 deletion static/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions theme/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,20 @@ <h1>{{ page.title | d(config.site_name, true)}}</h1>
<p>אתה צופה בעותק העברי של Privacy Guides, שתורגם על ידי צוות השפה הפנטסטי שלנו ב-<a href="https://crowdin.com/project/privacyguides">Crowdin</a>. אם אתה מבחין בשגיאה, או רואה קטעים לא מתורגמים בדף זה, <a href="https://matrix.to/#/#pg-i18n:aragon.sh">אנא שקול לעזור!</a></p>
<p>You're viewing the Hebrew copy of Privacy Guides, translated by our fantastic language team on <a href="https://crowdin.com/project/privacyguides">Crowdin</a>. If you notice an error, or see any untranslated sections on this page, please consider <a href="https://matrix.to/#/#pg-i18n:aragon.sh">helping out</a></p>
</div>
{% elif config.theme.language == "it" %}
<div class="admonition info">
<p>Stai visualizzando la versione italiana di Privacy Guides, tradotta dal nostro fantastico team linguistico su <a href="https://crowdin.com/project/privacyguides">Crowdin</a>. Se noti un errore o vedi sezioni non tradotte in questa pagina, <a href="https://matrix.to/#/#pg-i18n:aragon.sh">ti invitiamo a dare una mano</a>!</p>
<p>You're viewing the Italian copy of Privacy Guides, translated by our fantastic language team on <a href="https://crowdin.com/project/privacyguides">Crowdin</a>. If you notice an error, or see any untranslated sections on this page, please consider <a href="https://matrix.to/#/#pg-i18n:aragon.sh">helping out</a></p>
</div>
{% elif config.theme.language == "nl" %}
<div class="admonition info">
<p>Je bekijkt de Nederlandse versie van Privacy Guides, vertaald door ons fantastische taalteam op <a href="https://crowdin.com/project/privacyguides">Crowdin</a>. Als u een fout opmerkt of onvertaalde gedeelten op deze pagina ziet, <a href="https://matrix.to/#/#pg-i18n:aragon.sh">overweeg dan om te helpen</a>!</p>
<p>You're viewing the Dutch copy of Privacy Guides, translated by our fantastic language team on <a href="https://crowdin.com/project/privacyguides">Crowdin</a>. If you notice an error, or see any untranslated sections on this page, please consider <a href="https://matrix.to/#/#pg-i18n:aragon.sh">helping out</a></p>
</div>
{% elif config.theme.language == "zh-Hant" %}
<div class="admonition info">
<p><a href="https://crowdin.com/project/privacyguides">您正在查看由我們在Crowdin上出色的語言團隊翻譯的《隱私指南》英文版。</a>如果您發現錯誤,或在此頁面上看到任何未翻譯的部分,<a href="https://matrix.to/#/#pg-i18n:aragon.sh">請考慮提供幫助</a></p>
<p>You're viewing the Chinese (Traditional) copy of Privacy Guides, translated by our fantastic language team on <a href="https://crowdin.com/project/privacyguides">Crowdin</a>. If you notice an error, or see any untranslated sections on this page, please consider <a href="https://matrix.to/#/#pg-i18n:aragon.sh">helping out</a></p>
</div>
{% endif %}
{% endblock %}

0 comments on commit 45224b7

Please sign in to comment.