From 0c37282cd3d21956d6337bf711c1959195122de7 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Sat, 23 Apr 2022 11:34:08 +0100 Subject: [PATCH] ios: add translation for "Checking new messages..." test notification --- apps/ios/Shared/Model/NtfManager.swift | 4 ++-- .../en.xcloc/Localized Contents/en.xliff | 7 ++++++- .../ru.xcloc/Localized Contents/ru.xliff | 7 ++++++- apps/ios/nl.lproj/Localizable.strings | 6 ++++++ apps/ios/ru.lproj/Localizable.strings | 5 ++++- 5 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 apps/ios/nl.lproj/Localizable.strings diff --git a/apps/ios/Shared/Model/NtfManager.swift b/apps/ios/Shared/Model/NtfManager.swift index 1040a80201..176ed9bf18 100644 --- a/apps/ios/Shared/Model/NtfManager.swift +++ b/apps/ios/Shared/Model/NtfManager.swift @@ -109,14 +109,14 @@ class NtfManager: NSObject, UNUserNotificationCenterDelegate, ObservableObject { identifier: ntfCategoryMessageReceived, actions: [], intentIdentifiers: [], - hiddenPreviewsBodyPlaceholder: NSLocalizedString("New message", comment: "notifications") + hiddenPreviewsBodyPlaceholder: NSLocalizedString("New message", comment: "notification") ), // TODO remove UNNotificationCategory( identifier: ntfCategoryCheckingMessages, actions: [], intentIdentifiers: [], - hiddenPreviewsBodyPlaceholder: NSLocalizedString("Checking new messages...", comment: "notifications") + hiddenPreviewsBodyPlaceholder: NSLocalizedString("Checking new messages...", comment: "notification") ) ]) } 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 a76bc6a379..fc792ef930 100644 --- a/apps/ios/SimpleX Localizations/en.xcloc/Localized Contents/en.xliff +++ b/apps/ios/SimpleX Localizations/en.xcloc/Localized Contents/en.xliff @@ -150,6 +150,11 @@ Check messages No comment provided by engineer. + + Checking new messages... + Checking new messages... + notification + Choose from library Choose from library @@ -453,7 +458,7 @@ New message New message - notifications + notification Notifications are disabled! 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 60d98f3542..e90ec57cfb 100644 --- a/apps/ios/SimpleX Localizations/ru.xcloc/Localized Contents/ru.xliff +++ b/apps/ios/SimpleX Localizations/ru.xcloc/Localized Contents/ru.xliff @@ -150,6 +150,11 @@ Проверять сообщения No comment provided by engineer. + + Checking new messages... + Проверяются новые сообщения... + notification + Choose from library Выбрать из библиотеки @@ -453,7 +458,7 @@ New message Новое сообщение - notifications + notification Notifications are disabled! diff --git a/apps/ios/nl.lproj/Localizable.strings b/apps/ios/nl.lproj/Localizable.strings new file mode 100644 index 0000000000..97efd9d6d7 --- /dev/null +++ b/apps/ios/nl.lproj/Localizable.strings @@ -0,0 +1,6 @@ +/* No comment provided by engineer. */ +"Connecting server…" = "Connecting to server…"; + +/* No comment provided by engineer. */ +"Connecting server… (error: %@)" = "Connecting to server… (error: %@)"; + diff --git a/apps/ios/ru.lproj/Localizable.strings b/apps/ios/ru.lproj/Localizable.strings index 30fdf466bd..422d019a1f 100644 --- a/apps/ios/ru.lproj/Localizable.strings +++ b/apps/ios/ru.lproj/Localizable.strings @@ -109,6 +109,9 @@ /* No comment provided by engineer. */ "Check messages" = "Проверять сообщения"; +/* notification */ +"Checking new messages..." = "Проверяются новые сообщения..."; + /* No comment provided by engineer. */ "Choose from library" = "Выбрать из библиотеки"; @@ -301,7 +304,7 @@ /* notification */ "New contact request" = "Новый запрос на соединение"; -/* notifications */ +/* notification */ "New message" = "Новое сообщение"; /* No comment provided by engineer. */