Changed invite phrases in context menu and invite dialog

This commit is contained in:
Jaiwanth 2021-03-19 21:12:47 +05:30
parent b2a72565d3
commit 70e0b77fc4
3 changed files with 6 additions and 2 deletions

View file

@ -1256,7 +1256,9 @@ export default class InviteDialog extends React.PureComponent<IInviteDialogProps
? _t("Invite to %(spaceName)s", {
spaceName: room.name || _t("Unnamed Space"),
})
: _t("Invite to this room");
: _t("Invite to %(roomName)s", {
roomName: room.name || _t("Unnamed Room"),
});
let helpTextUntranslated;
if (isSpace) {

View file

@ -496,7 +496,7 @@ export default class RoomTile extends React.PureComponent<IProps, IState> {
{canInvite ? (
<IconizedContextMenuOption
onClick={this.onInviteClick}
label={_t("Invite to this room")}
label={_t("Invite People")}
iconClassName="mx_RoomTile_iconInvite"
/>
) : null}