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

Update room context menu copy #7361

Merged
merged 1 commit into from
Dec 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -2816,9 +2815,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