diff --git a/README.md b/README.md index 53eef44..dfb8286 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ These options can be configured by setting environment variables using `-e KEY=" | `WG_POST_UP` | `...` | `iptables ...` | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L20) for the default value. | | `WG_PRE_DOWN` | `...` | - | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L27) for the default value. | | `WG_POST_DOWN` | `...` | `iptables ...` | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L28) for the default value. | -| `LANG` | `en` | `de` | Web UI language (Supports: en, ua, ru, tr, no, pl, fr, de, ca, es, ko, vi, nl, is, pt, chs, cht, it). | +| `LANG` | `en` | `de` | Web UI language (Supports: en, ua, ru, tr, no, pl, fr, de, ca, es, ko, vi, nl, is, pt, chs, cht, it, th). | > If you change `WG_PORT`, make sure to also change the exposed port. diff --git a/docker-compose.yml b/docker-compose.yml index 57f829e..6439043 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: wg-easy: environment: # Change Language: - # (Supports: en, ua, ru, tr, no, pl, fr, de, ca, es, ko, vi, nl, is, pt, chs, cht, it) + # (Supports: en, ua, ru, tr, no, pl, fr, de, ca, es, ko, vi, nl, is, pt, chs, cht, it, th) - LANG=de # ⚠️ Required: # Change this to your host's public address diff --git a/src/www/js/i18n.js b/src/www/js/i18n.js index c9a3151..7610202 100644 --- a/src/www/js/i18n.js +++ b/src/www/js/i18n.js @@ -488,4 +488,31 @@ const messages = { // eslint-disable-line no-unused-vars madeBy: 'Realizzato da', donate: 'Donazione', }, + th: { + name: 'ชื่อ', + password: 'รหัสผ่าน', + signIn: 'ลงชื่อเข้าใช้', + logout: 'ออกจากระบบ', + updateAvailable: 'มีอัปเดตพร้อมใช้งาน!', + update: 'อัปเดต', + clients: 'Clients', + new: 'ใหม่', + deleteClient: 'ลบ Client', + deleteDialog1: 'คุณแน่ใจหรือไม่ว่าต้องการลบ', + deleteDialog2: 'การกระทำนี้;ไม่สามารถยกเลิกได้', + cancel: 'ยกเลิก', + create: 'สร้าง', + createdOn: 'สร้างเมื่อ ', + lastSeen: 'เห็นครั้งสุดท้ายเมื่อ ', + totalDownload: 'ดาวน์โหลดทั้งหมด: ', + totalUpload: 'อัพโหลดทั้งหมด: ', + newClient: 'Client ใหม่', + disableClient: 'ปิดการใช้งาน Client', + enableClient: 'เปิดการใช้งาน Client', + noClients: 'ยังไม่มี Clients เลย', + showQR: 'แสดงรหัส QR', + downloadConfig: 'ดาวน์โหลดการตั้งค่า', + madeBy: 'สร้างโดย', + donate: 'บริจาค', + }, };