[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [gettor-web/master] Enable translations



commit 5dceb08c7bd99ebb159a90e6b605cfb4b9911334
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Tue Jul 14 16:23:46 2020 +0200

    Enable translations
---
 GetTor.lektorproject      | 40 +++++++++++++++++++++++++++++++++++
 configs/i18n.ini          |  2 +-
 databags/alternatives.ini | 54 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 95 insertions(+), 1 deletion(-)

diff --git a/GetTor.lektorproject b/GetTor.lektorproject
index fd5d5a8..598554c 100644
--- a/GetTor.lektorproject
+++ b/GetTor.lektorproject
@@ -4,8 +4,48 @@ url = https://gettor.torproject.org/
 url_style = relative
 locale = en
 
+[alternatives.ar]
+name = عربÙ?Ø© (ar)
+url_prefix = /ar/
+locale = ar
+
 [alternatives.en]
 name = English (en)
 primary = yes
 url_prefix = /
 locale = en
+
+[alternatives.de]
+name = Deutsch
+url_prefix = /de/
+locale = de
+
+[alternatives.es]
+name = Español
+url_prefix = /es/
+locale = es
+
+[alternatives.fr]
+name = Français
+url_prefix = /fr/
+locale = fr
+
+[alternatives.mk]
+name = Macedonian (mk)
+url_prefix = /mk/
+locale = mk
+
+[alternatives.pt-BR]
+name = Português (Brasil)
+url_prefix = /pt-BR/
+locale = pt-BR
+
+[alternatives.tr]
+name = Turkish
+url_prefix = /tr/
+locale = tr
+
+[alternatives.zh-CN]
+name = ç®?ä½?中æ?? (zh-CN)
+url_prefix = /zh-CN/
+locale = zh-CN
diff --git a/configs/i18n.ini b/configs/i18n.ini
index 1a706ab..04a288a 100644
--- a/configs/i18n.ini
+++ b/configs/i18n.ini
@@ -1,5 +1,5 @@
 content = en
-translations = es,de,fr,it,pt-BR,ru
+translations = ar,de,es,fr,mk,pt-BR,pt-PT,tr,zh-CN
 i18npath = i18n
 translate_paragraphwise = False
 url_prefix = https://gettor.torproject.org/
diff --git a/databags/alternatives.ini b/databags/alternatives.ini
index 5ac0263..c12a2e3 100644
--- a/databags/alternatives.ini
+++ b/databags/alternatives.ini
@@ -3,3 +3,57 @@ direction = text-left
 order = order-last
 url =  /
 language = English (en)
+
+[ar]
+direction = text-right
+order = order-last
+url = /ar/
+language = عربÙ?Ø© (ar)
+
+[de]
+direction = text-left
+order = order-last
+url = /de/
+language = Deutsch (de)
+
+[en-US]
+direction = text-left
+order = order-last
+url =  /en-US/
+language = English (en-US)
+
+[es]
+direction = text-left
+order = order-last
+url = /es/
+language = Español (es)
+
+[fr]
+direction = text-left
+order = order-last
+url = /fr/
+language = Français (fr)
+
+[mk]
+direction = text-left
+order = order-last
+language = македонÑ?ки (mk)
+url = /mk/
+
+[pt-BR]
+direction = text-left
+order = order-last
+url = /pt-BR/
+language = Português Br. (pt-BR)
+
+[tr]
+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)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits