Logger.error("\(self.logTag) could not determine CloudKit account status:\(String(describing:error)).")
OWSAlerts.showErrorAlert(withMessage:NSLocalizedString("CLOUDKIT_STATUS_COULD_NOT_DETERMINE",comment:"Error indicating that the app could not determine that user's CloudKit account status"))
OWSAlerts.showErrorAlert(message:NSLocalizedString("CLOUDKIT_STATUS_COULD_NOT_DETERMINE",comment:"Error indicating that the app could not determine that user's CloudKit account status"))
completion(false)
case.noAccount:
Logger.error("\(self.logTag) no CloudKit account.")
OWSAlerts.showErrorAlert(withMessage:NSLocalizedString("CLOUDKIT_STATUS_NO_ACCOUNT",comment:"Error indicating that user does not have an iCloud account."))
OWSAlerts.showErrorAlert(message:NSLocalizedString("CLOUDKIT_STATUS_NO_ACCOUNT",comment:"Error indicating that user does not have an iCloud account."))
OWSAlerts.showErrorAlert(withMessage:NSLocalizedString("CLOUDKIT_STATUS_RESTRICTED",comment:"Error indicating that the app was prevented from accessing the user's CloudKit account."))
OWSAlerts.showErrorAlert(message:NSLocalizedString("CLOUDKIT_STATUS_RESTRICTED",comment:"Error indicating that the app was prevented from accessing the user's CloudKit account."))
/* Indicates that the cloud is being cleaned up. */
"BACKUP_EXPORT_PHASE_CLEAN_UP" = "Cleaning up backup data.";
/* Format for message indicating that backup export is complete. Embeds: {{the backup password}}. */
"BACKUP_EXPORT_PASSWORD_MESSAGE_FORMAT" = "Your backup password is: %@. Make sure to keep a copy of this password or you won't be able to restore from this backup.";
/* Indicates that the backup export is being configured. */
/* Footer label explanation of the remove metadata setting. */
"SETTINGS_REMOVE_METADATA_DETAIL" = "Removes user-identifying metadata and GPS information when sending image and video messages.";
/* No comment provided by engineer. */
"SETTINGS_SCREEN_SECURITY_DETAIL" = "Prevent Signal previews from appearing in the app switcher.";
/* Settings table section footer. */
"SETTINGS_SECTION_CALL_KIT_DESCRIPTION" = "iOS Call Integration shows Signal calls on your lock screen and in the system's call history. You may optionally show your contact's name and number. If iCloud is enabled, this call history will be shared with Apple.";