Migrate more strings to translation keys (#11680)

This commit is contained in:
Michael Telatynski 2023-09-29 08:49:26 +01:00 committed by GitHub
parent 8014cebb20
commit 6af4335db1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
101 changed files with 6739 additions and 5973 deletions

View file

@ -59,7 +59,7 @@ const ThreadSummary: React.FC<IProps> = ({ mxEvent, thread, ...props }) => {
});
PosthogTrackers.trackInteraction("WebRoomTimelineThreadSummaryButton", ev);
}}
aria-label={_t("Open thread")}
aria-label={_t("threads|open_thread")}
>
<span className="mx_ThreadSummary_replies_amount">{countSection}</span>
<ThreadMessagePreview thread={thread} showDisplayname={!roomContext.narrow} />
@ -111,9 +111,9 @@ export const ThreadMessagePreview: React.FC<IPreviewProps> = ({ thread, showDisp
{lastReply.isDecryptionFailure() ? (
<div
className="mx_ThreadSummary_content mx_DecryptionFailureBody"
title={_t("Unable to decrypt message")}
title={_t("threads|unable_to_decrypt")}
>
<span className="mx_ThreadSummary_message-preview">{_t("Unable to decrypt message")}</span>
<span className="mx_ThreadSummary_message-preview">{_t("threads|unable_to_decrypt")}</span>
</div>
) : (
<div className="mx_ThreadSummary_content" title={preview}>