Selaa lähdekoodia

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.
j8
Leonard Kim 8 vuotta sitten
vanhempi
commit
a5c78be52c

+ 1
- 0
lang/main.json Näytä tiedosto

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

+ 1
- 1
react/features/device-selection/components/VideoInputPreview.js Näytä tiedosto

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

Loading…
Peruuta
Tallenna