diff --git a/res/css/views/dialogs/keybackup/_RestoreKeyBackupDialog.scss b/res/css/views/dialogs/keybackup/_RestoreKeyBackupDialog.scss index d74224c94d..5689d84bc5 100644 --- a/res/css/views/dialogs/keybackup/_RestoreKeyBackupDialog.scss +++ b/res/css/views/dialogs/keybackup/_RestoreKeyBackupDialog.scss @@ -32,7 +32,7 @@ limitations under the License. padding: 10px; } -.mx_RestoreKeyBackupDialog_content { +.mx_RestoreKeyBackupDialog_content > div { display: flex; flex-direction: column; justify-content: space-between; diff --git a/src/components/views/dialogs/keybackup/RestoreKeyBackupDialog.js b/src/components/views/dialogs/keybackup/RestoreKeyBackupDialog.js index 9829f7af8e..f1008dfcb0 100644 --- a/src/components/views/dialogs/keybackup/RestoreKeyBackupDialog.js +++ b/src/components/views/dialogs/keybackup/RestoreKeyBackupDialog.js @@ -293,10 +293,10 @@ export default class RestoreKeyBackupDialog extends React.PureComponent { } else if (this.state.progress.stage === "prefetch") { details = _t("Fetching keys from server..."); } - content = <> + content =
{_t( "Backup could not be decrypted with this recovery key: " + "please verify that you entered the correct recovery key.", )}
- >; +{_t( "Backup could not be decrypted with this recovery passphrase: " + "please verify that you entered the correct recovery passphrase.", )}
- >; +{_t("Successfully restored %(sessionCount)s keys", {sessionCount: this.state.recoverInfo.imported})}
{failedToDecrypt}{_t( "Warning: you should only set up key backup " + "from a trusted computer.", {}, @@ -394,7 +394,7 @@ export default class RestoreKeyBackupDialog extends React.PureComponent { {s} , })} - >; +
{_t( "Warning: You should only set up key backup " + "from a trusted computer.", {}, @@ -450,7 +450,7 @@ export default class RestoreKeyBackupDialog extends React.PureComponent { {s} , })} - >; +