[tor-commits] [community/staging] add some of our tier 1 langs:

emmapeel at torproject.org emmapeel at torproject.org
Sun Mar 17 14:43:05 UTC 2019


commit 8a5385a777b6350cc7b9906fd38b12a12f9d7955
Author: emma peel <emma.peel at riseup.net>
Date:   Sun Mar 17 15:41:58 2019 +0100

    add some of our tier 1 langs:
    ar, bn, de, pt-br, tr, zh
---
 community.lektorproject        | 41 ++++++++++++++++++++++++++++++++++++-----
 configs/i18n.ini               |  4 ++--
 databags/alternatives.ini      |  6 ++++++
 databags/menu+ar.ini           | 19 +++++++++++++++++++
 databags/menu+bn-BD.ini        | 19 +++++++++++++++++++
 databags/menu+de.ini           | 19 +++++++++++++++++++
 databags/menu+pt-BR.ini        | 19 +++++++++++++++++++
 databags/menu+tr.ini           | 19 +++++++++++++++++++
 databags/menu+zh-CN.ini        | 19 +++++++++++++++++++
 databags/menu_footer+ar.ini    | 15 +++++++++++++++
 databags/menu_footer+bn-BD.ini | 15 +++++++++++++++
 databags/menu_footer+de.ini    | 15 +++++++++++++++
 databags/menu_footer+pt-BR.ini | 15 +++++++++++++++
 databags/menu_footer+tr.ini    | 15 +++++++++++++++
 databags/menu_footer+zh-CN.ini | 15 +++++++++++++++
 databags/pagenav+ar.ini        | 23 +++++++++++++++++++++++
 databags/pagenav+bn-BD.ini     | 23 +++++++++++++++++++++++
 databags/pagenav+de.ini        | 23 +++++++++++++++++++++++
 databags/pagenav+es.ini        | 18 +++++++++---------
 databags/pagenav+pt-BR.ini     | 23 +++++++++++++++++++++++
 databags/pagenav+tr.ini        | 23 +++++++++++++++++++++++
 databags/pagenav+zh-CN.ini     | 23 +++++++++++++++++++++++
 22 files changed, 395 insertions(+), 16 deletions(-)

diff --git a/community.lektorproject b/community.lektorproject
index 4fa9aa5..422a406 100644
--- a/community.lektorproject
+++ b/community.lektorproject
@@ -2,20 +2,51 @@
 name = Tor Community Website
 url = https://community.torproject.org/
 url_style = relative
-locale = en_US
+locale = en-US
+
+[alternatives.ar]
+name = عربية (ar)
+url_prefix = /ar/
+locale = ar
+
+[alternatives.bn-BD]
+name = বাংলা ভাষা  (bn)
+url_prefix = /bn-BD/
+locale = bn-BD
+
+
+[alternatives.de]
+name = Deutsch (de)
+url_prefix = /de/
+locale = de
 
 [alternatives.en]
-name = English
+name = English (en)
 primary = yes
 url_prefix = /
-locale = en_US
+locale = en-US
 
 [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.pt-BR]
+name = Português (Brasil)
+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
diff --git a/configs/i18n.ini b/configs/i18n.ini
index d65d25e..cdc9610 100644
--- a/configs/i18n.ini
+++ b/configs/i18n.ini
@@ -1,5 +1,5 @@
 content = en
-translations = es,fr
+translations = ar,bn-BD,de,es,fr,pt-BR,tr,zh-CN
 i18npath = i18n
 translate_paragraphwise = False
-url_prefix = https://torproject.org/
+url_prefix = https://lektor-staging.torproject.org/community/staging/
diff --git a/databags/alternatives.ini b/databags/alternatives.ini
index d355706..833d84d 100644
--- a/databags/alternatives.ini
+++ b/databags/alternatives.ini
@@ -4,6 +4,12 @@ order = order-last
 url =  /
 language = English (en)
 
+[ar]
+direction = text-right
+order = order-first
+url = /ar/
+language = عربية (ar)
+
 [en-US]
 direction = text-left
 order = order-last
