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

Commit 9436f3b

Browse files
authored
Update room context menu copy (#7361)
1 parent 5163ad2 commit 9436f3b

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

src/components/views/context_menus/RoomContextMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ const RoomContextMenu = ({ room, onFinished, ...props }: IProps) => {
213213
});
214214
onFinished();
215215
}}
216-
label={_t("Copy link")}
216+
label={_t("Copy room link")}
217217
iconClassName="mx_RoomTile_iconCopyLink"
218218
/>;
219219
}

src/components/views/rooms/RoomTile.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -511,13 +511,13 @@ export default class RoomTile extends React.PureComponent<IProps, IState> {
511511
{ canInvite ? (
512512
<IconizedContextMenuOption
513513
onClick={this.onInviteClick}
514-
label={_t("Invite People")}
514+
label={_t("Invite")}
515515
iconClassName="mx_RoomTile_iconInvite"
516516
/>
517517
) : null }
518518
{ !isDm ? <IconizedContextMenuOption
519519
onClick={this.onCopyRoomClick}
520-
label={_t("Copy Room Link")}
520+
label={_t("Copy room link")}
521521
iconClassName="mx_RoomTile_iconCopyLink"
522522
/> : null }
523523
<IconizedContextMenuOption
@@ -529,7 +529,7 @@ export default class RoomTile extends React.PureComponent<IProps, IState> {
529529
<IconizedContextMenuOptionList red>
530530
<IconizedContextMenuOption
531531
onClick={this.onLeaveRoomClick}
532-
label={_t("Leave Room")}
532+
label={_t("Leave")}
533533
iconClassName="mx_RoomTile_iconSignOut"
534534
/>
535535
</IconizedContextMenuOptionList>

src/i18n/strings/en_EN.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,9 +1809,8 @@
18091809
"Favourited": "Favourited",
18101810
"Favourite": "Favourite",
18111811
"Low Priority": "Low Priority",
1812-
"Invite People": "Invite People",
1813-
"Copy Room Link": "Copy Room Link",
1814-
"Leave Room": "Leave Room",
1812+
"Copy room link": "Copy room link",
1813+
"Leave": "Leave",
18151814
"%(count)s unread messages including mentions.|other": "%(count)s unread messages including mentions.",
18161815
"%(count)s unread messages including mentions.|one": "1 unread mention.",
18171816
"%(count)s unread messages.|other": "%(count)s unread messages.",
@@ -2820,9 +2819,7 @@
28202819
"Report": "Report",
28212820
"View in room": "View in room",
28222821
"Forget": "Forget",
2823-
"Leave": "Leave",
28242822
"Mentions only": "Mentions only",
2825-
"Copy link": "Copy link",
28262823
"See room timeline (devtools)": "See room timeline (devtools)",
28272824
"Room": "Room",
28282825
"Space": "Space",

0 commit comments

Comments
 (0)