From a5c78be52cb9bb964391c1ce46837ecff5be14c2 Mon Sep 17 00:00:00 2001 From: Leonard Kim Date: Tue, 18 Apr 2017 10:18:24 -0700 Subject: [PATCH] fix: change string displayed when previewing a muted video input Device Selection re-uses the local video track for its preview. When displaying Device Selection while video muted, the text "muted" displays within the video preview, but some translations may mistake this to mean audio muted. The text has been changed to be explicit about video mute. This is a temporary solution; at some point Device Selection should not re-use the local track except for IE, the one browser that cannot get multiple tracks from the same video input. --- lang/main.json | 1 + react/features/device-selection/components/VideoInputPreview.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/main.json b/lang/main.json index f58a29899..c2b2e23f0 100644 --- a/lang/main.json +++ b/lang/main.json @@ -424,6 +424,7 @@ "speakerTime": "Speaker Time" }, "deviceSelection": { + "currentlyVideoMuted": "Video is currently muted", "deviceSettings": "Device settings", "noOtherDevices": "No other devices available", "selectADevice": "Select a device", diff --git a/react/features/device-selection/components/VideoInputPreview.js b/react/features/device-selection/components/VideoInputPreview.js index c9d495872..2b7eb5c14 100644 --- a/react/features/device-selection/components/VideoInputPreview.js +++ b/react/features/device-selection/components/VideoInputPreview.js @@ -81,7 +81,7 @@ class VideoInputPreview extends Component { className = 'video-input-preview-display flipVideoX' ref = { this._setVideoElement } />
- { this.props.t('videothumbnail.muted') } + { this.props.t('deviceSelection.currentlyVideoMuted') }
);