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.
This commit is contained in:
Leonard Kim 2017-04-18 10:18:24 -07:00
parent edbbaef26f
commit a5c78be52c
2 changed files with 2 additions and 1 deletions

View File

@ -424,6 +424,7 @@
"speakerTime": "Speaker Time" "speakerTime": "Speaker Time"
}, },
"deviceSelection": { "deviceSelection": {
"currentlyVideoMuted": "Video is currently muted",
"deviceSettings": "Device settings", "deviceSettings": "Device settings",
"noOtherDevices": "No other devices available", "noOtherDevices": "No other devices available",
"selectADevice": "Select a device", "selectADevice": "Select a device",

View File

@ -81,7 +81,7 @@ class VideoInputPreview extends Component {
className = 'video-input-preview-display flipVideoX' className = 'video-input-preview-display flipVideoX'
ref = { this._setVideoElement } /> ref = { this._setVideoElement } />
<div className = 'video-input-preview-muted'> <div className = 'video-input-preview-muted'>
{ this.props.t('videothumbnail.muted') } { this.props.t('deviceSelection.currentlyVideoMuted') }
</div> </div>
</div> </div>
); );