Align common_* strings with Element X project in Localazy (#11434)

This commit is contained in:
Michael Telatynski 2023-08-22 18:47:33 +01:00 committed by GitHub
parent 1a49a38f04
commit c40141cc4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
132 changed files with 1491 additions and 1247 deletions

View file

@ -67,7 +67,7 @@ const EncryptionEvent = forwardRef<HTMLDivElement, IProps>(({ mxEvent, timestamp
return (
<EventTileBubble
className="mx_cryptoEvent mx_cryptoEvent_icon"
title={_t("Encryption enabled")}
title={_t("common|encryption_enabled")}
subtitle={subtitle}
timestamp={timestamp}
/>
@ -78,7 +78,7 @@ const EncryptionEvent = forwardRef<HTMLDivElement, IProps>(({ mxEvent, timestamp
return (
<EventTileBubble
className="mx_cryptoEvent mx_cryptoEvent_icon"
title={_t("Encryption enabled")}
title={_t("common|encryption_enabled")}
subtitle={_t("Ignored attempt to disable encryption")}
timestamp={timestamp}
/>

View file

@ -173,7 +173,7 @@ export default class MFileBody extends React.Component<IProps, IState> {
} catch (err) {
logger.warn("Unable to decrypt attachment: ", err);
Modal.createDialog(ErrorDialog, {
title: _t("Error"),
title: _t("common|error"),
description: _t("Error decrypting attachment"),
});
}

View file

@ -395,7 +395,11 @@ export default class MImageBody extends React.Component<IBodyProps, IState> {
return null;
}
return <span className="mx_MImageBody_banner">{presentableTextForFile(content, _t("Image"), true, true)}</span>;
return (
<span className="mx_MImageBody_banner">
{presentableTextForFile(content, _t("common|image"), true, true)}
</span>
);
}
protected messageContent(

View file

@ -225,7 +225,7 @@ export default class ReactionsRow extends React.PureComponent<IProps, IState> {
}
return (
<div className="mx_ReactionsRow" role="toolbar" aria-label={_t("Reactions")}>
<div className="mx_ReactionsRow" role="toolbar" aria-label={_t("common|reactions")}>
{items}
{showAllButton}
{addReactionButton}