Преглед на файлове

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…
Отказ
Запис