From 931c02a7e7a8d592bbe461ac866a8d45354a9fd2 Mon Sep 17 00:00:00 2001 From: Gideon Okuro Date: Mon, 6 Nov 2023 19:50:12 +0300 Subject: [PATCH] resources: more accessibility in viewer (fixes #2631) (#2637) Co-authored-by: dogi --- app/build.gradle | 4 ++-- app/src/main/res/layout/activity_audio_player.xml | 1 + app/src/main/res/layout/activity_exo_player_video.xml | 1 + app/src/main/res/layout/activity_image_viewer.xml | 1 + app/src/main/res/layout/activity_pdfreader.xml | 2 ++ app/src/main/res/layout/content_web_view.xml | 3 +++ app/src/main/res/values-ar/strings.xml | 6 ++++++ app/src/main/res/values-es/strings.xml | 6 ++++++ app/src/main/res/values-fr/strings.xml | 6 ++++++ app/src/main/res/values-ne/strings.xml | 6 ++++++ app/src/main/res/values-so/strings.xml | 6 ++++++ app/src/main/res/values/strings.xml | 6 ++++++ 12 files changed, 46 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 92256d6ba0..f7434f1d59 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,8 +9,8 @@ android { applicationId "org.ole.planet.myplanet" minSdkVersion 21 targetSdkVersion 34 - versionCode 1134 - versionName "0.11.34" + versionCode 1135 + versionName "0.11.35" ndkVersion '21.3.6528147' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true diff --git a/app/src/main/res/layout/activity_audio_player.xml b/app/src/main/res/layout/activity_audio_player.xml index e19c5c9986..ebd391f8f1 100644 --- a/app/src/main/res/layout/activity_audio_player.xml +++ b/app/src/main/res/layout/activity_audio_player.xml @@ -12,6 +12,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity="center" + android:contentDescription="@string/jcplayer_description" android:gravity="center" /> \ No newline at end of file diff --git a/app/src/main/res/layout/activity_exo_player_video.xml b/app/src/main/res/layout/activity_exo_player_video.xml index e18e8e45e8..28f387dc93 100644 --- a/app/src/main/res/layout/activity_exo_player_video.xml +++ b/app/src/main/res/layout/activity_exo_player_video.xml @@ -8,6 +8,7 @@ diff --git a/app/src/main/res/layout/activity_image_viewer.xml b/app/src/main/res/layout/activity_image_viewer.xml index aad56a1e91..774113afcc 100644 --- a/app/src/main/res/layout/activity_image_viewer.xml +++ b/app/src/main/res/layout/activity_image_viewer.xml @@ -28,6 +28,7 @@ diff --git a/app/src/main/res/layout/activity_pdfreader.xml b/app/src/main/res/layout/activity_pdfreader.xml index 0a78880851..dd9d1b9534 100644 --- a/app/src/main/res/layout/activity_pdfreader.xml +++ b/app/src/main/res/layout/activity_pdfreader.xml @@ -43,6 +43,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_mic" + android:contentDescription="@string/record_audio" app:fab_label="Record Audio" /> diff --git a/app/src/main/res/layout/content_web_view.xml b/app/src/main/res/layout/content_web_view.xml index 73f86fd0e8..69601a01a9 100644 --- a/app/src/main/res/layout/content_web_view.xml +++ b/app/src/main/res/layout/content_web_view.xml @@ -22,6 +22,7 @@ android:layout_height="40dp" android:layout_gravity="center_vertical" android:padding="8dp" + android:contentDescription="@string/finish" android:src="@android:drawable/ic_menu_close_clear_cancel" ads:tint="#000000" /> @@ -61,12 +62,14 @@ android:id="@+id/pBar" style="?android:attr/progressBarStyleHorizontal" android:layout_width="match_parent" + android:contentDescription="@string/progress_bar" android:layout_height="wrap_content" /> diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index 8a207b26b2..3e4fe3991b 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -948,5 +948,11 @@ تأكيد الحذف مستخدم عائد اسمح بمشاركة إنجازاتك مع الوطن + مشغل الصوت + مصدر الصورة + تشغيل الصوت + مشغل الفيديو + شريط التقدم + عرض الويب \ No newline at end of file diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index b6e5c4bdfb..56510e6309 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -953,5 +953,11 @@ Confirmar eliminación Usuario recurrente Permite que tus logros se compartan con la nación + reproductor de audio + recurso de imagen + reproducir audio + reproductor de video + barra de progreso + vista web diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 176e467206..5afda1f946 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -953,5 +953,11 @@ Confirmer la suppression Utilisateur régulier Autorisez la partage de vos réalisations avec la nation + lecteur audio + ressource d\'image + lire l\'audio + lecteur vidéo + barre de progression + vue web diff --git a/app/src/main/res/values-ne/strings.xml b/app/src/main/res/values-ne/strings.xml index 49392df9bd..80bf937920 100644 --- a/app/src/main/res/values-ne/strings.xml +++ b/app/src/main/res/values-ne/strings.xml @@ -953,5 +953,11 @@ हटाउनु हेरदैछ पुनराबृत्ति गर्ने प्रयोगकर्ता तपाइको उपलब्धिहरूलाई देशसँग साझा गर्न अनुमति दिनुहोस् + आडियो प्लेयर + तस्वीर स्रोत + आडियो प्ले गर्नुहोस् + भिडियो प्लेयर + प्रगति पट्टि + वेब दृश्य \ No newline at end of file diff --git a/app/src/main/res/values-so/strings.xml b/app/src/main/res/values-so/strings.xml index 2a8eb6dc73..2deeb9bc85 100644 --- a/app/src/main/res/values-so/strings.xml +++ b/app/src/main/res/values-so/strings.xml @@ -942,5 +942,11 @@ Xaqiiji tirtirka Isticmaale sare leh Geli codbixiyeyaashaaga qaranka + qalabka codka + deriska sawirka + bixi codka + qalabka fiidyowga + balka soo socda + barashada webka \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 0e77f2c41f..7a30408948 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1043,5 +1043,11 @@ Confirm removal Returning user Allow your achievements to be shared with the nation + audio player + image resource + play audio + video player + progress bar + web view