Different copy on done screen if we setup from scratch
This commit is contained in:
parent
30b0663eb0
commit
c0b7132404
2 changed files with 7 additions and 1 deletions
|
@ -75,6 +75,9 @@ export default class CreateSecretStorageDialog extends React.PureComponent {
|
||||||
canUploadKeysWithPasswordOnly: null,
|
canUploadKeysWithPasswordOnly: null,
|
||||||
accountPassword: '',
|
accountPassword: '',
|
||||||
accountPasswordCorrect: null,
|
accountPasswordCorrect: null,
|
||||||
|
// set if we are 'upgrading' encryption (making an SSSS store from
|
||||||
|
// an existing key backup secret).
|
||||||
|
doingUpgrade: null,
|
||||||
};
|
};
|
||||||
|
|
||||||
this._fetchBackupInfo();
|
this._fetchBackupInfo();
|
||||||
|
@ -99,6 +102,8 @@ export default class CreateSecretStorageDialog extends React.PureComponent {
|
||||||
phase,
|
phase,
|
||||||
backupInfo,
|
backupInfo,
|
||||||
backupSigStatus,
|
backupSigStatus,
|
||||||
|
// remember this after this phase so we can use appropriate copy
|
||||||
|
doingUpgrade: phase === PHASE_MIGRATE,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -668,7 +673,7 @@ export default class CreateSecretStorageDialog extends React.PureComponent {
|
||||||
case PHASE_STORING:
|
case PHASE_STORING:
|
||||||
return _t('Storing secrets...');
|
return _t('Storing secrets...');
|
||||||
case PHASE_DONE:
|
case PHASE_DONE:
|
||||||
return _t('Encryption upgraded');
|
return this.state.doingUpgrade ? _t('Encryption upgraded') : _t('Encryption setup complete');
|
||||||
default:
|
default:
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
|
@ -2008,6 +2008,7 @@
|
||||||
"Keep it safe": "Keep it safe",
|
"Keep it safe": "Keep it safe",
|
||||||
"Storing secrets...": "Storing secrets...",
|
"Storing secrets...": "Storing secrets...",
|
||||||
"Encryption upgraded": "Encryption upgraded",
|
"Encryption upgraded": "Encryption upgraded",
|
||||||
|
"Encryption setup complete": "Encryption setup complete",
|
||||||
"Unable to set up secret storage": "Unable to set up secret storage",
|
"Unable to set up secret storage": "Unable to set up secret storage",
|
||||||
"Retry": "Retry",
|
"Retry": "Retry",
|
||||||
"We'll store an encrypted copy of your keys on our server. Protect your backup with a passphrase to keep it secure.": "We'll store an encrypted copy of your keys on our server. Protect your backup with a passphrase to keep it secure.",
|
"We'll store an encrypted copy of your keys on our server. Protect your backup with a passphrase to keep it secure.": "We'll store an encrypted copy of your keys on our server. Protect your backup with a passphrase to keep it secure.",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue