[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [gettor-web/translations] add more languages for preview: el, fa, he, id, it, ka, pl, sq
- To: tor-commits@xxxxxxxxxxxxxxxxxxxx
- Subject: [tor-commits] [gettor-web/translations] add more languages for preview: el, fa, he, id, it, ka, pl, sq
- From: emmapeel@xxxxxxxxxxxxxx
- Date: Fri, 26 Mar 2021 13:51:34 +0000 (UTC)
- Delivered-to: archiver@xxxxxxxx
- Delivery-date: Fri, 26 Mar 2021 09:51:44 -0400
- List-archive: <http://lists.torproject.org/pipermail/tor-commits/>
- List-help: <mailto:tor-commits-request@lists.torproject.org?subject=help>
- List-id: "auto: code repository commits" <tor-commits.lists.torproject.org>
- List-post: <mailto:tor-commits@lists.torproject.org>
- List-subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits>, <mailto:tor-commits-request@lists.torproject.org?subject=subscribe>
- List-unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-commits>, <mailto:tor-commits-request@lists.torproject.org?subject=unsubscribe>
- Patch-author: emma peel <emma.peel@xxxxxxxxxx>
- Sender: "tor-commits" <tor-commits-bounces@xxxxxxxxxxxxxxxxxxxx>
commit c7f3330609d7ba4560ee9b7850c0371e07e55041
Author: emma peel <emma.peel@xxxxxxxxxx>
Date: Fri Mar 26 14:49:41 2021 +0100
add more languages for preview: el,fa,he,id,it,ka,pl,sq
---
.htaccess | 4 ++--
GetTor.lektorproject | 50 ++++++++++++++++++++++++++++++++++++++++++-----
configs/i18n.ini | 2 +-
databags/alternatives.ini | 48 +++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 96 insertions(+), 8 deletions(-)
diff --git a/.htaccess b/.htaccess
index 2f22bf4..a7aa9c1 100644
--- a/.htaccess
+++ b/.htaccess
@@ -17,5 +17,5 @@ RewriteRule ^ga-IE/(.*) /ga$1 [R=302,L]
# but don't have a gettor website translation
# You can see them at https://dist.torproject.org/torbrowser/, pick the last alpha for the most languages
# this languages are the translation priority for the gettor website
-RewriteRule ^(ca|cs|da|el|fa|ga|he|hu|id|is|it|ja|ka|ko|lt|ms|nb-NO|nl|pl|pt-PT|ro|ru|sv-SE|th|vi|zh-TW)$ / [R=302,L]
-RewriteRule ^(ca|cs|da|el|fa|ga|he|hu|id|is|it|ja|ka|ko|lt|ms|nb-NO|nl|pl|pt-PT|ro|ru|sv-SE|th|vi|zh-TW)/(.*) /$2 [R=302,L]
+RewriteRule ^(ca|cs|da|ga|hu|is|ja|ko|lt|ms|nb-NO|nl|pt-PT|ro|ru|sv-SE|th|vi|zh-TW)$ / [R=302,L]
+RewriteRule ^(ca|cs|da|ga|hu|is|ja|ko|lt|ms|nb-NO|nl|pt-PT|ro|ru|sv-SE|th|vi|zh-TW)/(.*) /$2 [R=302,L]
diff --git a/GetTor.lektorproject b/GetTor.lektorproject
index 0582280..7d43bf9 100644
--- a/GetTor.lektorproject
+++ b/GetTor.lektorproject
@@ -9,37 +9,77 @@ name = عربÙ?Ø© (ar)
url_prefix = /ar/
locale = ar
+[alternatives.de]
+name = Deutsch
+url_prefix = /de/
+locale = de
+
+[alternatives.el]
+name = Î?λληνικά (el)
+url_prefix = /el/
+locale = el
+
[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.fa]
+name = ï»?ïº?ﺮﺳÛ? (fa)
+url_prefix = /fa/
+locale = fa
+
[alternatives.fr]
name = Français
url_prefix = /fr/
locale = fr
+[alternatives.he]
+name = ×¢×?ר×?ת (he)
+url_prefix = /he/
+locale = he
+
+[alternatives.id]
+name = Indonesia (id)
+url_prefix = /id/
+locale = id
+
+[alternatives.it]
+name = Italia (it)
+url_prefix = /it/
+locale = it
+
+[alternatives.ka]
+name = Georgian (ka)
+url_prefix = /ka/
+locale = ka
+
[alternatives.mk]
name = Macedonian (mk)
url_prefix = /mk/
locale = mk
+[alternatives.pl]
+name = Polski (pl)
+url_prefix = /pl/
+locale = pl
+
[alternatives.pt-BR]
name = Português (Brasil)
url_prefix = /pt-BR/
locale = pt-BR
+[alternatives.sq]
+name = Shqip (sq)
+url_prefix = /sq/
+locale = sq
+
[alternatives.tr]
name = Türkçe
url_prefix = /tr/
diff --git a/configs/i18n.ini b/configs/i18n.ini
index 66c15d7..130e206 100644
--- a/configs/i18n.ini
+++ b/configs/i18n.ini
@@ -1,5 +1,5 @@
content = en
-translations = ar,de,es,fr,mk,pt-BR,tr,zh-CN
+translations = ar,de,el,es,fa,fr,he,id,it,ka,mk,pl,pt-BR,sq,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 d839e53..02f69ab 100644
--- a/databags/alternatives.ini
+++ b/databags/alternatives.ini
@@ -16,30 +16,78 @@ order = order-last
url = /de/
language = Deutsch (de)
+[el]
+direction = text-left
+order = order-last
+url = /el/
+language = Î?λληνικά (el)
+
[es]
direction = text-left
order = order-last
url = /es/
language = Español (es)
+[fa]
+direction = text-right
+order = order-last
+url = /fa/
+language = Ù?ارسÛ? (fa)
+
[fr]
direction = text-left
order = order-last
url = /fr/
language = Français (fr)
+[he]
+direction = text-right
+order = order-last
+url = /he/
+language = ×¢×?ר×?ת (he)
+
+[id]
+direction = text-left
+order = order-last
+url = /id/
+language = bahasa Indonesia (id)
+
+[it]
+direction = text-left
+order = order-last
+url = /it/
+language = Italiano (it)
+
+[ka]
+direction = text-left
+order = order-last
+url = /ka/
+language = á?¥á??á? á??á?£á??á?? á??á??á?? (ka)
+
[mk]
direction = text-left
order = order-last
language = македонÑ?ки (mk)
url = /mk/
+[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 Br. (pt-BR)
+[sq]
+direction = text-left
+order = order-last
+url = /sq/
+language = Shqip (sq)
+
[tr]
direction = text-left
order = order-last
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits