Ver código fonte

feat(toolbox): fix ToggleCameraButton tooltip / label

master
Saúl Ibarra Corretgé 7 anos atrás
pai
commit
8a160fd9ab

+ 1
- 0
lang/main.json Ver arquivo

@@ -98,6 +98,7 @@
98 98
         "login": "Login",
99 99
         "logout": "Logout",
100 100
         "sharedVideoMutedPopup": "Your shared video has been muted so that you can talk to the other members.",
101
+        "toggleCamera": "Toggle camera",
101 102
         "micMutedPopup": "Your microphone has been muted so that you would fully enjoy your shared video.",
102 103
         "talkWhileMutedPopup": "Trying to speak? You are muted.",
103 104
         "unableToUnmutePopup": "You cannot un-mute while the shared video is on.",

+ 2
- 2
react/features/toolbox/components/native/ToggleCameraButton.js Ver arquivo

@@ -33,9 +33,9 @@ type Props = AbstractButtonProps & {
33 33
  * An implementation of a button for toggling the camera facing mode.
34 34
  */
35 35
 class ToggleCameraButton extends AbstractButton<Props, *> {
36
-    accessibilityLabel = 'Share room';
36
+    accessibilityLabel = 'Toggle camera';
37 37
     iconName = 'icon-switch-camera';
38
-    label = 'toolbar.switchCamera';
38
+    label = 'toolbar.toggleCamera';
39 39
 
40 40
     /**
41 41
      * Handles clicking / pressing the button.

Carregando…
Cancelar
Salvar