소스 검색

Add keyboard shortcuts for LocalRecordingInfoDialog

Which key should we use? Using "L" for now.
efficient_tiling
Radium Zheng 7 년 전
부모
커밋
2f2e69a6f5
2개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      lang/main.json
  2. 5
    0
      react/features/toolbox/components/web/Toolbox.js

+ 2
- 1
lang/main.json 파일 보기

43
         "mute": "Mute or unmute your microphone",
43
         "mute": "Mute or unmute your microphone",
44
         "fullScreen": "View or exit full screen",
44
         "fullScreen": "View or exit full screen",
45
         "videoMute": "Start or stop your camera",
45
         "videoMute": "Start or stop your camera",
46
-        "showSpeakerStats": "Show speaker stats"
46
+        "showSpeakerStats": "Show speaker stats",
47
+        "localRecording": "Show or hide local recording controls"
47
     },
48
     },
48
     "welcomepage":{
49
     "welcomepage":{
49
         "accessibilityLabel": {
50
         "accessibilityLabel": {

+ 5
- 0
react/features/toolbox/components/web/Toolbox.js 파일 보기

268
                 character: 'S',
268
                 character: 'S',
269
                 exec: this._onShortcutToggleFullScreen,
269
                 exec: this._onShortcutToggleFullScreen,
270
                 helpDescription: 'keyboardShortcuts.fullScreen'
270
                 helpDescription: 'keyboardShortcuts.fullScreen'
271
+            },
272
+            this._shouldShowButton('localrecording') && {
273
+                character: 'L',
274
+                exec: this._onToolbarToggleLocalRecordingInfoDialog,
275
+                helpDescription: 'keyboardShortcuts.localRecording'
271
             }
276
             }
272
         ];
277
         ];
273
 
278
 

Loading…
취소
저장