[RN] Adjust button labels to reflext the actual state
This commit is contained in:
parent
7012c77fe9
commit
b4c95bec39
|
@ -74,6 +74,8 @@
|
||||||
"toolbar": {
|
"toolbar": {
|
||||||
"addPeople": "Add people to your call",
|
"addPeople": "Add people to your call",
|
||||||
"audioonly": "Enable / Disable audio only mode (saves bandwidth)",
|
"audioonly": "Enable / Disable audio only mode (saves bandwidth)",
|
||||||
|
"audioOnlyOn": "Enable audio only mode (saves bandwidth)",
|
||||||
|
"audioOnlyOff": "Disable audio only mode",
|
||||||
"audioRoute": "Select the audio route",
|
"audioRoute": "Select the audio route",
|
||||||
"callQuality": "Manage call quality",
|
"callQuality": "Manage call quality",
|
||||||
"enterFullScreen": "View full screen",
|
"enterFullScreen": "View full screen",
|
||||||
|
@ -278,6 +280,7 @@
|
||||||
"reservationError": "Reservation system error",
|
"reservationError": "Reservation system error",
|
||||||
"reservationErrorMsg": "Error code: __code__, message: __msg__",
|
"reservationErrorMsg": "Error code: __code__, message: __msg__",
|
||||||
"password": "Enter password",
|
"password": "Enter password",
|
||||||
|
"unlockRoom": "Unlock room",
|
||||||
"userPassword": "user password",
|
"userPassword": "user password",
|
||||||
"token": "token",
|
"token": "token",
|
||||||
"tokenAuthFailedTitle": "Authentication failed",
|
"tokenAuthFailedTitle": "Authentication failed",
|
||||||
|
|
|
@ -34,8 +34,9 @@ type Props = AbstractButtonProps & {
|
||||||
class RoomLockButton extends AbstractButton<Props, *> {
|
class RoomLockButton extends AbstractButton<Props, *> {
|
||||||
accessibilityLabel = 'Room lock';
|
accessibilityLabel = 'Room lock';
|
||||||
iconName = 'security';
|
iconName = 'security';
|
||||||
label = 'toolbar.lock';
|
label = 'dialog.lockRoom';
|
||||||
toggledIconName = 'security-locked';
|
toggledIconName = 'security-locked';
|
||||||
|
toggledLabel = 'dialog.unlockRoom';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handles clicking / pressing the button.
|
* Handles clicking / pressing the button.
|
||||||
|
|
|
@ -29,8 +29,9 @@ type Props = AbstractButtonProps & {
|
||||||
class AudioOnlyButton extends AbstractButton<Props, *> {
|
class AudioOnlyButton extends AbstractButton<Props, *> {
|
||||||
accessibilityLabel = 'Audio only mode';
|
accessibilityLabel = 'Audio only mode';
|
||||||
iconName = 'visibility';
|
iconName = 'visibility';
|
||||||
label = 'toolbar.audioonly';
|
label = 'toolbar.audioOnlyOn';
|
||||||
toggledIconName = 'visibility-off';
|
toggledIconName = 'visibility-off';
|
||||||
|
toggledLabel = 'toolbar.audioOnlyOff';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handles clicking / pressing the button.
|
* Handles clicking / pressing the button.
|
||||||
|
|
Loading…
Reference in New Issue