You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Make error message consistent with menu title
This commit is contained in:
@@ -1202,9 +1202,9 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||||||
const roomLink = makeRoomPermalink(roomId);
|
const roomLink = makeRoomPermalink(roomId);
|
||||||
const success = await copyPlaintext(roomLink);
|
const success = await copyPlaintext(roomLink);
|
||||||
if (!success) {
|
if (!success) {
|
||||||
Modal.createTrackedDialog("Unable to copy room", "", ErrorDialog, {
|
Modal.createTrackedDialog("Unable to copy room link", "", ErrorDialog, {
|
||||||
title: _t("Unable to copy room"),
|
title: _t("Unable to copy room link"),
|
||||||
description: _t("Unable to copy the room to the clipboard."),
|
description: _t("Unable to copy a link to the room to the clipboard."),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user