Ver código fonte

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 anos atrás
pai
commit
a5c78be52c

+ 1
- 0
lang/main.json Ver arquivo

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

+ 1
- 1
react/features/device-selection/components/VideoInputPreview.js Ver arquivo

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

Carregando…
Cancelar
Salvar