diff --git a/databags/menu+ar.ini b/databags/menu+ar.ini
new file mode 100644
index 0000000..21246e1
--- /dev/null
+++ b/databags/menu+ar.ini
@@ -0,0 +1,19 @@
+[about]
+path = ttps://www.torproject.org/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+bn-BD.ini b/databags/menu+bn-BD.ini
new file mode 100644
index 0000000..21246e1
--- /dev/null
+++ b/databags/menu+bn-BD.ini
@@ -0,0 +1,19 @@
+[about]
+path = ttps://www.torproject.org/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+de.ini b/databags/menu+de.ini
new file mode 100644
index 0000000..21246e1
--- /dev/null
+++ b/databags/menu+de.ini
@@ -0,0 +1,19 @@
+[about]
+path = ttps://www.torproject.org/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+pt-BR.ini b/databags/menu+pt-BR.ini
new file mode 100644
index 0000000..21246e1
--- /dev/null
+++ b/databags/menu+pt-BR.ini
@@ -0,0 +1,19 @@
+[about]
+path = ttps://www.torproject.org/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+tr.ini b/databags/menu+tr.ini
new file mode 100644
index 0000000..21246e1
--- /dev/null
+++ b/databags/menu+tr.ini
@@ -0,0 +1,19 @@
+[about]
+path = ttps://www.torproject.org/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+zh-CN.ini b/databags/menu+zh-CN.ini
new file mode 100644
index 0000000..21246e1
--- /dev/null
+++ b/databags/menu+zh-CN.ini
@@ -0,0 +1,19 @@
+[about]
+path = ttps://www.torproject.org/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_footer+ar.ini b/databags/menu_footer+ar.ini
new file mode 100644
index 0000000..e66659d
--- /dev/null
+++ b/databags/menu_footer+ar.ini
@@ -0,0 +1,15 @@
+[jobs]
+path = ttps://www.torproject.org/about/jobs
+label = Jobs
+
+[blog]
+path = https://blog.torproject.org
+label = Blog
+
+[contact]
+path = ttps://www.torproject.org/contact
+label = Contact
+
+[press]
+path = ttps://www.torproject.org/press
+label = Press
diff --git a/databags/menu_footer+bn-BD.ini b/databags/menu_footer+bn-BD.ini
new file mode 100644
index 0000000..e66659d
--- /dev/null
+++ b/databags/menu_footer+bn-BD.ini
@@ -0,0 +1,15 @@
+[jobs]
+path = ttps://www.torproject.org/about/jobs
+label = Jobs
+
+[blog]
+path = https://blog.torproject.org
+label = Blog
+
+[contact]
+path = ttps://www.torproject.org/contact
+label = Contact
+
+[press]
+path = ttps://www.torproject.org/press
+label = Press
diff --git a/databags/menu_footer+de.ini b/databags/menu_footer+de.ini
new file mode 100644
index 0000000..e66659d
--- /dev/null
+++ b/databags/menu_footer+de.ini
@@ -0,0 +1,15 @@
+[jobs]
+path = ttps://www.torproject.org/about/jobs
+label = Jobs
+
+[blog]
+path = https://blog.torproject.org
+label = Blog
+
+[contact]
+path = ttps://www.torproject.org/contact
+label = Contact
+
+[press]
+path = ttps://www.torproject.org/press
+label = Press
diff --git a/databags/menu_footer+pt-BR.ini b/databags/menu_footer+pt-BR.ini
new file mode 100644
index 0000000..e66659d
--- /dev/null
+++ b/databags/menu_footer+pt-BR.ini
@@ -0,0 +1,15 @@
+[jobs]
+path = ttps://www.torproject.org/about/jobs
+label = Jobs
+
+[blog]
+path = https://blog.torproject.org
+label = Blog
+
+[contact]
+path = ttps://www.torproject.org/contact
+label = Contact
+
+[press]
+path = ttps://www.torproject.org/press
+label = Press
diff --git a/databags/menu_footer+tr.ini b/databags/menu_footer+tr.ini
new file mode 100644
index 0000000..e66659d
--- /dev/null
+++ b/databags/menu_footer+tr.ini
@@ -0,0 +1,15 @@
+[jobs]
+path = ttps://www.torproject.org/about/jobs
+label = Jobs
+
+[blog]
+path = https://blog.torproject.org
+label = Blog
+
+[contact]
+path = ttps://www.torproject.org/contact
+label = Contact
+
+[press]
+path = ttps://www.torproject.org/press
+label = Press
diff --git a/databags/menu_footer+zh-CN.ini b/databags/menu_footer+zh-CN.ini
new file mode 100644
index 0000000..e66659d
--- /dev/null
+++ b/databags/menu_footer+zh-CN.ini
@@ -0,0 +1,15 @@
+[jobs]
+path = ttps://www.torproject.org/about/jobs
+label = Jobs
+
+[blog]
+path = https://blog.torproject.org
+label = Blog
+
+[contact]
+path = ttps://www.torproject.org/contact
+label = Contact
+
+[press]
+path = ttps://www.torproject.org/press
+label = Press
diff --git a/databags/pagenav+ar.ini b/databags/pagenav+ar.ini
new file mode 100644
index 0000000..1ad40f2
--- /dev/null
+++ b/databags/pagenav+ar.ini
@@ -0,0 +1,23 @@
+[relay-operations]
+path = relay-operations
+label = Relay Operations
+
+[user-testing]
+path = user-testing
+label = User Testing
+
+[training]
+path = training
+label = Training
+
+[outreach]
+path = outreach
+label = Outreach
+
+[translations]
+path = translations
+label = Translations
+
+[onion-services]
+path = onion-services
+label = .Onion Services
diff --git a/databags/pagenav+bn-BD.ini b/databags/pagenav+bn-BD.ini
new file mode 100644
index 0000000..1ad40f2
--- /dev/null
+++ b/databags/pagenav+bn-BD.ini
@@ -0,0 +1,23 @@
+[relay-operations]
+path = relay-operations
+label = Relay Operations
+
+[user-testing]
+path = user-testing
+label = User Testing
+
+[training]
+path = training
+label = Training
+
+[outreach]
+path = outreach
+label = Outreach
+
+[translations]
+path = translations
+label = Translations
+
+[onion-services]
+path = onion-services
+label = .Onion Services
diff --git a/databags/pagenav+de.ini b/databags/pagenav+de.ini
new file mode 100644
index 0000000..1ad40f2
--- /dev/null
+++ b/databags/pagenav+de.ini
@@ -0,0 +1,23 @@
+[relay-operations]
+path = relay-operations
+label = Relay Operations
+
+[user-testing]
+path = user-testing
+label = User Testing
+
+[training]
+path = training
+label = Training
+
+[outreach]
+path = outreach
+label = Outreach
+
+[translations]
+path = translations
+label = Translations
+
+[onion-services]
+path = onion-services
+label = .Onion Services
diff --git a/databags/pagenav+es.ini b/databags/pagenav+es.ini
index 43f44fd..35b81bb 100644
--- a/databags/pagenav+es.ini
+++ b/databags/pagenav+es.ini
@@ -1,19 +1,19 @@
 [history]
