mobile: add Thai language

This commit is contained in:
Evgeny Poberezkin 2023-08-22 00:06:01 +01:00
parent 3145095611
commit 55eab0976e
17 changed files with 6479 additions and 2746 deletions

View File

@ -0,0 +1,15 @@
{
"colors" : [
{
"idiom" : "universal",
"locale" : "th"
}
],
"properties" : {
"localizable" : true
},
"info" : {
"version" : 1,
"author" : "xcode"
}
}

View File

@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@ -0,0 +1,23 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"red" : "0.000",
"alpha" : "1.000",
"blue" : "1.000",
"green" : "0.533"
}
},
"idiom" : "universal"
}
],
"properties" : {
"localizable" : true
},
"info" : {
"version" : 1,
"author" : "xcode"
}
}

View File

@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@ -0,0 +1,6 @@
/* Bundle display name */
"CFBundleDisplayName" = "SimpleX NSE";
/* Bundle name */
"CFBundleName" = "SimpleX NSE";
/* Copyright (human-readable) */
"NSHumanReadableCopyright" = "Copyright © 2022 SimpleX Chat. All rights reserved.";

View File

@ -0,0 +1,30 @@
/* No comment provided by engineer. */
"_italic_" = "\\_italic_";
/* No comment provided by engineer. */
"**Add new contact**: to create your one-time QR Code for your contact." = "**Add new contact**: to create your one-time QR Code or link for your contact.";
/* No comment provided by engineer. */
"*bold*" = "\\*bold*";
/* No comment provided by engineer. */
"`a + b`" = "\\`a + b`";
/* No comment provided by engineer. */
"~strike~" = "\\~strike~";
/* call status */
"connecting call" = "connecting call…";
/* No comment provided by engineer. */
"Connecting server…" = "Connecting to server…";
/* No comment provided by engineer. */
"Connecting server… (error: %@)" = "Connecting to server… (error: %@)";
/* rcv group event chat item */
"member connected" = "connected";
/* No comment provided by engineer. */
"No group!" = "Group not found!";

View File

@ -0,0 +1,10 @@
/* Bundle name */
"CFBundleName" = "SimpleX";
/* Privacy - Camera Usage Description */
"NSCameraUsageDescription" = "SimpleX needs camera access to scan QR codes to connect to other users and for video calls.";
/* Privacy - Face ID Usage Description */
"NSFaceIDUsageDescription" = "SimpleX uses Face ID for local authentication";
/* Privacy - Microphone Usage Description */
"NSMicrophoneUsageDescription" = "SimpleX needs microphone access for audio and video calls, and to record voice messages.";
/* Privacy - Photo Library Additions Usage Description */
"NSPhotoLibraryAddUsageDescription" = "SimpleX needs access to Photo Library for saving captured and received media";

View File

@ -0,0 +1,12 @@
{
"developmentRegion" : "en",
"project" : "SimpleX.xcodeproj",
"targetLocale" : "th",
"toolInfo" : {
"toolBuildNumber" : "15A5219j",
"toolID" : "com.apple.dt.xcode",
"toolName" : "Xcode",
"toolVersion" : "15.0"
},
"version" : "1.0"
}

View File

@ -0,0 +1,9 @@
/* Bundle display name */
"CFBundleDisplayName" = "SimpleX NSE";
/* Bundle name */
"CFBundleName" = "SimpleX NSE";
/* Copyright (human-readable) */
"NSHumanReadableCopyright" = "ลิขสิทธิ์ © 2022 SimpleX Chat สงวนลิขสิทธิ์";

View File

@ -0,0 +1 @@

View File

