nayooti před 5 roky
rodič
revize
16c62a4ec0

+ 2 - 3
deltachat-ios/Controller/WelcomeViewController.swift

@@ -135,10 +135,9 @@ class WelcomeViewController: UIViewController, ProgressAlertHandler {
         if success {
             if let loginCompletion = self.onProgressSuccess {
                 addProgressAlertListener(onSuccess: loginCompletion)
-                showProgressAlert(title: String.localized("qraccount_use_on_new_install"))
+                showProgressAlert(title: String.localized("login_header"))
             }
             dcContext.configure()
-
         } else {
             accountCreationErrorAlert()
         }
@@ -151,7 +150,7 @@ class WelcomeViewController: UIViewController, ProgressAlertHandler {
             })
         }
 
-        let title = String.localized("qraccount_creation_failed")
+        let title = AppDelegate.lastErrorString ?? String.localized("error")
         let alert = UIAlertController(title: title, message: nil, preferredStyle: .alert)
         let okAction = UIAlertAction(
             title: String.localized("ok"),

+ 0 - 1
tools/untranslated.xml

@@ -5,5 +5,4 @@
     <string name="import_contacts">Import device contacts</string>
     <string name="import_contacts_message">To chat with contacts from your device open Settings and enable Contacts.</string>
     <string name="stop_sharing_location">Stop sharing location</string>
-    <string  name="qraccount_config_failed">Account creation failed.</string>
 </resources>