From 6727613dc1286ca899df2a6a1255f4758db93a68 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Thu, 1 Sep 2022 11:43:17 +0100 Subject: [PATCH] ios: missing localizations (#1000) --- .../Views/Chat/Group/GroupProfileView.swift | 4 +-- .../en.xcloc/Localized Contents/en.xliff | 28 ++++++++++++++++--- .../en.xcloc/contents.json | 4 +-- .../ru.xcloc/Localized Contents/ru.xliff | 28 ++++++++++++++++--- .../ru.xcloc/contents.json | 4 +-- apps/ios/ru.lproj/Localizable.strings | 12 ++++++++ 6 files changed, 66 insertions(+), 14 deletions(-) diff --git a/apps/ios/Shared/Views/Chat/Group/GroupProfileView.swift b/apps/ios/Shared/Views/Chat/Group/GroupProfileView.swift index eedcf78d91..3d950aead6 100644 --- a/apps/ios/Shared/Views/Chat/Group/GroupProfileView.swift +++ b/apps/ios/Shared/Views/Chat/Group/GroupProfileView.swift @@ -25,7 +25,7 @@ struct GroupProfileView: View { var body: some View { return VStack(alignment: .leading) { Text("Group profile is stored on members' devices, not on the servers.") - .padding(.bottom) + .padding(.vertical) ZStack(alignment: .center) { ZStack(alignment: .topTrailing) { @@ -109,7 +109,7 @@ struct GroupProfileView: View { .onTapGesture { hideKeyboard() } } - func profileNameTextEdit(_ label: String, _ name: Binding) -> some View { + func profileNameTextEdit(_ label: LocalizedStringKey, _ name: Binding) -> some View { TextField(label, text: name) .textInputAutocapitalization(.never) .disableAutocorrection(true) diff --git a/apps/ios/SimpleX Localizations/en.xcloc/Localized Contents/en.xliff b/apps/ios/SimpleX Localizations/en.xcloc/Localized Contents/en.xliff index 7ef483a497..3dba7fc0b4 100644 --- a/apps/ios/SimpleX Localizations/en.xcloc/Localized Contents/en.xliff +++ b/apps/ios/SimpleX Localizations/en.xcloc/Localized Contents/en.xliff @@ -2,7 +2,7 @@
- +
@@ -346,7 +346,7 @@ Chats Chats - No comment provided by engineer. + back button to return to chats list Choose file @@ -533,6 +533,11 @@ Currently maximum supported file size is %@. No comment provided by engineer. + + Dark + Dark + No comment provided by engineer. + Database ID Database ID @@ -1143,6 +1148,11 @@ We will be adding server redundancy to prevent lost messages. Leave group? No comment provided by engineer. + + Light + Light + No comment provided by engineer. + Limitations Limitations @@ -1728,6 +1738,11 @@ We will be adding server redundancy to prevent lost messages. Stop chat? No comment provided by engineer. + + System + System + No comment provided by engineer. + TCP connection timeout TCP connection timeout @@ -1828,6 +1843,11 @@ We will be adding server redundancy to prevent lost messages. The sender will NOT be notified No comment provided by engineer. + + Theme + Theme + No comment provided by engineer. + This action cannot be undone - your profile, contacts, messages and files will be irreversibly lost. This action cannot be undone - your profile, contacts, messages and files will be irreversibly lost. @@ -2670,7 +2690,7 @@ SimpleX servers cannot see your profile.
- +
@@ -2702,7 +2722,7 @@ SimpleX servers cannot see your profile.
- +
diff --git a/apps/ios/SimpleX Localizations/en.xcloc/contents.json b/apps/ios/SimpleX Localizations/en.xcloc/contents.json index 3e0830ec05..4429d3639d 100644 --- a/apps/ios/SimpleX Localizations/en.xcloc/contents.json +++ b/apps/ios/SimpleX Localizations/en.xcloc/contents.json @@ -3,10 +3,10 @@ "project" : "SimpleX.xcodeproj", "targetLocale" : "en", "toolInfo" : { - "toolBuildNumber" : "13E113", + "toolBuildNumber" : "13F100", "toolID" : "com.apple.dt.xcode", "toolName" : "Xcode", - "toolVersion" : "13.3" + "toolVersion" : "13.4.1" }, "version" : "1.0" } \ No newline at end of file diff --git a/apps/ios/SimpleX Localizations/ru.xcloc/Localized Contents/ru.xliff b/apps/ios/SimpleX Localizations/ru.xcloc/Localized Contents/ru.xliff index a759506256..d0ddbd1bed 100644 --- a/apps/ios/SimpleX Localizations/ru.xcloc/Localized Contents/ru.xliff +++ b/apps/ios/SimpleX Localizations/ru.xcloc/Localized Contents/ru.xliff @@ -2,7 +2,7 @@
- +
@@ -346,7 +346,7 @@ Chats Чаты - No comment provided by engineer. + back button to return to chats list Choose file @@ -533,6 +533,11 @@ Максимальный размер файла - %@. No comment provided by engineer. + + Dark + Тёмная + No comment provided by engineer. + Database ID ID базы данных @@ -1143,6 +1148,11 @@ We will be adding server redundancy to prevent lost messages. Выйти из группы? No comment provided by engineer. + + Light + Светлая + No comment provided by engineer. + Limitations Ограничения @@ -1728,6 +1738,11 @@ We will be adding server redundancy to prevent lost messages. Остановить чат? No comment provided by engineer. + + System + Системная + No comment provided by engineer. + TCP connection timeout Таймаут TCP соединения @@ -1828,6 +1843,11 @@ We will be adding server redundancy to prevent lost messages. Отправитель не будет уведомлён No comment provided by engineer. + + Theme + Тема + No comment provided by engineer. + This action cannot be undone - your profile, contacts, messages and files will be irreversibly lost. Это действие нельзя отменить — ваш профиль, контакты, сообщения и файлы будут безвозвратно утеряны. @@ -2670,7 +2690,7 @@ SimpleX серверы не могут получить доступ к ваше
- +
@@ -2702,7 +2722,7 @@ SimpleX серверы не могут получить доступ к ваше
- +
diff --git a/apps/ios/SimpleX Localizations/ru.xcloc/contents.json b/apps/ios/SimpleX Localizations/ru.xcloc/contents.json index 50ec87db4c..ab6a47f150 100644 --- a/apps/ios/SimpleX Localizations/ru.xcloc/contents.json +++ b/apps/ios/SimpleX Localizations/ru.xcloc/contents.json @@ -3,10 +3,10 @@ "project" : "SimpleX.xcodeproj", "targetLocale" : "ru", "toolInfo" : { - "toolBuildNumber" : "13E113", + "toolBuildNumber" : "13F100", "toolID" : "com.apple.dt.xcode", "toolName" : "Xcode", - "toolVersion" : "13.3" + "toolVersion" : "13.4.1" }, "version" : "1.0" } \ No newline at end of file diff --git a/apps/ios/ru.lproj/Localizable.strings b/apps/ios/ru.lproj/Localizable.strings index 64a8b5b201..bed8f2d341 100644 --- a/apps/ios/ru.lproj/Localizable.strings +++ b/apps/ios/ru.lproj/Localizable.strings @@ -404,6 +404,9 @@ /* No comment provided by engineer. */ "Currently maximum supported file size is %@." = "Максимальный размер файла - %@."; +/* No comment provided by engineer. */ +"Dark" = "Тёмная"; + /* No comment provided by engineer. */ "Database export & import" = "Экспорт и импорт архива чата"; @@ -824,6 +827,9 @@ /* rcv group event chat item */ "left" = "покинул(а) группу"; +/* No comment provided by engineer. */ +"Light" = "Светлая"; + /* No comment provided by engineer. */ "Limitations" = "Ограничения"; @@ -1232,6 +1238,9 @@ /* No comment provided by engineer. */ "strike" = "зачеркнуть"; +/* No comment provided by engineer. */ +"System" = "Системная"; + /* No comment provided by engineer. */ "Take picture" = "Сделать фото"; @@ -1292,6 +1301,9 @@ /* No comment provided by engineer. */ "The sender will NOT be notified" = "Отправитель не будет уведомлён"; +/* No comment provided by engineer. */ +"Theme" = "Тема"; + /* No comment provided by engineer. */ "This action cannot be undone - your profile, contacts, messages and files will be irreversibly lost." = "Это действие нельзя отменить — ваш профиль, контакты, сообщения и файлы будут безвозвратно утеряны.";