Merge branch 'develop' into florianduros/tooltip-update
This commit is contained in:
commit
c97a3740ac
3 changed files with 11 additions and 7 deletions
|
@ -22,8 +22,8 @@ import { IBodyProps } from "./IBodyProps";
|
|||
|
||||
function getErrorMessage(mxEvent?: MatrixEvent): string {
|
||||
return mxEvent?.isEncryptedDisabledForUnverifiedDevices
|
||||
? _t("timeline|decryption_failure_blocked")
|
||||
: _t("threads|unable_to_decrypt");
|
||||
? _t("timeline|decryption_failure|blocked")
|
||||
: _t("timeline|decryption_failure|unable_to_decrypt");
|
||||
}
|
||||
|
||||
// A placeholder element for messages that could not be decrypted
|
||||
|
|
|
@ -120,9 +120,11 @@ export const ThreadMessagePreview: React.FC<IPreviewProps> = ({ thread, showDisp
|
|||
{lastReply.isDecryptionFailure() ? (
|
||||
<div
|
||||
className="mx_ThreadSummary_content mx_DecryptionFailureBody"
|
||||
title={_t("threads|unable_to_decrypt")}
|
||||
title={_t("timeline|decryption_failure|unable_to_decrypt")}
|
||||
>
|
||||
<span className="mx_ThreadSummary_message-preview">{_t("threads|unable_to_decrypt")}</span>
|
||||
<span className="mx_ThreadSummary_message-preview">
|
||||
{_t("timeline|decryption_failure|unable_to_decrypt")}
|
||||
</span>
|
||||
</div>
|
||||
) : (
|
||||
<div className="mx_ThreadSummary_content" title={preview}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue