浏览代码

localize string to add an encrypted account

cyberta 2 年之前
父节点
当前提交
9b688509d9

+ 1 - 1
deltachat-ios/Controller/WelcomeViewController.swift

@@ -231,7 +231,7 @@ class WelcomeViewController: UIViewController, ProgressAlertHandler {
                 logger.error("Failed to open account database for account \(dcContext.id)")
                 return
             }
-            self.navigationItem.title = "Add encrypted account"
+            self.navigationItem.title = String.localized("add_encrypted_account")
         } catch KeychainError.unhandledError(let message, let status) {
             logger.error("Keychain error. Failed to create encrypted account. \(message). Error status: \(status)")
         } catch {

+ 1 - 0
deltachat-ios/en.lproj/Localizable.strings

@@ -987,3 +987,4 @@
 "shortcut_add_to_home_description" = "Select - Add to Home Screen - to add the app to your home screen.";
 "connectivity_low_data_mode" = "Disabled by system's \"Low Data Mode\".";
 "connectivity_low_power_mode" = "Disabled by system's \"Low Power Mode\".";
+"add_encrypted_account" = "Add encrypted account";

+ 1 - 0
scripts/untranslated.xml

@@ -7,4 +7,5 @@
     <string name ="shortcut_add_to_home_description">Select - Add to Home Screen - to add the app to your home screen.</string>
     <string name="connectivity_low_data_mode">Disabled by system's \"Low Data Mode\".</string>
     <string name="connectivity_low_power_mode">Disabled by system's \"Low Power Mode\".</string>
+    <string name="add_encrypted_account">Add encrypted account</string>
 </resources>