Clarify that use backup means restore

"Use key backup" feels like it's telling me I haven't set it up at all. This
changes to "Restore ..." which seems more reassuring.

Fixes https://github.com/vector-im/riot-web/issues/9438
This commit is contained in:
J. Ryan Stinnett 2019-04-12 12:38:35 +01:00
parent c0cf6a35c6
commit 9a59b0d390
2 changed files with 1 additions and 3 deletions

View file

@ -176,7 +176,7 @@ export default class KeyBackupPanel extends React.PureComponent {
} else if (this.state.backupInfo) {
const EmojiText = sdk.getComponent('elements.EmojiText');
let clientBackupStatus;
let restoreButtonCaption = _t("Restore from Backup");
const restoreButtonCaption = _t("Restore from Backup");
if (MatrixClientPeg.get().getKeyBackupEnabled()) {
clientBackupStatus = <div>
@ -192,7 +192,6 @@ export default class KeyBackupPanel extends React.PureComponent {
)}</p>
<p>{_t("Back up your keys before signing out to avoid losing them.")}</p>
</div>;
restoreButtonCaption = _t("Use key backup");
}
let uploadStatus;