Update room context menu copy (#7361)

This commit is contained in:
Michael Telatynski 2021-12-15 09:56:15 +00:00 committed by GitHub
parent 5163ad216f
commit 9436f3b58d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 9 deletions

View file

@ -213,7 +213,7 @@ const RoomContextMenu = ({ room, onFinished, ...props }: IProps) => {
}); });
onFinished(); onFinished();
}} }}
label={_t("Copy link")} label={_t("Copy room link")}
iconClassName="mx_RoomTile_iconCopyLink" iconClassName="mx_RoomTile_iconCopyLink"
/>; />;
} }

View file

@ -511,13 +511,13 @@ export default class RoomTile extends React.PureComponent<IProps, IState> {
{ canInvite ? ( { canInvite ? (
<IconizedContextMenuOption <IconizedContextMenuOption
onClick={this.onInviteClick} onClick={this.onInviteClick}
label={_t("Invite People")} label={_t("Invite")}
iconClassName="mx_RoomTile_iconInvite" iconClassName="mx_RoomTile_iconInvite"
/> />
) : null } ) : null }
{ !isDm ? <IconizedContextMenuOption { !isDm ? <IconizedContextMenuOption
onClick={this.onCopyRoomClick} onClick={this.onCopyRoomClick}
label={_t("Copy Room Link")} label={_t("Copy room link")}
iconClassName="mx_RoomTile_iconCopyLink" iconClassName="mx_RoomTile_iconCopyLink"
/> : null } /> : null }
<IconizedContextMenuOption <IconizedContextMenuOption
@ -529,7 +529,7 @@ export default class RoomTile extends React.PureComponent<IProps, IState> {
<IconizedContextMenuOptionList red> <IconizedContextMenuOptionList red>
<IconizedContextMenuOption <IconizedContextMenuOption
onClick={this.onLeaveRoomClick} onClick={this.onLeaveRoomClick}
label={_t("Leave Room")} label={_t("Leave")}
iconClassName="mx_RoomTile_iconSignOut" iconClassName="mx_RoomTile_iconSignOut"
/> />
</IconizedContextMenuOptionList> </IconizedContextMenuOptionList>

View file

@ -1809,9 +1809,8 @@
"Favourited": "Favourited", "Favourited": "Favourited",
"Favourite": "Favourite", "Favourite": "Favourite",
"Low Priority": "Low Priority", "Low Priority": "Low Priority",
"Invite People": "Invite People", "Copy room link": "Copy room link",
"Copy Room Link": "Copy Room Link", "Leave": "Leave",
"Leave Room": "Leave Room",
"%(count)s unread messages including mentions.|other": "%(count)s unread messages including mentions.", "%(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 including mentions.|one": "1 unread mention.",
"%(count)s unread messages.|other": "%(count)s unread messages.", "%(count)s unread messages.|other": "%(count)s unread messages.",
@ -2820,9 +2819,7 @@
"Report": "Report", "Report": "Report",
"View in room": "View in room", "View in room": "View in room",
"Forget": "Forget", "Forget": "Forget",
"Leave": "Leave",
"Mentions only": "Mentions only", "Mentions only": "Mentions only",
"Copy link": "Copy link",
"See room timeline (devtools)": "See room timeline (devtools)", "See room timeline (devtools)": "See room timeline (devtools)",
"Room": "Room", "Room": "Room",
"Space": "Space", "Space": "Space",