Migrate more strings to translation keys (#11651)

This commit is contained in:
Michael Telatynski 2023-09-22 16:39:40 +01:00 committed by GitHub
parent 560449676b
commit f4d056fd38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
127 changed files with 8916 additions and 8272 deletions

View file

@ -92,10 +92,10 @@ export const shouldShowSpaceInvite = (space: Room): boolean =>
export const showSpaceInvite = (space: Room, initialText = ""): void => {
if (space.getJoinRule() === "public") {
const modal = Modal.createDialog(InfoDialog, {
title: _t("Invite to %(spaceName)s", { spaceName: space.name }),
title: _t("invite|to_space", { spaceName: space.name }),
description: (
<React.Fragment>
<span>{_t("Share your public space")}</span>
<span>{_t("space|share_public")}</span>
<SpacePublicShare space={space} onFinished={() => modal.close()} />
</React.Fragment>
),