mirror of https://github.com/vector-im/riot-web
parent
af59c1b5b3
commit
e942a35525
|
@ -125,7 +125,8 @@ export default class AccessSecretStorageDialog extends React.PureComponent {
|
||||||
if (this.state.keyMatches === false) {
|
if (this.state.keyMatches === false) {
|
||||||
keyStatus = <div className="mx_AccessSecretStorageDialog_keyStatus">
|
keyStatus = <div className="mx_AccessSecretStorageDialog_keyStatus">
|
||||||
{"\uD83D\uDC4E "}{_t(
|
{"\uD83D\uDC4E "}{_t(
|
||||||
"Unable to access. Please verify that you entered the correct recovery passphrase.",
|
"Unable to access secret storage. " +
|
||||||
|
"Please verify that you entered the correct recovery passphrase.",
|
||||||
)}
|
)}
|
||||||
</div>;
|
</div>;
|
||||||
} else {
|
} else {
|
||||||
|
@ -191,7 +192,8 @@ export default class AccessSecretStorageDialog extends React.PureComponent {
|
||||||
} else if (this.state.keyMatches === false) {
|
} else if (this.state.keyMatches === false) {
|
||||||
keyStatus = <div className="mx_AccessSecretStorageDialog_keyStatus">
|
keyStatus = <div className="mx_AccessSecretStorageDialog_keyStatus">
|
||||||
{"\uD83D\uDC4E "}{_t(
|
{"\uD83D\uDC4E "}{_t(
|
||||||
"Unable to access. Please verify that you entered the correct recovery key.",
|
"Unable to access secret storage. " +
|
||||||
|
"Please verify that you entered the correct recovery key.",
|
||||||
)}
|
)}
|
||||||
</div>;
|
</div>;
|
||||||
} else if (this.state.recoveryKeyValid) {
|
} else if (this.state.recoveryKeyValid) {
|
||||||
|
|
|
@ -1780,12 +1780,12 @@
|
||||||
"Allow": "Allow",
|
"Allow": "Allow",
|
||||||
"Deny": "Deny",
|
"Deny": "Deny",
|
||||||
"Enter recovery passphrase": "Enter recovery passphrase",
|
"Enter recovery passphrase": "Enter recovery passphrase",
|
||||||
"Unable to access. Please verify that you entered the correct recovery passphrase.": "Unable to access. Please verify that you entered the correct recovery passphrase.",
|
"Unable to access secret storage. Please verify that you entered the correct recovery passphrase.": "Unable to access secret storage. Please verify that you entered the correct recovery passphrase.",
|
||||||
"<b>Warning</b>: You should only do this on a trusted computer.": "<b>Warning</b>: You should only do this on a trusted computer.",
|
"<b>Warning</b>: You should only do this on a trusted computer.": "<b>Warning</b>: You should only do this on a trusted computer.",
|
||||||
"Access your secure message history and your cross-signing identity for verifying other sessions by entering your recovery passphrase.": "Access your secure message history and your cross-signing identity for verifying other sessions by entering your recovery passphrase.",
|
"Access your secure message history and your cross-signing identity for verifying other sessions by entering your recovery passphrase.": "Access your secure message history and your cross-signing identity for verifying other sessions by entering your recovery passphrase.",
|
||||||
"If you've forgotten your recovery passphrase you can <button1>use your recovery key</button1> or <button2>set up new recovery options</button2>.": "If you've forgotten your recovery passphrase you can <button1>use your recovery key</button1> or <button2>set up new recovery options</button2>.",
|
"If you've forgotten your recovery passphrase you can <button1>use your recovery key</button1> or <button2>set up new recovery options</button2>.": "If you've forgotten your recovery passphrase you can <button1>use your recovery key</button1> or <button2>set up new recovery options</button2>.",
|
||||||
"Enter recovery key": "Enter recovery key",
|
"Enter recovery key": "Enter recovery key",
|
||||||
"Unable to access. Please verify that you entered the correct recovery key.": "Unable to access. Please verify that you entered the correct recovery key.",
|
"Unable to access secret storage. Please verify that you entered the correct recovery key.": "Unable to access secret storage. Please verify that you entered the correct recovery key.",
|
||||||
"This looks like a valid recovery key!": "This looks like a valid recovery key!",
|
"This looks like a valid recovery key!": "This looks like a valid recovery key!",
|
||||||
"Not a valid recovery key": "Not a valid recovery key",
|
"Not a valid recovery key": "Not a valid recovery key",
|
||||||
"Access your secure message history and your cross-signing identity for verifying other sessions by entering your recovery key.": "Access your secure message history and your cross-signing identity for verifying other sessions by entering your recovery key.",
|
"Access your secure message history and your cross-signing identity for verifying other sessions by entering your recovery key.": "Access your secure message history and your cross-signing identity for verifying other sessions by entering your recovery key.",
|
||||||
|
|
|
@ -100,7 +100,7 @@ describe("AccessSecretStorageDialog", function() {
|
||||||
});
|
});
|
||||||
expect(notification.props.children).toEqual(
|
expect(notification.props.children).toEqual(
|
||||||
["\uD83D\uDC4E ", "Unable to access secret storage. Please verify that you " +
|
["\uD83D\uDC4E ", "Unable to access secret storage. Please verify that you " +
|
||||||
"entered the correct passphrase."]);
|
"entered the correct recovery passphrase."]);
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue