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();
}}
label={_t("Copy link")}
label={_t("Copy room link")}
iconClassName="mx_RoomTile_iconCopyLink"
/>;
}

View File

@ -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
@ -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>

View File

@ -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.",
@ -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",