[tor-commits] [tpo/staging] add Japanese website translation

emmapeel at torproject.org emmapeel at torproject.org
Wed Nov 6 10:59:50 UTC 2019


commit b4dca33fb507334ee9b0cf7aa24cb5840145043b
Author: emma peel <emma.peel at riseup.net>
Date:   Wed Nov 6 11:59:14 2019 +0100

    add Japanese website translation
---
 configs/i18n.ini            | 2 +-
 databags/about+ja.ini       | 1 +
 databags/alternatives.ini   | 6 ++++++
 databags/menu+ja.ini        | 1 +
 databags/menu_footer+ja.ini | 1 +
 tpo.lektorproject           | 5 +++++
 6 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/configs/i18n.ini b/configs/i18n.ini
index 6c487cd..5c34bae 100644
--- a/configs/i18n.ini
+++ b/configs/i18n.ini
@@ -1,5 +1,5 @@
 content = en
-translations = ar,bn,ca,da,de,es,fr,he,id,is,it,ka,ko,ms,pl,pt-BR,pt-PT,ro,ru,th,tr,zh-CN
+translations = ar,bn,ca,da,de,es,fr,he,id,is,it,ja,ka,ko,ms,pl,pt-BR,pt-PT,ro,ru,th,tr,zh-CN
 i18npath = i18n
 translate_paragraphwise = False
 url_prefix = https://www.torproject.org/
diff --git a/databags/about+ja.ini b/databags/about+ja.ini
new file mode 120000
index 0000000..234b948
--- /dev/null
+++ b/databags/about+ja.ini
@@ -0,0 +1 @@
+about+en.ini
\ No newline at end of file
diff --git a/databags/alternatives.ini b/databags/alternatives.ini
index 170e07f..6a023c0 100644
--- a/databags/alternatives.ini
+++ b/databags/alternatives.ini
@@ -70,6 +70,12 @@ order = order-last
 url = /it/
 language = Italiano (it)
 
+[ja]
+direction = text-left
+order = order-last
+language = 日本語 (ja)
+url = /ja/
+
 [ka]
 direction = text-left
 order = order-last
diff --git a/databags/menu+ja.ini b/databags/menu+ja.ini
new file mode 120000
index 0000000..1fa7edf
--- /dev/null
+++ b/databags/menu+ja.ini
@@ -0,0 +1 @@
+../lego/databags/menu+en.ini
\ No newline at end of file
diff --git a/databags/menu_footer+ja.ini b/databags/menu_footer+ja.ini
new file mode 120000
index 0000000..d14a20f
--- /dev/null
+++ b/databags/menu_footer+ja.ini
@@ -0,0 +1 @@
+../lego/databags/menu_footer+en.ini
\ No newline at end of file
diff --git a/tpo.lektorproject b/tpo.lektorproject
index 15914e5..a79b39a 100644
--- a/tpo.lektorproject
+++ b/tpo.lektorproject
@@ -65,6 +65,11 @@ name = Italiano (it)
 url_prefix = /it/
 locale = it
 
+[alternatives.ja]
+name = 日本語 (ja)
+url_prefix = /ja/
+locale = ja
+
 [alternatives.ka]
 name = Georgian (ka)
 url_prefix = /ka/



More information about the tor-commits mailing list