change string used for shield message

pull/28476/head
Hubert Chathi 2024-11-19 21:02:18 -05:00
parent ef59bc7a07
commit a68548813f
3 changed files with 2 additions and 3 deletions

View File

@ -330,7 +330,7 @@ test.describe("Cryptography", function () {
await expect(lastE2eIcon).toHaveClass(/mx_EventTile_e2eIcon_warning/);
await lastE2eIcon.focus();
await expect(await app.getTooltipForElement(lastE2eIcon)).toContainText(
"Encrypted by a previously-verified user who is no longer verified.",
"Sender's verified identity has changed",
);
});
});

View File

@ -763,7 +763,7 @@ export class UnwrappedEventTile extends React.Component<EventTileProps, IState>
break;
case EventShieldReason.VERIFICATION_VIOLATION:
shieldReasonMessage = _t("encryption|event_shield_reason_verification_violation");
shieldReasonMessage = _t("timeline|decryption_failure|sender_identity_previously_verified");
break;
}

View File

@ -887,7 +887,6 @@
"event_shield_reason_unknown_device": "Encrypted by an unknown or deleted device.",
"event_shield_reason_unsigned_device": "Encrypted by a device not verified by its owner.",
"event_shield_reason_unverified_identity": "Encrypted by an unverified user.",
"event_shield_reason_verification_violation": "Encrypted by a previously-verified user who is no longer verified.",
"export_unsupported": "Your browser does not support the required cryptography extensions",
"import_invalid_keyfile": "Not a valid %(brand)s keyfile",
"import_invalid_passphrase": "Authentication check failed: incorrect password?",