Fix issue #780 - Add descriptions to images for drafts

This commit is contained in:
Thomas 2023-02-06 09:48:37 +01:00
parent 3db9d22e48
commit 2fcb02ea4f
3 changed files with 8 additions and 1 deletions

View file

@ -50,6 +50,7 @@
android:id="@+id/number_of_messages" android:id="@+id/number_of_messages"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/number_of_replies"
android:layout_weight="2" android:layout_weight="2"
android:drawablePadding="5dp" android:drawablePadding="5dp"
app:drawableStartCompat="@drawable/ic_baseline_message_24" /> app:drawableStartCompat="@drawable/ic_baseline_message_24" />
@ -58,6 +59,7 @@
android:id="@+id/number_of_media" android:id="@+id/number_of_media"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/number_of_media"
android:layout_weight="2" android:layout_weight="2"
android:drawablePadding="5dp" android:drawablePadding="5dp"
app:drawableStartCompat="@drawable/ic_baseline_perm_media_24" /> app:drawableStartCompat="@drawable/ic_baseline_perm_media_24" />
@ -66,6 +68,7 @@
android:id="@+id/date" android:id="@+id/date"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/update_date"
android:layout_weight="1" android:layout_weight="1"
android:drawablePadding="5dp" android:drawablePadding="5dp"
app:drawableStartCompat="@drawable/ic_baseline_access_time_24" /> app:drawableStartCompat="@drawable/ic_baseline_access_time_24" />

View file

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
</resources> </resources>

View file

@ -2251,4 +2251,9 @@
<string name="set_mention_at_top">Mentions at the top</string> <string name="set_mention_at_top">Mentions at the top</string>
<string name="set_mention_at_top_indication">When replying mentions will all be added to the beginning of the message</string> <string name="set_mention_at_top_indication">When replying mentions will all be added to the beginning of the message</string>
<string name="number_of_media">Number of media</string>
<string name="number_of_replies">Number of replies</string>
<string name="update_date">Update date</string>
</resources> </resources>