chore: add Thai language (#3985)

* Added Thai language

* Complete Thai translation

* feat: Added Thai translation

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
This commit is contained in:
watchakorn-18k 2023-11-23 11:40:09 +07:00 committed by GitHub
parent 8b81889bcf
commit 5fea801a88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 1103 additions and 0 deletions

1
flutter Submodule

@ -0,0 +1 @@
Subproject commit db7ef5bf9f59442b0e200a90587e8fa5e0c6336a

View File

@ -66,6 +66,7 @@ class InitAppWidgetTask extends LaunchTask {
Locale('pt', 'BR'),
Locale('ru', 'RU'),
Locale('sv'),
Locale('th', 'TH'),
Locale('tr', 'TR'),
Locale('uk', 'UA'),
Locale('ur'),

View File

@ -55,6 +55,8 @@ String languageFromLocale(Locale locale) {
return "русский";
case "sv":
return "Svenska";
case "th":
return "ไทย";
case "tr":
return "Türkçe";
case "fa":

View File

@ -16,6 +16,7 @@ const languages = [
'pt-PT',
'ru-RU',
'sv-SE',
'th-TH',
'tr-TR',
'zh-CN',
'zh-TW',

View File

@ -23,6 +23,7 @@ const supportedLanguages: { key: string; title: string }[] = [
{ key: 'pt-PT', title: 'pt-PT' },
{ key: 'ru-RU', title: 'ru-RU' },
{ key: 'sv', title: 'sv' },
{ key: 'th-TH', title: 'th-TH' },
{ key: 'tr-TR', title: 'tr-TR' },
{ key: 'zh-CN', title: 'zh-CN' },
{ key: 'zh-TW', title: 'zh-TW' },

View File

@ -25,6 +25,7 @@ const languages = [
{ key: 'pt-PT', title: 'Português' },
{ key: 'ru-RU', title: 'Русский' },
{ key: 'sv', title: 'Svenska' },
{ key: 'th-TH', title: 'ไทย' },
{ key: 'tr-TR', title: 'Türkçe' },
{ key: 'zh-CN', title: '简体中文' },
{ key: 'zh-TW', title: '繁體中文' },

File diff suppressed because it is too large Load Diff