Consistently use the word "device", rather than "session" or "login", in verification dialog (#7474)
This commit is contained in:
parent
b3202de814
commit
a4fda7e25d
7 changed files with 33 additions and 33 deletions
|
@ -52,7 +52,7 @@ const EncryptionInfo: React.FC<IProps> = ({
|
|||
if (waitingForOtherParty && isSelfVerification) {
|
||||
content = (
|
||||
<div>
|
||||
{ _t("To proceed, please accept the verification request on your other login.") }
|
||||
{ _t("To proceed, please accept the verification request on your other device.") }
|
||||
</div>
|
||||
);
|
||||
} else if (waitingForOtherParty || waitingForNetwork) {
|
||||
|
|
|
@ -68,7 +68,7 @@ export default class VerificationPanel extends React.PureComponent<IProps, IStat
|
|||
|
||||
const noCommonMethodError: JSX.Element = !showSAS && !showQR ?
|
||||
<p>{ _t(
|
||||
"The session you are trying to verify doesn't support scanning a " +
|
||||
"The device you are trying to verify doesn't support scanning a " +
|
||||
"QR code or emoji verification, which is what %(brand)s supports. Try " +
|
||||
"with a different client.",
|
||||
{ brand },
|
||||
|
@ -101,7 +101,7 @@ export default class VerificationPanel extends React.PureComponent<IProps, IStat
|
|||
<div className='mx_VerificationPanel_QRPhase_betweenText'>{ _t("or") }</div> : null;
|
||||
return (
|
||||
<div>
|
||||
{ _t("Verify this session by completing one of the following:") }
|
||||
{ _t("Verify this device by completing one of the following:") }
|
||||
<div className='mx_VerificationPanel_QRPhase_startOptions'>
|
||||
{ qrBlockDialog }
|
||||
{ or }
|
||||
|
@ -178,7 +178,7 @@ export default class VerificationPanel extends React.PureComponent<IProps, IStat
|
|||
private renderQRReciprocatePhase() {
|
||||
const { member, request } = this.props;
|
||||
const description = request.isSelfVerification ?
|
||||
_t("Almost there! Is your other session showing the same shield?") :
|
||||
_t("Almost there! Is your other device showing the same shield?") :
|
||||
_t("Almost there! Is %(displayName)s showing the same shield?", {
|
||||
displayName: (member as User).displayName || (member as RoomMember).name || member.userId,
|
||||
});
|
||||
|
@ -273,7 +273,7 @@ export default class VerificationPanel extends React.PureComponent<IProps, IStat
|
|||
text = _t("Verification timed out.") + ` ${startAgainInstruction}`;
|
||||
} else if (request.cancellingUserId === request.otherUserId) {
|
||||
if (request.isSelfVerification) {
|
||||
text = _t("You cancelled verification on your other session.");
|
||||
text = _t("You cancelled verification on your other device.");
|
||||
} else {
|
||||
text = _t("%(displayName)s cancelled verification.", {
|
||||
displayName: (member as User).displayName || (member as RoomMember).name || member.userId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue