[Android] Extract the apply queue string

Nicolas Pomepuy git at videolan.org
Mon Nov 18 13:23:22 UTC 2024


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Nov 15 11:34:35 2024 +0100| [abe4d130e919f244613b36b55a1ece56c7edad6d] | committer: Duncan McNamara

Extract the apply queue string

> https://code.videolan.org/videolan/vlc-android/commit/abe4d130e919f244613b36b55a1ece56c7edad6d
---

 application/resources/src/main/res/values/strings.xml                   | 1 +
 application/vlc-android/res/layout/dialog_video_resume.xml              | 2 +-
 .../src/main/java/org/videolan/vlc/webserver/TranslationMapping.kt      | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/application/resources/src/main/res/values/strings.xml b/application/resources/src/main/res/values/strings.xml
index a1b3d03224..deb14cc4c5 100644
--- a/application/resources/src/main/res/values/strings.xml
+++ b/application/resources/src/main/res/values/strings.xml
@@ -610,6 +610,7 @@
     <string name="go_to_chapter">Go to chapter…</string>
     <string name="current_chapter">Chapter: %s</string>
     <string name="confirm_resume">Resume from last position?</string>
+    <string name="apply_playqueue">Apply for all the play queue</string>
     <string name="confirm_resume_title">Resume played videos</string>
     <string name="confirm_resume_audio_title">Resume played audio</string>
     <string name="tv_ui_title">Android TV interface</string>
diff --git a/application/vlc-android/res/layout/dialog_video_resume.xml b/application/vlc-android/res/layout/dialog_video_resume.xml
index acb8ea6282..b1c8596f9d 100644
--- a/application/vlc-android/res/layout/dialog_video_resume.xml
+++ b/application/vlc-android/res/layout/dialog_video_resume.xml
@@ -51,7 +51,7 @@
             android:layout_marginTop="8dp"
             android:layout_marginEnd="16dp"
             android:layout_marginBottom="8dp"
-            android:text="Apply for all the play queue"
+            android:text="@string/apply_playqueue"
             app:layout_constraintBottom_toBottomOf="parent"
             app:layout_constraintEnd_toEndOf="parent"
             app:layout_constraintHorizontal_bias="0.0"
diff --git a/application/webserver/src/main/java/org/videolan/vlc/webserver/TranslationMapping.kt b/application/webserver/src/main/java/org/videolan/vlc/webserver/TranslationMapping.kt
index cf017ed603..154afb37ca 100644
--- a/application/webserver/src/main/java/org/videolan/vlc/webserver/TranslationMapping.kt
+++ b/application/webserver/src/main/java/org/videolan/vlc/webserver/TranslationMapping.kt
@@ -142,6 +142,7 @@ object TranslationMapping {
         REMOTE_KEYBOARD_NAVIGATION(R.string.remote_keyboard_navigation),
         RESUME(R.string.resume),
         CONFIRM_RESUME(R.string.confirm_resume),
+        APPLY_PLAYQUEUE(R.string.apply_playqueue),
         NO(R.string.no)
     }
 }
\ No newline at end of file



More information about the Android mailing list