瀏覽代碼

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 年之前
父節點
當前提交
a5c78be52c
共有 2 個檔案被更改,包括 2 行新增1 行删除
  1. 1
    0
      lang/main.json
  2. 1
    1
      react/features/device-selection/components/VideoInputPreview.js

+ 1
- 0
lang/main.json 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存