Make error string less technical

pull/21833/head
David Baker 2019-01-21 17:41:55 +00:00
parent 0a2b79b62d
commit 1a9c3f1ac7
2 changed files with 2 additions and 3 deletions

View File

@ -189,8 +189,7 @@ export default React.createClass({
let failedToDecrypt;
content = <div>
<p>{_t(
"Failed to decrypt any sessions: check that the recovery key " +
"used is the correct one for this backup."
"Backup restore failed: please verify that you entered the correct recovery key.",
)}</p>
</div>;
} else if (this.state.recoverInfo) {

View File

@ -1047,7 +1047,7 @@
"Unable to restore backup": "Unable to restore backup",
"No backup found!": "No backup found!",
"Error Restoring Backup": "Error Restoring Backup",
"Failed to decrypt any sessions: check that the recovery key used is the correct one for this backup.": "Failed to decrypt any sessions: check that the recovery key used is the correct one for this backup.",
"Backup restore failed: please verify that you entered the correct recovery key.": "Backup restore failed: please verify that you entered the correct recovery key.",
"Backup Restored": "Backup Restored",
"Failed to decrypt %(failedCount)s sessions!": "Failed to decrypt %(failedCount)s sessions!",
"Restored %(sessionCount)s session keys": "Restored %(sessionCount)s session keys",