-path = about/history
-label = History
+path = es/about/history
+label = Historia
 
 [people]
-path = about/people
-label = People
+path = es/about/people
+label = Gente
 
 [sponsors]
-path = about/sponsors
+path = es/about/sponsors
 label = Sponsors
 
 [reports]
-path = about/reports
-label = Reports
+path = es/about/reports
+label = Informes
 
 [jobs]
-path = about/jobs
-label = Jobs
+path = es/about/jobs
+label = Empleo
diff --git a/databags/pagenav+pt-BR.ini b/databags/pagenav+pt-BR.ini
new file mode 100644
index 0000000..1ad40f2
--- /dev/null
+++ b/databags/pagenav+pt-BR.ini
@@ -0,0 +1,23 @@
+[relay-operations]
+path = relay-operations
+label = Relay Operations
+
+[user-testing]
+path = user-testing
+label = User Testing
+
+[training]
+path = training
+label = Training
+
+[outreach]
+path = outreach
+label = Outreach
+
+[translations]
+path = translations
+label = Translations
+
+[onion-services]
+path = onion-services
+label = .Onion Services
diff --git a/databags/pagenav+tr.ini b/databags/pagenav+tr.ini
new file mode 100644
index 0000000..1ad40f2
--- /dev/null
+++ b/databags/pagenav+tr.ini
@@ -0,0 +1,23 @@
+[relay-operations]
+path = relay-operations
+label = Relay Operations
+
+[user-testing]
+path = user-testing
+label = User Testing
+
+[training]
+path = training
+label = Training
+
+[outreach]
+path = outreach
+label = Outreach
+
+[translations]
+path = translations
+label = Translations
+
+[onion-services]
+path = onion-services
+label = .Onion Services
diff --git a/databags/pagenav+zh-CN.ini b/databags/pagenav+zh-CN.ini
new file mode 100644
index 0000000..1ad40f2
--- /dev/null
+++ b/databags/pagenav+zh-CN.ini
@@ -0,0 +1,23 @@
+[relay-operations]
+path = relay-operations
+label = Relay Operations
+
+[user-testing]
+path = user-testing
+label = User Testing
+
+[training]
+path = training
+label = Training
+
+[outreach]
+path = outreach
+label = Outreach
+
+[translations]
+path = translations
+label = Translations
+
+[onion-services]
+path = onion-services
+label = .Onion Services



More information about the tor-commits mailing list