Split zh into zh_CN and zh_TW.

This commit is contained in:
sus 2024-04-08 08:00:15 +00:00
parent 6570fcc9da
commit ee9d33fa11
6 changed files with 21 additions and 8 deletions

View file

@ -19,8 +19,13 @@ name = Portuguese
url_prefix = /pt_BR/
locale = br
[alternatives.zh]
name = Chinese
[alternatives.zh_CN]
name = Simplified_Chinese
url_prefix = /zh_CN/
locale = zh_CN
[alternatives.zh_TW]
name = Traditional_Chinese
url_prefix = /zh_TW/
locale = zh_TW

View file

@ -33,7 +33,14 @@ items = site.query('/news/buzz', alt='pt_BR')
url_path = /pr_BR/news/buzz/atom.xml
item_model = blog-post
[blog-zh]
[blog-zh_CN]
name = The Buzz
source_path = /news/buzz
items = site.query('/news/buzz', alt='zh_CN')
url_path = /zh_CN/news/buzz/atom.xml
item_model = blog-post
[blog-zh_TW]
name = The Buzz
source_path = /news/buzz
items = site.query('/news/buzz', alt='zh_TW')

View file

@ -13,7 +13,7 @@ body:
-----
你有其他的網站想提供嗎? `把他加進這個列表! <https://github.com/beeware/beeware.github.io/edit/lektor/content/contributing/how/first-time/more/contents+zh.lr>`_
你有其他的網站想提供嗎? `把他加進這個列表! <https://github.com/beeware/beeware.github.io/edit/lektor/content/contributing/how/first-time/more/contents+zh_TW.lr>`_
---
summary: 這裡有給初次貢獻者的許多資源

View file

@ -284,7 +284,7 @@ senior = Senior Apiarist
cricket = Cricket
[zh]
[zh_TW]
; Project Type
app = 應用程式
tool = 工具

View file

@ -102,7 +102,7 @@ contact = Kontakt
languages = Języki
donate = Datki
[zh]
[zh_TW]
project = 專案
news = 新聞
community = 社群

View file

@ -122,7 +122,8 @@ spanish = Español
french = Français
korean = 한국어
portuguese = Português
chinese = 中文
simplified_chinese = 中文(简体)
traditional_chinese = 中文(繁體)
turkish = Türkçe
italian = Italiano
polish = Polski
@ -356,7 +357,7 @@ other = Outro
outdated_translations = As páginas a seguir podem conter traduções desatualizadas
missing_translations = As páginas a seguir não possuem tradução
[zh]
[zh_TW]
; Breadcrumbs
home = 主頁
edit_on_github = 在 GitHub 上編輯