Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Changed invite phrases in context menu and invite dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
jaiwanth-v committed Mar 19, 2021
1 parent b2a7256 commit d57fd53
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/views/dialogs/InviteDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/rooms/RoomTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/strings/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,7 @@
"Invite members": "Invite members",
"Share your public space": "Share your public space",
"Invite people": "Invite people",
"Invite People": "Invite People",
"Settings": "Settings",
"Leave space": "Leave space",
"New room": "New room",
Expand Down Expand Up @@ -2200,6 +2201,7 @@
"This won't invite them to %(communityName)s. To invite someone to %(communityName)s, click <a>here</a>": "This won't invite them to %(communityName)s. To invite someone to %(communityName)s, click <a>here</a>",
"Go": "Go",
"Invite to %(spaceName)s": "Invite to %(spaceName)s",
"Invite to %(roomName)s": "Invite to %(roomName)s",
"Unnamed Space": "Unnamed Space",
"Invite someone using their name, email address, username (like <userId/>) or <a>share this space</a>.": "Invite someone using their name, email address, username (like <userId/>) or <a>share this space</a>.",
"Invite someone using their name, username (like <userId/>) or <a>share this space</a>.": "Invite someone using their name, username (like <userId/>) or <a>share this space</a>.",
Expand Down

0 comments on commit d57fd53

Please sign in to comment.