@ -346,6 +346,10 @@
5CA059D7279559F40002BEB4 /* Tests iOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Tests iOS.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
5CA059DB279559F40002BEB4 /* Tests_iOS.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests_iOS.swift; sourceTree = "<group>"; };
5CA059DD279559F40002BEB4 /* Tests_iOSLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests_iOSLaunchTests.swift; sourceTree = "<group>"; };
5CA3ED4D2A942170005D71E2 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/Localizable.strings; sourceTree = "<group>"; };
5CA3ED4E2A942170005D71E2 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/Localizable.strings; sourceTree = "<group>"; };
5CA3ED4F2A9422D1005D71E2 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = th; path = "th.lproj/SimpleX--iOS--InfoPlist.strings"; sourceTree = "<group>"; };
5CA3ED502A9422D1005D71E2 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/InfoPlist.strings; sourceTree = "<group>"; };
5CA7DFC229302AF000F7FDDE /* AppSheet.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppSheet.swift; sourceTree = "<group>"; };
5CA85D0A297218AA0095AF72 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Localizable.strings; sourceTree = "<group>"; };
5CA85D0B297218AA0095AF72 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Localizable.strings; sourceTree = "<group>"; };
@ -1012,6 +1016,7 @@
es,
pl,
ja,
th,
);
mainGroup = 5CA059BD279559F40002BEB4;
packageReferences = (
@ -1292,6 +1297,7 @@
5C65DAED29CB8908003CEE45 /* es */,
5C6D183329E93FBA00D430B3 /* pl */,
5CAC411B2A192DE800C331A2 /* ja */,
5CA3ED502A9422D1005D71E2 /* th */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
@ -1310,6 +1316,7 @@
5C65DAEB29CB8867003CEE45 /* es */,
5CAB912629E93F9400F34A95 /* pl */,
5CAC41192A192D8400C331A2 /* ja */,
5CA3ED4E2A942170005D71E2 /* th */,
);
name = Localizable.strings;
sourceTree = "<group>";
@ -1328,6 +1335,7 @@
5C65DAEA29CB8867003CEE45 /* es */,
5CAB912529E93F9400F34A95 /* pl */,
5CAC41182A192D8400C331A2 /* ja */,
5CA3ED4D2A942170005D71E2 /* th */,
);
name = Localizable.strings;
sourceTree = "<group>";
@ -1345,6 +1353,7 @@
5C65DAEC29CB8908003CEE45 /* es */,
5C6D183229E93FBA00D430B3 /* pl */,
5CAC411A2A192DE800C331A2 /* ja */,
5CA3ED4F2A9422D1005D71E2 /* th */,
);
name = "SimpleX--iOS--InfoPlist.strings";
sourceTree = "<group>";

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,15 @@
/* Bundle name */
"CFBundleName" = "SimpleX";
/* Privacy - Camera Usage Description */
"NSCameraUsageDescription" = "SimpleX ต้องการการเข้าถึงกล้องเพื่อสแกนรหัสคิวอาร์เพื่อเชื่อมต่อกับผู้ใช้รายอื่นและสำหรับการโทรวิดีโอ";
/* Privacy - Face ID Usage Description */
"NSFaceIDUsageDescription" = "SimpleX ใช้ Face ID สำหรับการรับรองความถูกต้องในเครื่อง";
/* Privacy - Microphone Usage Description */
"NSMicrophoneUsageDescription" = "SimpleX ต้องการการเข้าถึงไมโครโฟนสำหรับการโทรด้วยเสียงและวิดีโอ และเพื่อบันทึกข้อความเสียง";
/* Privacy - Photo Library Additions Usage Description */
"NSPhotoLibraryAddUsageDescription" = "SimpleX ต้องการเข้าถึง Photo Library เพื่อบันทึกสื่อที่ถ่ายและได้รับ";

View File

@ -94,6 +94,7 @@ android {
"pl",
"pt-rBR",
"ru",
"th",
"zh-rCN"
)
// }

View File

@ -212,6 +212,7 @@ object AppearanceScope {
"pl" to "Polski",
"pt-BR" to "Português (Brasil)",
"ru" to "Русский",
"th" to "ภาษาไทย",
"zh-CN" to "简体中文"
)
val values by remember(ChatController.appPrefs.appLanguage.state.value) { mutableStateOf(supportedLanguages.map { it.key to it.value }) }