Logger.error("\(self.logTag) could not determine CloudKit account status:\(String(describing:error)).")
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)
completion(false)
case.noAccount:
case.noAccount:
Logger.error("\(self.logTag) no CloudKit account.")
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."))
"BACKUP_EXPORT_PHASE_CLEAN_UP" = "Cleaning up backup data.";
/* Format for message indicating that backup export is complete. Embeds: {{the backup password}}. */
/* Indicates that the backup export is being configured. */
"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.";
/* Footer label explanation of the remove metadata setting. */
/* No comment provided by engineer. */
"SETTINGS_REMOVE_METADATA_DETAIL" = "Removes user-identifying metadata and GPS information when sending image and video messages.";
"SETTINGS_SCREEN_SECURITY_DETAIL" = "Prevent Signal previews from appearing in the app switcher.";
/* Settings table section footer. */
/* 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.";
"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.";