[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tpo/master] add Hungarian to website



commit e592a5124294447959962191a8033086fc065ba2
Author: emma peel <emma.peel@xxxxxxxxxx>
Date:   Sat Oct 9 10:53:04 2021 +0200

    add Hungarian to website
---
 .htaccess                 | 2 +-
 configs/i18n.ini          | 2 +-
 databags/alternatives.ini | 6 ++++++
 tpo.lektorproject         | 5 +++++
 4 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/.htaccess b/.htaccess
index a3bff324..c73e840b 100644
--- a/.htaccess
+++ b/.htaccess
@@ -208,4 +208,4 @@ RewriteRule ^(es-ES|es-MX|es-CO|es-AR)(.*) /es$2 [R=302,L]
 # but don't have a community page
 # 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 website!
-RewriteRule ^(ar|bn|bn-BD|bn-IN|ga|ga-IE|cs|da|el|fa|ga|he|hu|id|ja|ko|lt|mk|ms|my|nb-NO|nl|pl|pt-PT|ro|sv-SE|th|vi|zh-TW)/(.*) /$2 [R=302,L]
+RewriteRule ^(ar|bn|bn-BD|bn-IN|ga|ga-IE|cs|da|el|fa|ga|he|id|ja|ko|lt|mk|ms|my|nb-NO|nl|pl|pt-PT|ro|sv-SE|th|vi|zh-TW)/(.*) /$2 [R=302,L]
diff --git a/configs/i18n.ini b/configs/i18n.ini
index 39bb9409..129b3d09 100644
--- a/configs/i18n.ini
+++ b/configs/i18n.ini
@@ -1,5 +1,5 @@
 content = en
-translations = ca,de,es,fr,is,it,ka,pt-BR,ru,tr,zh-CN
+translations = ca,de,es,fr,hu,is,it,ka,pt-BR,ru,tr,zh-CN
 i18npath = i18n
 translate_paragraphwise = False
 url_prefix = https://www.torproject.org/
diff --git a/databags/alternatives.ini b/databags/alternatives.ini
index 510183c5..bc7c4c3a 100644
--- a/databags/alternatives.ini
+++ b/databags/alternatives.ini
@@ -28,6 +28,12 @@ order = order-last
 url = /fr/
 language = Français (fr)
 
+[hu]
+direction = text-left
+order = order-last
+url = /hu/
+language = Magyar nyelv (hu)
+
 [is]
 direction = text-left
 order = order-last
diff --git a/tpo.lektorproject b/tpo.lektorproject
index 3a5b8865..e5d6cc4b 100644
--- a/tpo.lektorproject
+++ b/tpo.lektorproject
@@ -30,6 +30,11 @@ name = Français (fr)
 url_prefix = /fr/
 locale = fr
 
+[alternatives.hu]
+name =  Magyar nyelv (hu)
+url_prefix = /hu/
+locale = hu
+
 [alternatives.is]
 name = Ã?slenska (is)
 url_prefix = /is/



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits