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

Commit

Permalink
Update room context menu copy (#7361)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Dec 15, 2021
1 parent 5163ad2 commit 9436f3b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/views/context_menus/RoomContextMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ const RoomContextMenu = ({ room, onFinished, ...props }: IProps) => {
});
onFinished();
}}
label={_t("Copy link")}
label={_t("Copy room link")}
iconClassName="mx_RoomTile_iconCopyLink"
/>;
}
Expand Down
6 changes: 3 additions & 3 deletions src/components/views/rooms/RoomTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -511,13 +511,13 @@ export default class RoomTile extends React.PureComponent<IProps, IState> {
{ canInvite ? (
<IconizedContextMenuOption
onClick={this.onInviteClick}
label={_t("Invite People")}
label={_t("Invite")}
iconClassName="mx_RoomTile_iconInvite"
/>
) : null }
{ !isDm ? <IconizedContextMenuOption
onClick={this.onCopyRoomClick}
label={_t("Copy Room Link")}
label={_t("Copy room link")}
iconClassName="mx_RoomTile_iconCopyLink"
/> : null }
<IconizedContextMenuOption
Expand All @@ -529,7 +529,7 @@ export default class RoomTile extends React.PureComponent<IProps, IState> {
<IconizedContextMenuOptionList red>
<IconizedContextMenuOption
onClick={this.onLeaveRoomClick}
label={_t("Leave Room")}
label={_t("Leave")}
iconClassName="mx_RoomTile_iconSignOut"
/>
</IconizedContextMenuOptionList>
Expand Down
7 changes: 2 additions & 5 deletions src/i18n/strings/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -1809,9 +1809,8 @@
"Favourited": "Favourited",
"Favourite": "Favourite",
"Low Priority": "Low Priority",
"Invite People": "Invite People",
"Copy Room Link": "Copy Room Link",
"Leave Room": "Leave Room",
"Copy room link": "Copy room link",
"Leave": "Leave",
"%(count)s unread messages including mentions.|other": "%(count)s unread messages including mentions.",
"%(count)s unread messages including mentions.|one": "1 unread mention.",
"%(count)s unread messages.|other": "%(count)s unread messages.",
Expand Down Expand Up @@ -2820,9 +2819,7 @@
"Report": "Report",
"View in room": "View in room",
"Forget": "Forget",
"Leave": "Leave",
"Mentions only": "Mentions only",
"Copy link": "Copy link",
"See room timeline (devtools)": "See room timeline (devtools)",
"Room": "Room",
"Space": "Space",
Expand Down

0 comments on commit 9436f3b

Please sign in to comment.