[tor-commits] [manual/develop] add Lithuanian translation

emmapeel at torproject.org emmapeel at torproject.org
Wed Jan 15 13:17:53 UTC 2020


commit 871d23f4375173a2f1e69cb077df0d6bb484a18f
Author: emma peel <emma.peel at riseup.net>
Date:   Tue Dec 24 15:50:01 2019 +0100

    add Lithuanian translation
---
 .htaccess                 | 4 ++--
 databags/alternatives.ini | 6 ++++++
 manual.lektorproject      | 5 +++++
 3 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/.htaccess b/.htaccess
index c055b0a..0651b31 100644
--- a/.htaccess
+++ b/.htaccess
@@ -19,8 +19,8 @@ RewriteRule ^(es-ES|es-MX|es-CO)/(.*) /es/$2 [R=302,L]
 # Rewrites for languages that have a Tor Browser release
 # but don't have a translated manual
 # this languages are the priority for translation of the Tor Browser User Manual!
-RewriteRule ^(cs|da|fa|hu|ja|ko|ms|lt|nb-NO|nl|pl|sv-SE|vi|zh-TW)$ / [R=302,L]
-RewriteRule ^(cs|da|fa|hu|ja|ko|ms|lt|nb-NO|nl|pl|sv-SE|vi|zh-TW)/(.*) /$2 [R=302,L]
+RewriteRule ^(cs|da|fa|hu|ja|ko|ms|nb-NO|nl|pl|sv-SE|vi|zh-TW)$ / [R=302,L]
+RewriteRule ^(cs|da|fa|hu|ja|ko|ms|nb-NO|nl|pl|sv-SE|vi|zh-TW)/(.*) /$2 [R=302,L]
 
 # we have only one translation for this locales
 RewriteRule ^bn-(BD|IN)$ /bn [R=302,L]
diff --git a/databags/alternatives.ini b/databags/alternatives.ini
index 965b367..a0c0a8c 100644
--- a/databags/alternatives.ini
+++ b/databags/alternatives.ini
@@ -94,6 +94,12 @@ order = order-last
 language = ქართული ენა (ka)
 url = /ka/
 
+[lt]
+direction = text-left
+order = order-last
+language = lietuvių (lt)
+url = /lt/
+
 [mk]
 direction = text-left
 order = order-last
diff --git a/manual.lektorproject b/manual.lektorproject
index 63769e6..b6c87dc 100644
--- a/manual.lektorproject
+++ b/manual.lektorproject
@@ -80,6 +80,11 @@ name = Georgian (ka)
 url_prefix = /ka/
 locale = ka
 
+[alternatives.lt]
+name = lietuvių (lt)
+url_prefix = /lt/
+locale = lt
+
 [alternatives.mk]
 name = Macedonian (mk)
 url_prefix = /mk/





More information about the tor-commits mailing list