Add dialog with info about the screensharing change

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-05-10 12:37:40 +02:00
parent 2749715050
commit 135cdb2255
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
2 changed files with 8 additions and 2 deletions

View File

@ -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() {

View File

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