mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-16 11:11:32 +03:00
Add dialog with info about the screensharing change
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
2749715050
commit
135cdb2255
2 changed files with 8 additions and 2 deletions
|
@ -34,6 +34,7 @@ import RoomName from "../elements/RoomName";
|
|||
import {PlaceCallType} from "../../../CallHandler";
|
||||
import {replaceableComponent} from "../../../utils/replaceableComponent";
|
||||
import Modal from '../../../Modal';
|
||||
import InfoDialog from "../dialogs/InfoDialog";
|
||||
|
||||
@replaceableComponent("views.rooms.RoomHeader")
|
||||
export default class RoomHeader extends React.Component {
|
||||
|
@ -120,7 +121,11 @@ export default class RoomHeader extends React.Component {
|
|||
}
|
||||
|
||||
_displayInfoDialogAboutScreensharing() {
|
||||
|
||||
Modal.createDialog(InfoDialog, {
|
||||
title: _t("Screensharing has changed"),
|
||||
description: _t("You don't have to shift-click anymore! You can now share " +
|
||||
"your screen in any video call and in voice calls if other side supports it."),
|
||||
});
|
||||
}
|
||||
|
||||
render() {
|
||||
|
|
|
@ -53,7 +53,6 @@
|
|||
"A microphone and webcam are plugged in and set up correctly": "A microphone and webcam are plugged in and set up correctly",
|
||||
"Permission is granted to use the webcam": "Permission is granted to use the webcam",
|
||||
"No other application is using the webcam": "No other application is using the webcam",
|
||||
"Unable to capture screen": "Unable to capture screen",
|
||||
"VoIP is unsupported": "VoIP is unsupported",
|
||||
"You cannot place VoIP calls in this browser.": "You cannot place VoIP calls in this browser.",
|
||||
"Too Many Calls": "Too Many Calls",
|
||||
|
@ -1522,6 +1521,8 @@
|
|||
"Unnamed room": "Unnamed room",
|
||||
"World readable": "World readable",
|
||||
"Guests can join": "Guests can join",
|
||||
"Screensharing has changed": "Screensharing has changed",
|
||||
"You don't have to shift-click anymore! You can now share your screen in any video call and in voice calls if other side supports it.": "You don't have to shift-click anymore! You can now share your screen in any video call and in voice calls if other side supports it.",
|
||||
"(~%(count)s results)|other": "(~%(count)s results)",
|
||||
"(~%(count)s results)|one": "(~%(count)s result)",
|
||||
"Join Room": "Join Room",
|
||||
|
|
Loading…
Reference in a new issue