[tor-commits] [tpo/staging] add pt-PT and pl to staging for review

emmapeel at torproject.org emmapeel at torproject.org
Thu May 2 09:14:22 UTC 2019


commit 90f6370011e49dcefe19acabd226c9e08e168438
Author: emma peel <emma.peel at riseup.net>
Date:   Thu May 2 11:12:41 2019 +0200

    add pt-PT and pl to staging for review
---
 configs/i18n.ini               |  2 +-
 databags/about+pl.ini          |  1 +
 databags/about+pt-PT.ini       |  1 +
 databags/alternatives.ini      | 14 +++++++++++++-
 databags/menu+pl.ini           | 19 +++++++++++++++++++
 databags/menu+pt-PT.ini        | 19 +++++++++++++++++++
 databags/menu_footer+pl.ini    |  1 +
 databags/menu_footer+pt-PT.ini |  1 +
 tpo.lektorproject              | 12 +++++++++++-
 9 files changed, 67 insertions(+), 3 deletions(-)

diff --git a/configs/i18n.ini b/configs/i18n.ini
index 806b9b8..88870ae 100644
--- a/configs/i18n.ini
+++ b/configs/i18n.ini
@@ -1,5 +1,5 @@
 content = en
-translations = ar,bn,da,de,es,fr,he,id,is,it,ka,ko,pt-BR,ro,ru,tr,zh-CN
+translations = ar,bn,da,de,es,fr,he,id,is,it,ka,ko,pl,pt-BR,pt-PT,ro,ru,tr,zh-CN
 i18npath = i18n
 translate_paragraphwise = False
 url_prefix = https://www.torproject.org/
diff --git a/databags/about+pl.ini b/databags/about+pl.ini
new file mode 120000
index 0000000..234b948
--- /dev/null
+++ b/databags/about+pl.ini
@@ -0,0 +1 @@
+about+en.ini
\ No newline at end of file
diff --git a/databags/about+pt-PT.ini b/databags/about+pt-PT.ini
new file mode 120000
index 0000000..234b948
--- /dev/null
+++ b/databags/about+pt-PT.ini
@@ -0,0 +1 @@
+about+en.ini
\ No newline at end of file
diff --git a/databags/alternatives.ini b/databags/alternatives.ini
index cb34a29..e207e91 100644
--- a/databags/alternatives.ini
+++ b/databags/alternatives.ini
@@ -76,11 +76,23 @@ order = order-last
 language = 한국어 (ko)
 url = /ko/
 
+[pl]
+direction = text-left
+order = order-last
+url = /pl/
+language = Polski (pl)
+
 [pt-BR]
 direction = text-left
 order = order-last
 url = /pt-BR/
-language = Português Brasil (pt-BR)
+language = Português Br. (pt-BR)
+
+[pt-PT]
+direction = text-left
+order = order-last
+url = /pt-PT/
+language = Português Port. (pt-PT)
 
 [ro]
 direction = text-left
diff --git a/databags/menu+pl.ini b/databags/menu+pl.ini
new file mode 100644
index 0000000..d77e346
--- /dev/null
+++ b/databags/menu+pl.ini
@@ -0,0 +1,19 @@
+[about]
+path = /about/history
+label = About
+
+[documentation]
+path = https://2019.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-PT.ini b/databags/menu+pt-PT.ini
new file mode 100644
index 0000000..d77e346
--- /dev/null
+++ b/databags/menu+pt-PT.ini
@@ -0,0 +1,19 @@
+[about]
+path = /about/history
+label = About
+
+[documentation]
+path = https://2019.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+pl.ini b/databags/menu_footer+pl.ini
new file mode 120000
index 0000000..a3178a1
--- /dev/null
+++ b/databags/menu_footer+pl.ini
@@ -0,0 +1 @@
+menu_footer+en.ini
\ No newline at end of file
diff --git a/databags/menu_footer+pt-PT.ini b/databags/menu_footer+pt-PT.ini
new file mode 120000
index 0000000..a3178a1
--- /dev/null
+++ b/databags/menu_footer+pt-PT.ini
@@ -0,0 +1 @@
+menu_footer+en.ini
\ No newline at end of file
diff --git a/tpo.lektorproject b/tpo.lektorproject
index a780f48..00a0f74 100644
--- a/tpo.lektorproject
+++ b/tpo.lektorproject
@@ -70,11 +70,21 @@ name = 한국어 (ko)
 url_prefix = /ko/
 locale = ko
 
+[alternatives.pl]
+name = polski (pl)
+url_prefix = /pl/
+locale = pl
+
 [alternatives.pt-BR]
-name = Português Brasil (pt-BR)
+name = Português Br. (pr-BR)
 url_prefix = /pt-BR/
 locale = pt-BR
 
+[alternatives.pt-PT]
+name = Português Port. (pt-PT)
+url_prefix = /pt-PT/
+locale = pt-PT
+
 [alternatives.ro]
 name = Română (ro)
 url_prefix = /ro/



More information about the tor-commits mailing list