Create more common_* common strings (#11439)

This commit is contained in:
Michael Telatynski 2023-08-23 10:25:33 +01:00 committed by GitHub
parent df4a2218d7
commit aa6e3654b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
106 changed files with 1121 additions and 1069 deletions

View file

@ -107,7 +107,7 @@ export default class MImageBody extends React.Component<IBodyProps, IState> {
if (!httpUrl) return;
const params: Omit<ComponentProps<typeof ImageView>, "onFinished"> = {
src: httpUrl,
name: content.body && content.body.length > 0 ? content.body : _t("Attachment"),
name: content.body && content.body.length > 0 ? content.body : _t("common|attachment"),
mxEvent: this.props.mxEvent,
permalinkCreator: this.props.permalinkCreator,
};