소스 검색

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.
master
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
         "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 파일 보기

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
         );

Loading…
취소
저장