commit 5dceb08c7bd99ebb159a90e6b605cfb4b9911334 Author: hiro hiro@torproject.org 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@lists.torproject.org