Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(toolbox): fix ToggleCameraButton tooltip / label

Saúl Ibarra Corretgé8a160fd9ab69
diff --git a/lang/main.json b/lang/main.json
index 1aea9ca696..5ffc851765 100644
--- a/lang/main.json
+++ b/lang/main.json
@@ -98,6 +98,7 @@
"login": "Login",
"logout": "Logout",
"sharedVideoMutedPopup": "Your shared video has been muted so that you can talk to the other members.",
+ "toggleCamera": "Toggle camera",
"micMutedPopup": "Your microphone has been muted so that you would fully enjoy your shared video.",
"talkWhileMutedPopup": "Trying to speak? You are muted.",
"unableToUnmutePopup": "You cannot un-mute while the shared video is on.",
diff --git a/react/features/toolbox/components/native/ToggleCameraButton.js b/react/features/toolbox/components/native/ToggleCameraButton.js
index de078d759e..2242f3babf 100644
--- a/react/features/toolbox/components/native/ToggleCameraButton.js
+++ b/react/features/toolbox/components/native/ToggleCameraButton.js
@@ -33,9 +33,9 @@ type Props = AbstractButtonProps & {
* An implementation of a button for toggling the camera facing mode.
*/
class ToggleCameraButton extends AbstractButton<Props, *> {
- accessibilityLabel = 'Share room';
+ accessibilityLabel = 'Toggle camera';
iconName = 'icon-switch-camera';
- label = 'toolbar.switchCamera';
+ label = 'toolbar.toggleCamera';
/**
* Handles clicking / pressing the button.