[tor-commits] [tpo/staging] add Simplified Chinese (zh-CN) lang

emmapeel at torproject.org emmapeel at torproject.org
Wed Jul 31 09:57:27 UTC 2019


commit cf30d3cfa0c9eab46a25b6a13d8dfa56804ccc9e
Author: emma peel <emma.peel at riseup.net>
Date:   Fri Jun 7 13:37:27 2019 +0200

    add Simplified Chinese (zh-CN) lang
---
 configs/i18n.ini          | 2 +-
 databags/alternatives.ini | 6 ++++++
 tpo.lektorproject         | 5 +++++
 3 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/configs/i18n.ini b/configs/i18n.ini
index 81d4abd..986169b 100644
--- a/configs/i18n.ini
+++ b/configs/i18n.ini
@@ -1,5 +1,5 @@
 content = en
-translations = de,es,fr,is,it,ka,pt-BR,ru,tr
+translations = de,es,fr,is,it,ka,pt-BR,ru,tr,zh-CN
 i18npath = i18n
 translate_paragraphwise = False
 url_prefix = https://www.torproject.org/
diff --git a/databags/alternatives.ini b/databags/alternatives.ini
index 7603b21..a372d8c 100644
--- a/databags/alternatives.ini
+++ b/databags/alternatives.ini
@@ -57,3 +57,9 @@ direction = text-left
 order = order-last
 url = /tr/
 language = Türkçe (tr)
+
+[zh-CN]
+direction = text-left
+order = order-last
+url = /zh-CN/
+language = 简体字 (zh-CN)
diff --git a/tpo.lektorproject b/tpo.lektorproject
index 8523e44..633244b 100644
--- a/tpo.lektorproject
+++ b/tpo.lektorproject
@@ -54,3 +54,8 @@ locale = ru
 name = Türkçe (tr)
 url_prefix = /tr/
 locale = tr
+
+[alternatives.zh-CN]
+name = 简体字 (zh-CN)
+url_prefix = /zh-CN/
+locale = zh-CN





More information about the tor-commits mailing list