More translation
Sorry for misreading the gitlink
Original pull request patch:
From 7f38789b85ef41af8310a2f0513d14db0ef948ae Mon Sep 17 00:00:00 2001
From: Aoba's Phone <neko.aoba.suzukaze@gmail.com>
Date: Mon, 30 Mar 2020 01:01:06 +0700
Subject: [PATCH 1/3] Added more translation for Thai
---
data/locales/templates-th.po | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/data/locales/templates-th.po b/data/locales/templates-th.po
index 6001658..58d35da 100644
--- a/data/locales/templates-th.po
+++ b/data/locales/templates-th.po
@@ -1262,19 +1262,19 @@ msgid "Popularity does not mean rankable"
msgstr "ความกังของแมพไม่ได้หมายความว่าจะสามารถแรงค์ได้"
msgid "Community"
-msgstr ""
+msgstr "ชุมชน"
msgid "Multiplayer listing"
-msgstr ""
+msgstr "รายชื่อห้องเล่นหลายคน"
msgid "Discord Server"
-msgstr ""
+msgstr "เซิร์ฟเวอร์ Discord"
msgid "Download the Server Switcher"
-msgstr ""
+msgstr "ดาวน์โหลดตัวสลับเซิร์ฟเวอร์"
msgid "Read more"
-msgstr ""
+msgstr "อ่านเพิ่มเติม"
msgid "Connection guide"
-msgstr ""
+msgstr "วิธีการเชื่อมต่อ"
--
2.20.1
From 56fb97e89ba0dedd8bc9966c7b2f2abc3adaa721 Mon Sep 17 00:00:00 2001
From: Aoba's Phone <neko.aoba.suzukaze@gmail.com>
Date: Mon, 30 Mar 2020 01:02:03 +0700
Subject: [PATCH 2/3] Added timeago for Thai
---
static/timeago-locale/jquery.timeago.th.js | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 static/timeago-locale/jquery.timeago.th.js
diff --git a/static/timeago-locale/jquery.timeago.th.js b/static/timeago-locale/jquery.timeago.th.js
new file mode 100644
index 0000000..110da73
--- /dev/null
+++ b/static/timeago-locale/jquery.timeago.th.js
@@ -0,0 +1,20 @@
+// Thai
+jQuery.timeago.settings.strings = {
+ prefixAgo: null,
+ prefixFromNow: null,
+ suffixAgo: "ที่แล้ว",
+ suffixFromNow: "จากตอนนี้",
+ seconds: "น้อยกว่าหนึ่งนาที",
+ minute: "ประมาณหนึ่งนาที",
+ minutes: "%d นาที",
+ hour: "ประมาณหนึ่งชั่วโมง",
+ hours: "ประมาณ %d ชั่วโมง",
+ day: "หนึ่งวัน",
+ days: "%d วัน",
+ month: "ประมาณหนึ่งเดือน",
+ months: "%d เดือน",
+ year: "ประมาณหนึ่งปี",
+ years: "%d ปี",
+ wordSeparator: "",
+ numbers: []
+};
\ No newline at end of file
--
2.20.1
From e464c9bd1b3d19526070506f7cc4cba69e01fb36 Mon Sep 17 00:00:00 2001
From: Aoba's Phone <neko.aoba.suzukaze@gmail.com>
Date: Mon, 30 Mar 2020 01:05:51 +0700
Subject: [PATCH 3/3] Fix translation
---
data/locales/templates-th.po | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/locales/templates-th.po b/data/locales/templates-th.po
index 58d35da..dc7c560 100644
--- a/data/locales/templates-th.po
+++ b/data/locales/templates-th.po
@@ -137,7 +137,7 @@ msgid "The Guide (<a href='/doc/connection_guide' target='_blank'>Windows</a>, <
msgstr "วิธีเข้า (<a href='/doc/connection_guide' target='_blank'>Windows</a>, <a href='/doc/linux' target='_blank'>Linux</a>) ฉบับย่อๆ"
msgid "Download the server switcher"
-msgstr "โหลดตัวสลับเซิร์ฟเวอร์มา"
+msgstr "ดาวน์โหลดตัวสลับเซิร์ฟเวอร์"
msgid "Extract it, disable your antivirus, execute <i>RippleServerSwitcher.exe</i> <b>as administrator</b>"
msgstr "แตกไฟล์, ปิดแอนตี้ไวรัส (ถ้ามันเตือน), แล้วเปิดโปรแกรม <i>RippleServerSwitcher.exe</i> ในฐานะ <b>แอดมิน</b>"
--
2.20.1