Update content descriptions for call toggles.

This commit is contained in:
Alex Hart
2023-03-24 10:51:43 -03:00
committed by Greyson Parrelli
parent 1a71e1a5ae
commit 351baa4135
2 changed files with 15 additions and 17 deletions
+4 -4
View File
@@ -217,7 +217,7 @@
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="30dp"
android:contentDescription="@string/WebRtcCallView__speaker"
android:contentDescription="@string/WebRtcCallView__toggle_speaker"
android:scaleType="fitXY"
android:visibility="gone"
app:layout_constraintBottom_toTopOf="@id/call_screen_start_call_controls"
@@ -235,7 +235,7 @@
android:layout_marginEnd="8dp"
android:layout_marginBottom="30dp"
android:clickable="false"
android:contentDescription="@string/WebRtcCallView__flip"
android:contentDescription="@string/WebRtcCallView__toggle_camera_direction"
android:scaleType="fitXY"
android:visibility="gone"
app:layout_constraintBottom_toTopOf="@id/call_screen_start_call_controls"
@@ -252,7 +252,7 @@
android:layout_marginEnd="8dp"
android:layout_marginBottom="30dp"
android:background="@drawable/webrtc_call_screen_video_toggle"
android:contentDescription="@string/WebRtcCallView__camera"
android:contentDescription="@string/WebRtcCallView__toggle_camera"
android:stateListAnimator="@null"
android:visibility="gone"
app:layout_constraintBottom_toTopOf="@id/call_screen_start_call_controls"
@@ -269,7 +269,7 @@
android:layout_marginEnd="8dp"
android:layout_marginBottom="30dp"
android:background="@drawable/webrtc_call_screen_mic_toggle"
android:contentDescription="@string/WebRtcCallView__unmute"
android:contentDescription="@string/WebRtcCallView__toggle_mute"
android:stateListAnimator="@null"
android:visibility="gone"
app:layout_constraintBottom_toTopOf="@id/call_screen_start_call_controls"
+11 -13
View File
@@ -1745,19 +1745,17 @@
<item quantity="other">%1$s, %2$s, and %3$d others are in this call</item>
</plurals>
<!-- Toggle label with hyphenation. Translation can use soft hyphen - Unicode U+00AD -->
<string name="WebRtcCallView__flip">Flip</string>
<!-- Toggle label with hyphenation. Translation can use soft hyphen - Unicode U+00AD -->
<string name="WebRtcCallView__speaker">Speaker</string>
<!-- Toggle label with hyphenation. Translation can use soft hyphen - Unicode U+00AD -->
<string name="WebRtcCallView__camera">Camera</string>
<!-- Toggle label with hyphenation. Translation can use soft hyphen - Unicode U+00AD -->
<string name="WebRtcCallView__unmute">Unmute</string>
<!-- Toggle label with hyphenation. Translation can use soft hyphen - Unicode U+00AD -->
<string name="WebRtcCallView__mute">Mute</string>
<!-- Toggle label with hyphenation. Translation can use soft hyphen - Unicode U+00AD -->
<string name="WebRtcCallView__ring">Ring</string>
<!-- Label with hyphenation. Translation can use soft hyphen - Unicode U+00AD -->
<!-- Toggle content description for toggling camera direction -->
<string name="WebRtcCallView__toggle_camera_direction">Toggle camera direction</string>
<!-- Toggle content description for toggling audio output -->
<string name="WebRtcCallView__toggle_speaker">Toggle speaker</string>
<!-- Toggle content description for toggling camera state -->
<string name="WebRtcCallView__toggle_camera">Toggle camera</string>
<!-- Toggle content description for toggling mute state -->
<string name="WebRtcCallView__toggle_mute">Toggle mute</string>
<!-- Toggle content description for toggling group ring state -->
<string name="WebRtcCallView__toggle_ring">Toggle ring</string>
<!-- Content description for end-call button -->
<string name="WebRtcCallView__end_call">End call</string>
<!-- CallParticipantsListDialog -->