Right name for security key and fix cancel button
This commit is contained in:
parent
15ebaa1470
commit
b74674ced8
2 changed files with 3 additions and 2 deletions
|
@ -295,7 +295,7 @@ export default class AccessSecretStorageDialog extends React.PureComponent {
|
||||||
<div className="mx_AccessSecretStorageDialog_recoveryKeyEntry_textInput">
|
<div className="mx_AccessSecretStorageDialog_recoveryKeyEntry_textInput">
|
||||||
<Field
|
<Field
|
||||||
type="text"
|
type="text"
|
||||||
label={_t('Recovery Key')}
|
label={_t('Security Key')}
|
||||||
value={this.state.recoveryKey}
|
value={this.state.recoveryKey}
|
||||||
onChange={this._onRecoveryKeyChange}
|
onChange={this._onRecoveryKeyChange}
|
||||||
/>
|
/>
|
||||||
|
@ -319,6 +319,8 @@ export default class AccessSecretStorageDialog extends React.PureComponent {
|
||||||
primaryButton={_t('Continue')}
|
primaryButton={_t('Continue')}
|
||||||
onPrimaryButtonClick={this._onRecoveryKeyNext}
|
onPrimaryButtonClick={this._onRecoveryKeyNext}
|
||||||
hasCancel={true}
|
hasCancel={true}
|
||||||
|
cancelButton={_t("Go Back")}
|
||||||
|
cancelButtonClass='danger'
|
||||||
onCancel={this._onCancel}
|
onCancel={this._onCancel}
|
||||||
focus={false}
|
focus={false}
|
||||||
primaryDisabled={!this.state.recoveryKeyValid}
|
primaryDisabled={!this.state.recoveryKeyValid}
|
||||||
|
|
|
@ -1796,7 +1796,6 @@
|
||||||
"Enter your Security Phrase or <button>Use your Security Key</button> to continue.": "Enter your Security Phrase or <button>Use your Security Key</button> to continue.",
|
"Enter your Security Phrase or <button>Use your Security Key</button> to continue.": "Enter your Security Phrase or <button>Use your Security Key</button> to continue.",
|
||||||
"Security Key": "Security Key",
|
"Security Key": "Security Key",
|
||||||
"Use your Security Key to continue.": "Use your Security Key to continue.",
|
"Use your Security Key to continue.": "Use your Security Key to continue.",
|
||||||
"Recovery Key": "Recovery Key",
|
|
||||||
"Restoring keys from backup": "Restoring keys from backup",
|
"Restoring keys from backup": "Restoring keys from backup",
|
||||||
"Fetching keys from server...": "Fetching keys from server...",
|
"Fetching keys from server...": "Fetching keys from server...",
|
||||||
"%(completed)s of %(total)s keys restored": "%(completed)s of %(total)s keys restored",
|
"%(completed)s of %(total)s keys restored": "%(completed)s of %(total)s keys restored",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue