Skip to content

Commit

Permalink
Clarify that use backup means restore
Browse files Browse the repository at this point in the history
"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 element-hq/element-web#9438
  • Loading branch information
jryans committed Apr 12, 2019
1 parent 86a6037 commit 0b671e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/views/settings/KeyBackupPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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;
Expand Down
1 change: 0 additions & 1 deletion src/i18n/strings/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@
"This device is backing up your keys. ": "This device is backing up your keys. ",
"This device is <b>not backing up your keys</b>.": "This device is <b>not backing up your keys</b>.",
"Back up your keys before signing out to avoid losing them.": "Back up your keys before signing out to avoid losing them.",
"Use key backup": "Use key backup",
"Backing up %(sessionsRemaining)s keys...": "Backing up %(sessionsRemaining)s keys...",
"All keys backed up": "All keys backed up",
"Backup has a signature from <verify>unknown</verify> device with ID %(deviceId)s.": "Backup has a signature from <verify>unknown</verify> device with ID %(deviceId)s.",
Expand Down

0 comments on commit 0b671e7

Please sign in to comment.