An open-source cross-platform alternative to AirDrop
Update Thai language latest (#916)
watchakorn-18k1754c2d945ef
diff --git a/.gitignore b/.gitignoreindex 08564251..7fb0a795 100644--- a/.gitignore+++ b/.gitignore@@ -7,4 +7,4 @@.refena_inspector/-/secrets+/secrets\ No newline at end of filediff --git a/app/assets/i18n/_missing_translations_th.json b/app/assets/i18n/_missing_translations_th.jsonindex 676e7a04..ab20ca6f 100644--- a/app/assets/i18n/_missing_translations_th.json+++ b/app/assets/i18n/_missing_translations_th.json@@ -2,30 +2,5 @@"@@info": ["Here are translations that exist in <en> but not in <th>.","After editing this file, you can run 'dart run slang apply --locale=th' to quickly apply the newly added translations."- ],- "settingsTab": {- "other": {- "title": "Other",- "support": "Support LocalSend",- "donate": "Donate",- "privacyPolicy": "Privacy Policy",- "termsOfUse": "Terms of Use"- }- },- "aboutPage": {- "description": [- "LocalSend is a free, open-source app that allows you to securely share files and messages with nearby devices over your local network without needing an internet connection.",- "This app is available on Android, iOS, macOS, Windows and Linux. You can find all download options on the official homepage."- ],- "author": "Author",- "contributors": "Contributors",- "translators": "Translators"- },- "donationPage": {- "title": "Donate",- "info": "LocalSend is free, open source and without any ads. If you like the app, you can support the development with a donation.",- "donate": "Donate {amount}",- "thanks": "Thank you very much!",- "restore": "Restore purchase"- }+ ]}diff --git a/app/assets/i18n/strings_th.i18n.json b/app/assets/i18n/strings_th.i18n.jsonindex 0f4653e3..fae15026 100644--- a/app/assets/i18n/strings_th.i18n.json+++ b/app/assets/i18n/strings_th.i18n.json@@ -123,6 +123,13 @@"multicastGroup": "มัลติคาสต์","multicastGroupWarning": "อุปกรณ์อื่นอาจตรวจไม่พบเนื่องจากคุณใช้ที่อยู่มัลติคาสต์แบบกำหนดเอง (default: {defaultMulticast})"},+ "other": {+ "title": "อื่นๆ",+ "support": "สนับสนุน LocalSend",+ "donate": "บริจาค",+ "privacyPolicy": "นโยบายความเป็นส่วนตัว",+ "termsOfUse": "ข้อกำหนดการใช้งาน"+ },"advancedSettings": "ตั้งค่าขั้นสูง"},"troubleshootPage": {@@ -213,7 +220,21 @@"pendingRequests": "คำขอที่รอดำเนินการ: {n}"},"aboutPage": {- "title": "เกี่ยวกับ LocalSend"+ "title": "เกี่ยวกับ LocalSend",+ "description": [+ "LocalSend เป็นแอปโอเพ่นซอร์สฟรีที่ช่วยให้คุณแบ่งปันไฟล์และข้อความอย่างปลอดภัยกับอุปกรณ์ใกล้เคียงผ่านเครือข่ายท้องถิ่นของคุณโดยไม่จำเป็นต้องเชื่อมต่ออินเทอร์เน็ต",+ "แอปนี้พร้อมใช้งานบน Android, iOS, macOS, Windows และ Linux คุณสามารถค้นหาตัวเลือกการดาวน์โหลดทั้งหมดได้จากหน้าแรกของเว็บไซต์ที่ทางการ"+ ],+ "author": "ผู้เขียน",+ "contributors": "ผู้มีส่วนร่วม",+ "translators": "ผู้แปล"+ },+ "donationPage": {+ "title": "บริจาค",+ "info": "LocalSend เป็นบริการโอเพ่นซอร์สฟรีและไม่มีโฆษณา หากคุณชอบแอพนี้ คุณสามารถสนับสนุนการพัฒนาด้วยการบริจาค",+ "donate": "บริจาค {amount}",+ "thanks": "ขอบคุณมาก!",+ "restore": "คืนค่าการซื้อ"},"changelogPage": {"title": "บันทึกการเปลี่ยนแปลง"diff --git a/app/lib/gen/strings_th.g.dart b/app/lib/gen/strings_th.g.dartindex 2543f49e..d08cf534 100644--- a/app/lib/gen/strings_th.g.dart+++ b/app/lib/gen/strings_th.g.dart@@ -37,6 +37,7 @@ class _StringsTh extends _StringsEn {@override late final _StringsProgressPageTh progressPage = _StringsProgressPageTh._(_root);@override late final _StringsWebSharePageTh webSharePage = _StringsWebSharePageTh._(_root);@override late final _StringsAboutPageTh aboutPage = _StringsAboutPageTh._(_root);+ @override late final _StringsDonationPageTh donationPage = _StringsDonationPageTh._(_root);@override late final _StringsChangelogPageTh changelogPage = _StringsChangelogPageTh._(_root);@override late final _StringsAliasGeneratorTh aliasGenerator = _StringsAliasGeneratorTh._(_root);@override late final _StringsDialogsTh dialogs = _StringsDialogsTh._(_root);@@ -134,6 +135,7 @@ class _StringsSettingsTabTh extends _StringsSettingsTabEn {@override late final _StringsSettingsTabGeneralTh general = _StringsSettingsTabGeneralTh._(_root);@override late final _StringsSettingsTabReceiveTh receive = _StringsSettingsTabReceiveTh._(_root);@override late final _StringsSettingsTabNetworkTh network = _StringsSettingsTabNetworkTh._(_root);+ @override late final _StringsSettingsTabOtherTh other = _StringsSettingsTabOtherTh._(_root);@override String get advancedSettings => 'ตั้งค่าขั้นสูง';}@@ -274,6 +276,27 @@ class _StringsAboutPageTh extends _StringsAboutPageEn {// Translations@override String get title => 'เกี่ยวกับ LocalSend';+ @override List<String> get description => [+ 'LocalSend เป็นแอปโอเพ่นซอร์สฟรีที่ช่วยให้คุณแบ่งปันไฟล์และข้อความอย่างปลอดภัยกับอุปกรณ์ใกล้เคียงผ่านเครือข่ายท้องถิ่นของคุณโดยไม่จำเป็นต้องเชื่อมต่ออินเทอร์เน็ต',+ 'แอปนี้พร้อมใช้งานบน Android, iOS, macOS, Windows และ Linux คุณสามารถค้นหาตัวเลือกการดาวน์โหลดทั้งหมดได้จากหน้าแรกของเว็บไซต์ที่ทางการ',+ ];+ @override String get author => 'ผู้เขียน';+ @override String get contributors => 'ผู้มีส่วนร่วม';+ @override String get translators => 'ผู้แปล';+}++// Path: donationPage+class _StringsDonationPageTh extends _StringsDonationPageEn {+ _StringsDonationPageTh._(_StringsTh root) : this._root = root, super._(root);++ @override final _StringsTh _root; // ignore: unused_field++ // Translations+ @override String get title => 'บริจาค';+ @override String get info => 'LocalSend เป็นบริการโอเพ่นซอร์สฟรีและไม่มีโฆษณา หากคุณชอบแอพนี้ คุณสามารถสนับสนุนการพัฒนาด้วยการบริจาค';+ @override String donate({required Object amount}) => 'บริจาค ${amount}';+ @override String get thanks => 'ขอบคุณมาก!';+ @override String get restore => 'คืนค่าการซื้อ';}// Path: changelogPage@@ -565,6 +588,20 @@ class _StringsSettingsTabNetworkTh extends _StringsSettingsTabNetworkEn {@override String multicastGroupWarning({required Object defaultMulticast}) => 'อุปกรณ์อื่นอาจตรวจไม่พบเนื่องจากคุณใช้ที่อยู่มัลติคาสต์แบบกำหนดเอง (default: ${defaultMulticast})';}+// Path: settingsTab.other+class _StringsSettingsTabOtherTh extends _StringsSettingsTabOtherEn {+ _StringsSettingsTabOtherTh._(_StringsTh root) : this._root = root, super._(root);++ @override final _StringsTh _root; // ignore: unused_field++ // Translations+ @override String get title => 'อื่นๆ';+ @override String get support => 'สนับสนุน LocalSend';+ @override String get donate => 'บริจาค';+ @override String get privacyPolicy => 'นโยบายความเป็นส่วนตัว';+ @override String get termsOfUse => 'ข้อกำหนดการใช้งาน';+}+// Path: troubleshootPage.firewallclass _StringsTroubleshootPageFirewallTh extends _StringsTroubleshootPageFirewallEn {_StringsTroubleshootPageFirewallTh._(_StringsTh root) : this._root = root, super._(root);diff --git a/app/lib/pages/about/translators.dart b/app/lib/pages/about/translators.dartindex b8923c4c..a744f6e7 100644--- a/app/lib/pages/about/translators.dart+++ b/app/lib/pages/about/translators.dart@@ -20,6 +20,7 @@ const _translators = <AppLocale, List<String>>{AppLocale.km: ['Chandara H. Wei (@nidexingg)'],AppLocale.ko: ['@mgmix'],AppLocale.ptBr: ['Gabriel Lima (@TheGB0077)'],+ AppLocale.th: ['(@watchakorn-18k)'],AppLocale.tr: ['Mert Şişmanoğlu (@mertssmnoglu)'],AppLocale.ru: ['Sergiy Tkachuk (@sergd88)'],AppLocale.uk: ['Sergiy Tkachuk (@sergd88)'],