commit dbb09861e8ed038f102c8bae0a074b13d12e9e3e Author: emma peel emma.peel@riseup.net Date: Sat Mar 9 09:03:28 2019 +0100
add more langs --- configs/i18n.ini | 2 +- databags/about+bn-BD.ini | 1 + databags/about+de.ini | 1 + databags/about+es.ini | 20 +---------------- databags/about+fr.ini | 20 +---------------- databags/about+id.ini | 1 + databags/about+it.ini | 1 + databags/about+pt-BR.ini | 1 + databags/about+tr.ini | 1 + databags/about+zh-CN.ini | 1 + databags/alternatives.ini | 42 ++++++++++++++++++++++++++++++++--- databags/download-alternatives.ini | 32 +++++++++++++++++++++++++-- databags/menu+bn-BD.ini | 1 + databags/menu+de.ini | 1 + databags/menu+es.ini | 20 +---------------- databags/menu+fr.ini | 20 +---------------- databags/menu+id.ini | 1 + databags/menu+it.ini | 1 + databags/menu+pt-BR.ini | 1 + databags/menu+tr.ini | 1 + databags/menu+zh-CN.ini | 1 + databags/menu_footer+bn-BD.ini | 1 + databags/menu_footer+de.ini | 1 + databags/menu_footer+es.ini | 16 +------------- databags/menu_footer+fr.ini | 16 +------------- databags/menu_footer+id.ini | 1 + databags/menu_footer+it.ini | 1 + databags/menu_footer+pt-BR.ini | 1 + databags/menu_footer+tr.ini | 1 + databags/menu_footer+zh-CN.ini | 1 + tpo.lektorproject | 45 +++++++++++++++++++++++++++++++++----- 31 files changed, 137 insertions(+), 117 deletions(-)
diff --git a/configs/i18n.ini b/configs/i18n.ini index d65d25e..4665823 100644 --- a/configs/i18n.ini +++ b/configs/i18n.ini @@ -1,5 +1,5 @@ content = en -translations = es,fr +translations = bn-BD,de,es,fr,id,it,pt-BR,tr,zh-CN i18npath = i18n translate_paragraphwise = False url_prefix = https://torproject.org/ diff --git a/databags/about+bn-BD.ini b/databags/about+bn-BD.ini new file mode 120000 index 0000000..234b948 --- /dev/null +++ b/databags/about+bn-BD.ini @@ -0,0 +1 @@ +about+en.ini \ No newline at end of file diff --git a/databags/about+de.ini b/databags/about+de.ini new file mode 120000 index 0000000..234b948 --- /dev/null +++ b/databags/about+de.ini @@ -0,0 +1 @@ +about+en.ini \ No newline at end of file diff --git a/databags/about+es.ini b/databags/about+es.ini deleted file mode 100644 index 43f44fd..0000000 --- a/databags/about+es.ini +++ /dev/null @@ -1,19 +0,0 @@ -[history] -path = about/history -label = History - -[people] -path = about/people -label = People - -[sponsors] -path = about/sponsors -label = Sponsors - -[reports] -path = about/reports -label = Reports - -[jobs] -path = about/jobs -label = Jobs diff --git a/databags/about+es.ini b/databags/about+es.ini new file mode 120000 index 0000000..234b948 --- /dev/null +++ b/databags/about+es.ini @@ -0,0 +1 @@ +about+en.ini \ No newline at end of file diff --git a/databags/about+fr.ini b/databags/about+fr.ini deleted file mode 100644 index 43f44fd..0000000 --- a/databags/about+fr.ini +++ /dev/null @@ -1,19 +0,0 @@ -[history] -path = about/history -label = History - -[people] -path = about/people -label = People - -[sponsors] -path = about/sponsors -label = Sponsors - -[reports] -path = about/reports -label = Reports - -[jobs] -path = about/jobs -label = Jobs diff --git a/databags/about+fr.ini b/databags/about+fr.ini new file mode 120000 index 0000000..234b948 --- /dev/null +++ b/databags/about+fr.ini @@ -0,0 +1 @@ +about+en.ini \ No newline at end of file diff --git a/databags/about+id.ini b/databags/about+id.ini new file mode 120000 index 0000000..234b948 --- /dev/null +++ b/databags/about+id.ini @@ -0,0 +1 @@ +about+en.ini \ No newline at end of file diff --git a/databags/about+it.ini b/databags/about+it.ini new file mode 120000 index 0000000..234b948 --- /dev/null +++ b/databags/about+it.ini @@ -0,0 +1 @@ +about+en.ini \ No newline at end of file diff --git a/databags/about+pt-BR.ini b/databags/about+pt-BR.ini new file mode 120000 index 0000000..234b948 --- /dev/null +++ b/databags/about+pt-BR.ini @@ -0,0 +1 @@ +about+en.ini \ No newline at end of file diff --git a/databags/about+tr.ini b/databags/about+tr.ini new file mode 120000 index 0000000..234b948 --- /dev/null +++ b/databags/about+tr.ini @@ -0,0 +1 @@ +about+en.ini \ No newline at end of file diff --git a/databags/about+zh-CN.ini b/databags/about+zh-CN.ini new file mode 120000 index 0000000..234b948 --- /dev/null +++ b/databags/about+zh-CN.ini @@ -0,0 +1 @@ +about+en.ini \ No newline at end of file diff --git a/databags/alternatives.ini b/databags/alternatives.ini index d355706..3cbde89 100644 --- a/databags/alternatives.ini +++ b/databags/alternatives.ini @@ -4,11 +4,17 @@ order = order-last url = / language = English (en)
-[en-US] +[bn-BD] direction = text-left order = order-last -url = /en-US/ -language = English (en) +url = /bn-BD/ +language = বাংলা ভাষা (bn-BD) + +[de] +direction = text-left +order = order-last +url = /de/ +language = Deutsch (de)
[es] direction = text-left @@ -21,3 +27,33 @@ direction = text-left order = order-last url = /fr/ language = Français (fr) + +[id] +direction = text-left +order = order-last +url = /id/ +language = Indonesia (id) + +[it] +direction = text-left +order = order-last +url = /it/ +language = Italiano (it) + +[pt-BR] +direction = text-left +order = order-last +url = /pt-BR/ +language = Português Brasil (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) diff --git a/databags/download-alternatives.ini b/databags/download-alternatives.ini index a7cb5d9..0a9e941 100644 --- a/databags/download-alternatives.ini +++ b/databags/download-alternatives.ini @@ -1,7 +1,15 @@ -[en-US] -url = /en-US/ +[en] +url = /en/ language = English (en)
+[bn-BD] +url = /bn-BD/ +language = বাংলা ভাষা (bn) + +[de] +url = /de/ +language = Deutsch (de) + [es] url = /es/ language = Español (es) @@ -9,3 +17,23 @@ language = Español (es) [fr] url = /fr/ language = Français (fr) + +[id] +url = /id/ +language = Indonesia (id) + +[it] +url = /it/ +language = Italiano (it) + +[pt-BR] +url = /pt-BR/ +language = Português Brasil(pt-BR) + +[tr] +url = /tr/ +language = Türkçe (tr) + +[zh-CN] +url = /zh-CN/ +language = 中文简 (zh-CN) diff --git a/databags/menu+bn-BD.ini b/databags/menu+bn-BD.ini new file mode 120000 index 0000000..23a525b --- /dev/null +++ b/databags/menu+bn-BD.ini @@ -0,0 +1 @@ +menu+en.ini \ No newline at end of file diff --git a/databags/menu+de.ini b/databags/menu+de.ini new file mode 120000 index 0000000..23a525b --- /dev/null +++ b/databags/menu+de.ini @@ -0,0 +1 @@ +menu+en.ini \ No newline at end of file diff --git a/databags/menu+es.ini b/databags/menu+es.ini deleted file mode 100644 index fd03492..0000000 --- a/databags/menu+es.ini +++ /dev/null @@ -1,19 +0,0 @@ -[about] -path = /about/history -label = About - -[documentation] -path = https://www.torproject.org/docs/documentation.html.en -label = Documentation - -[support] -path = https://support.torproject.org/ -label = Support - -[blog] -path = https://blog.torproject.org -label = Blog - -[donate] -path = https://donate.torproject.org -label = Donate diff --git a/databags/menu+es.ini b/databags/menu+es.ini new file mode 120000 index 0000000..23a525b --- /dev/null +++ b/databags/menu+es.ini @@ -0,0 +1 @@ +menu+en.ini \ No newline at end of file diff --git a/databags/menu+fr.ini b/databags/menu+fr.ini deleted file mode 100644 index fd03492..0000000 --- a/databags/menu+fr.ini +++ /dev/null @@ -1,19 +0,0 @@ -[about] -path = /about/history -label = About - -[documentation] -path = https://www.torproject.org/docs/documentation.html.en -label = Documentation - -[support] -path = https://support.torproject.org/ -label = Support - -[blog] -path = https://blog.torproject.org -label = Blog - -[donate] -path = https://donate.torproject.org -label = Donate diff --git a/databags/menu+fr.ini b/databags/menu+fr.ini new file mode 120000 index 0000000..23a525b --- /dev/null +++ b/databags/menu+fr.ini @@ -0,0 +1 @@ +menu+en.ini \ No newline at end of file diff --git a/databags/menu+id.ini b/databags/menu+id.ini new file mode 120000 index 0000000..23a525b --- /dev/null +++ b/databags/menu+id.ini @@ -0,0 +1 @@ +menu+en.ini \ No newline at end of file diff --git a/databags/menu+it.ini b/databags/menu+it.ini new file mode 120000 index 0000000..23a525b --- /dev/null +++ b/databags/menu+it.ini @@ -0,0 +1 @@ +menu+en.ini \ No newline at end of file diff --git a/databags/menu+pt-BR.ini b/databags/menu+pt-BR.ini new file mode 120000 index 0000000..23a525b --- /dev/null +++ b/databags/menu+pt-BR.ini @@ -0,0 +1 @@ +menu+en.ini \ No newline at end of file diff --git a/databags/menu+tr.ini b/databags/menu+tr.ini new file mode 120000 index 0000000..23a525b --- /dev/null +++ b/databags/menu+tr.ini @@ -0,0 +1 @@ +menu+en.ini \ No newline at end of file diff --git a/databags/menu+zh-CN.ini b/databags/menu+zh-CN.ini new file mode 120000 index 0000000..23a525b --- /dev/null +++ b/databags/menu+zh-CN.ini @@ -0,0 +1 @@ +menu+en.ini \ No newline at end of file diff --git a/databags/menu_footer+bn-BD.ini b/databags/menu_footer+bn-BD.ini new file mode 120000 index 0000000..a3178a1 --- /dev/null +++ b/databags/menu_footer+bn-BD.ini @@ -0,0 +1 @@ +menu_footer+en.ini \ No newline at end of file diff --git a/databags/menu_footer+de.ini b/databags/menu_footer+de.ini new file mode 120000 index 0000000..a3178a1 --- /dev/null +++ b/databags/menu_footer+de.ini @@ -0,0 +1 @@ +menu_footer+en.ini \ No newline at end of file diff --git a/databags/menu_footer+es.ini b/databags/menu_footer+es.ini deleted file mode 100644 index 3329c0a..0000000 --- a/databags/menu_footer+es.ini +++ /dev/null @@ -1,15 +0,0 @@ -[jobs] -path = /about/jobs -label = Jobs - -[blog] -path = https://blog.torproject.org -label = Blog - -[contact] -path = /contact -label = Contact - -[press] -path = /press -label = Press diff --git a/databags/menu_footer+es.ini b/databags/menu_footer+es.ini new file mode 120000 index 0000000..a3178a1 --- /dev/null +++ b/databags/menu_footer+es.ini @@ -0,0 +1 @@ +menu_footer+en.ini \ No newline at end of file diff --git a/databags/menu_footer+fr.ini b/databags/menu_footer+fr.ini deleted file mode 100644 index 3329c0a..0000000 --- a/databags/menu_footer+fr.ini +++ /dev/null @@ -1,15 +0,0 @@ -[jobs] -path = /about/jobs -label = Jobs - -[blog] -path = https://blog.torproject.org -label = Blog - -[contact] -path = /contact -label = Contact - -[press] -path = /press -label = Press diff --git a/databags/menu_footer+fr.ini b/databags/menu_footer+fr.ini new file mode 120000 index 0000000..a3178a1 --- /dev/null +++ b/databags/menu_footer+fr.ini @@ -0,0 +1 @@ +menu_footer+en.ini \ No newline at end of file diff --git a/databags/menu_footer+id.ini b/databags/menu_footer+id.ini new file mode 120000 index 0000000..a3178a1 --- /dev/null +++ b/databags/menu_footer+id.ini @@ -0,0 +1 @@ +menu_footer+en.ini \ No newline at end of file diff --git a/databags/menu_footer+it.ini b/databags/menu_footer+it.ini new file mode 120000 index 0000000..a3178a1 --- /dev/null +++ b/databags/menu_footer+it.ini @@ -0,0 +1 @@ +menu_footer+en.ini \ No newline at end of file diff --git a/databags/menu_footer+pt-BR.ini b/databags/menu_footer+pt-BR.ini new file mode 120000 index 0000000..a3178a1 --- /dev/null +++ b/databags/menu_footer+pt-BR.ini @@ -0,0 +1 @@ +menu_footer+en.ini \ No newline at end of file diff --git a/databags/menu_footer+tr.ini b/databags/menu_footer+tr.ini new file mode 120000 index 0000000..a3178a1 --- /dev/null +++ b/databags/menu_footer+tr.ini @@ -0,0 +1 @@ +menu_footer+en.ini \ No newline at end of file diff --git a/databags/menu_footer+zh-CN.ini b/databags/menu_footer+zh-CN.ini new file mode 120000 index 0000000..a3178a1 --- /dev/null +++ b/databags/menu_footer+zh-CN.ini @@ -0,0 +1 @@ +menu_footer+en.ini \ No newline at end of file diff --git a/tpo.lektorproject b/tpo.lektorproject index 4e97345..624ceb6 100644 --- a/tpo.lektorproject +++ b/tpo.lektorproject @@ -2,20 +2,55 @@ name = Tor Project Website url = https://www.torproject.org/ url_style = relative -locale = en_US +locale = en
[alternatives.en] -name = English +name = English (en) primary = yes url_prefix = / -locale = en_US +locale = en + +[alternatives.bn-BD] +name = বাংলা ভাষা (bn) +url_prefix = /bn-BD/ +locale = bn-BD + +[alternatives.de] +name = Deutsch (de) +url_prefix = /de/ +locale = de
[alternatives.es] -name = Español +name = Español (es) url_prefix = /es/ locale = es
[alternatives.fr] -name = Français +name = Français (fr) url_prefix = /fr/ locale = fr + +[alternatives.id] +name = Indonesia (id) +url_prefix = /id/ +locale = id + +[alternatives.it] +name = Italiano (it) +url_prefix = /it/ +locale = it + +[alternatives.pt-BR] +name = Português Brasil (pt-BR) +url_prefix = /pt-BR/ +locale = pt-BR + +[alternatives.tr] +name = Türkçe (tr) +url_prefix = /tr/ +locale = tr + +[alternatives.zh-CN] +name = 简体字 (zh-CN) +url_prefix = /zh-CN/ +locale = zh-CN
tor-commits@lists.torproject.org