Collect decryption failure translations together (#12436)

* Collect decryption failure translations together

They are not specific to threads.

* Revert changes to non-english languages
This commit is contained in:
Richard van der Hoff 2024-04-18 11:40:25 +01:00 committed by GitHub
parent 0e65a5aae6
commit d402b52e06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 7 deletions

View file

@ -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}>