Consistently use the word "device", rather than "session" or "login", in verification dialog (#7474)

This commit is contained in:
Faye Duxovni 2022-01-06 16:57:49 -05:00 committed by GitHub
parent b3202de814
commit a4fda7e25d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 33 additions and 33 deletions

View file

@ -69,20 +69,20 @@ export default class CompleteSecurity extends React.Component<IProps, IState> {
} else if (phase === Phase.Intro) {
if (lostKeys) {
icon = <span className="mx_CompleteSecurity_headerIcon mx_E2EIcon_warning" />;
title = _t("Unable to verify this login");
title = _t("Unable to verify this device");
} else {
icon = <span className="mx_CompleteSecurity_headerIcon mx_E2EIcon_warning" />;
title = _t("Verify this login");
title = _t("Verify this device");
}
} else if (phase === Phase.Done) {
icon = <span className="mx_CompleteSecurity_headerIcon mx_E2EIcon_verified" />;
title = _t("Session verified");
title = _t("Device verified");
} else if (phase === Phase.ConfirmSkip) {
icon = <span className="mx_CompleteSecurity_headerIcon mx_E2EIcon_warning" />;
title = _t("Are you sure?");
} else if (phase === Phase.Busy) {
icon = <span className="mx_CompleteSecurity_headerIcon mx_E2EIcon_warning" />;
title = _t("Verify this login");
title = _t("Verify this device");
} else if (phase === Phase.ConfirmReset) {
icon = <span className="mx_CompleteSecurity_headerIcon mx_E2EIcon_warning" />;
title = _t("Really reset verification keys?");

View file

@ -198,7 +198,7 @@ export default class SetupEncryptionBody extends React.Component<IProps, IState>
let verifyButton;
if (store.hasDevicesToVerifyAgainst) {
verifyButton = <AccessibleButton kind="primary" onClick={this.onVerifyClick}>
{ _t("Verify with another login") }
{ _t("Verify with another device") }
</AccessibleButton>;
}
@ -227,12 +227,12 @@ export default class SetupEncryptionBody extends React.Component<IProps, IState>
let message;
if (this.state.backupInfo) {
message = <p>{ _t(
"Your new session is now verified. It has access to your " +
"Your new device is now verified. It has access to your " +
"encrypted messages, and other users will see it as trusted.",
) }</p>;
} else {
message = <p>{ _t(
"Your new session is now verified. Other users will see it as trusted.",
"Your new device is now verified. Other users will see it as trusted.",
) }</p>;
}
return (