[tor-commits] [tpo/staging] add Thai language

gus at torproject.org gus at torproject.org
Thu Aug 20 20:22:52 UTC 2020


commit 2e498b8be813673951fecef6e429b424d1c86ad8
Author: emma peel <emma.peel at riseup.net>
Date:   Tue Aug 6 12:11:17 2019 +0200

    add Thai language
---
 configs/i18n.ini            |  2 +-
 databags/about+th.ini       |  1 +
 databags/alternatives.ini   |  6 ++++++
 databags/menu+th.ini        | 19 +++++++++++++++++++
 databags/menu_footer+th.ini |  1 +
 tpo.lektorproject           |  5 +++++
 6 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/configs/i18n.ini b/configs/i18n.ini
index 67c08389..e127ac4d 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,ms,pl,pt-BR,pt-PT,ro,ru,tr,zh-CN
+translations = ar,bn,da,de,es,fr,he,id,is,it,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+th.ini b/databags/about+th.ini
new file mode 120000
index 00000000..234b9482
--- /dev/null
+++ b/databags/about+th.ini
@@ -0,0 +1 @@
+about+en.ini
\ No newline at end of file
diff --git a/databags/alternatives.ini b/databags/alternatives.ini
index a91b0bc0..30095e26 100644
--- a/databags/alternatives.ini
+++ b/databags/alternatives.ini
@@ -112,6 +112,12 @@ order = order-last
 url = /ru/
 language = Русский (ru)
 
+[th]
+direction = text-left
+order = order-last
+url = /th/
+language = ภาษาไทย (th)
+
 [tr]
 direction = text-left
 order = order-last
diff --git a/databags/menu+th.ini b/databags/menu+th.ini
new file mode 100644
index 00000000..d77e3469
--- /dev/null
+++ b/databags/menu+th.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+th.ini b/databags/menu_footer+th.ini
new file mode 120000
index 00000000..a3178a1b
--- /dev/null
+++ b/databags/menu_footer+th.ini
@@ -0,0 +1 @@
+menu_footer+en.ini
\ No newline at end of file
diff --git a/tpo.lektorproject b/tpo.lektorproject
index d950e085..368cb536 100644
--- a/tpo.lektorproject
+++ b/tpo.lektorproject
@@ -100,6 +100,11 @@ name = Русский (ru)
 url_prefix = /ru/
 locale = ru
 
+[alternatives.th]
+name = ภาษาไทย (th)
+url_prefix = /th/
+locale = th
+
 [alternatives.tr]
 name = Türkçe (tr)
 url_prefix = /tr/





More information about the tor-commits mailing list