[Android] Fix some string warnings

Nicolas Pomepuy git at videolan.org
Mon Mar 11 10:17:58 UTC 2024


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Mar  8 09:29:53 2024 +0100| [13c2ec8fbb21e413166fcd23d7849bc53dd3c4ba] | committer: Nicolas Pomepuy

Fix some string warnings

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

 application/resources/src/main/res/values-hi/strings.xml |  4 ----
 application/resources/src/main/res/values-in/strings.xml | 12 ------------
 application/resources/src/main/res/values/strings.xml    | 10 +++++-----
 3 files changed, 5 insertions(+), 21 deletions(-)

diff --git a/application/resources/src/main/res/values-hi/strings.xml b/application/resources/src/main/res/values-hi/strings.xml
index 11da6a2c50..27aa2084f2 100644
--- a/application/resources/src/main/res/values-hi/strings.xml
+++ b/application/resources/src/main/res/values-hi/strings.xml
@@ -463,8 +463,4 @@
     <string name="discovery_failed">%s: के लिए खोज असफल रही </string>
     <string name="start">शुरू करें</string>
     <string name="permission">अनुमति</string>
-    <plurals name="duplication_two_options_secondary">
-        <item quantity="one">ये आइटम पहले से ही प्लेलिस्ट में है।</item>
-        <item quantity="other">ये आइटम पहले से ही प्लेलिस्ट में हैं।</item>
-    </plurals>
     </resources>
diff --git a/application/resources/src/main/res/values-in/strings.xml b/application/resources/src/main/res/values-in/strings.xml
index 90fe60dc32..bf42de579a 100644
--- a/application/resources/src/main/res/values-in/strings.xml
+++ b/application/resources/src/main/res/values-in/strings.xml
@@ -332,12 +332,6 @@
     <string name="subtitles_size_big">Besar</string>
     <string name="subtitles_size_huge">Sangat besar</string>
     <string name="subtitles_color_title">Warna Terjemahan</string>
-    <string name="subtitles_color_white">Putih</string>
-    <string name="subtitles_color_gray">Abu - abu</string>
-    <string name="subtitles_color_pink">Merah muda</string>
-    <string name="subtitles_color_blue">Biru</string>
-    <string name="subtitles_color_yellow">Kuning</string>
-    <string name="subtitles_color_green">Hijau</string>
     <string name="subtitles_background_title">Latar Belakang Terjemahan</string>
     <string name="subtitles_bold_title">Tebalkan terjemahan</string>
     <string name="subtitles_autoload_title">Muat otomatis terjemahan</string>
@@ -905,12 +899,6 @@
     <string name="video_key_jump_delay">Kunci navigasi delay waktu</string>
     <string name="banned">Folder dilarang (ketuk lama untuk mengubah)</string>
     <string name="banned_parent">Dilarang oleh folder induk</string>
-    <plurals name="duplication_two_options_secondary">
-        <item quantity="other">Item berikut telah ada di daftar putar.</item>
-    </plurals>
-    <plurals name="duplication_three_options_secondary">
-        <item quantity="other">%d dari item yang dipilih telah ada di dalam daftar putar ini.</item>
-    </plurals>
     <string name="official_website">Situs resmi</string>
     <string name="view_online">Lihat online</string>
     <string name="player_under_notch">Tampilkan video di bawah notch</string>
diff --git a/application/resources/src/main/res/values/strings.xml b/application/resources/src/main/res/values/strings.xml
index a450b6d068..3e93cf9e10 100644
--- a/application/resources/src/main/res/values/strings.xml
+++ b/application/resources/src/main/res/values/strings.xml
@@ -483,7 +483,7 @@
     <string name="remote_access_info">Remote access info</string>
     <string name="remote_access_content">Content</string>
     <string name="remote_access_medialibrary_content">Media library content</string>
-    <string name="remote_access_medialibrary_content_summary">Enabled: %s\nDisabled: %s</string>
+    <string name="remote_access_medialibrary_content_summary">Enabled: %1$s\nDisabled: %2$s</string>
     <string name="remote_access_file_browser_content">File browser</string>
     <string name="remote_access_network_browser_content">Network browser</string>
     <string name="remote_access_playback_control">Control playback</string>
@@ -1136,7 +1136,7 @@
 
 
     <!--    accessibility-->
-    <string name="talkback_media_content_description">%s - title: %s - duration: %s</string>
+    <string name="talkback_media_content_description">%1$s - title: %2$s - duration: %3$s</string>
     <string name="talkback_genre">Genre: %s</string>
     <string name="talkback_history_item">History item</string>
     <string name="talkback_playlist">Playlist: %s</string>
@@ -1164,7 +1164,7 @@
     <string name="talkback_audio_tracks">Audio tracks</string>
     <string name="talkback_subtitle_tracks">Subtitle tracks</string>
     <string name="talkback_track" translatable="false">%s: %s. %s</string>
-    <string name="talkback_subtitle_dowload_item">Language: %s. %s. Name: %s</string>
+    <string name="talkback_subtitle_dowload_item">Language: %1$s. %2$s. Name: %3$s</string>
     <string name="selected">Selected</string>
     <string name="talkback_increase_delay">Increase delay</string>
     <string name="talkback_decrease_delay">Decrease delay</string>
@@ -1176,8 +1176,8 @@
     <string name="talkback_audio_player_collapsed">Audio player collapsed</string>
     <string name="talkback_audio_player_closed">Audio player closed</string>
     <string name="talkback_audio_player">Audio player. Currently playing: %s</string>
-    <string name="talkback_out_of">%s out of %s</string>
-    <string name="talkback_track_index">Track %s out of %s</string>
+    <string name="talkback_out_of">%1$s out of %2$s</string>
+    <string name="talkback_track_index">Track %1$s out of %2$s</string>
     <string name="downloaded">Downloaded</string>
     <string name="not_downloaded">Not downloaded</string>
     <string name="downloading">Downloading</string>



More information about the Android mailing list