Skip to content

Commit

Permalink
change string used for shield message
Browse files Browse the repository at this point in the history
  • Loading branch information
uhoreg committed Nov 20, 2024
1 parent ef59bc7 commit a685488
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion playwright/e2e/crypto/event-shields.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
);
});
});
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/rooms/EventTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
1 change: 0 additions & 1 deletion src/i18n/strings/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -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?",
Expand Down

0 comments on commit a685488

Please sign in to comment.