[Android] Fix last added auto item capitalization
Nicolas Pomepuy
git at videolan.org
Wed Oct 21 09:02:42 CEST 2020
vlc-android | branch: 3.3.x | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Oct 19 11:57:53 2020 +0200| [572e4652fc3309946512e53850c016b55bda10db] | committer: Nicolas Pomepuy
Fix last added auto item capitalization
(cherry picked from commit d1b8e75e5b4038ba0244824c917bfedd3ad87f16)
> https://code.videolan.org/videolan/vlc-android/commit/572e4652fc3309946512e53850c016b55bda10db
---
application/resources/src/main/res/values/strings.xml | 2 +-
.../vlc-android/src/org/videolan/vlc/media/MediaSessionBrowser.kt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/application/resources/src/main/res/values/strings.xml b/application/resources/src/main/res/values/strings.xml
index c06fd5b5ac..f1706031e8 100644
--- a/application/resources/src/main/res/values/strings.xml
+++ b/application/resources/src/main/res/values/strings.xml
@@ -521,7 +521,7 @@
<string name="ml_external_storage_msg">Do you want VLC to add device %1$s to your medialibrary?</string>
<string name="ml_external_storage_accept">Yes</string>
<string name="ml_external_storage_decline">No</string>
- <string name="last_added_media">last added</string>
+ <string name="auto_last_added_media">Last added</string>
<string name="no">No</string>
<string name="loading_medialibrary">Loading Medialibrary…</string>
<string name="yes">Yes</string>
diff --git a/application/vlc-android/src/org/videolan/vlc/media/MediaSessionBrowser.kt b/application/vlc-android/src/org/videolan/vlc/media/MediaSessionBrowser.kt
index 0af0887b41..15ce2db513 100644
--- a/application/vlc-android/src/org/videolan/vlc/media/MediaSessionBrowser.kt
+++ b/application/vlc-android/src/org/videolan/vlc/media/MediaSessionBrowser.kt
@@ -191,7 +191,7 @@ class MediaSessionBrowser : ExtensionManagerActivity {
//Last added
item = MediaDescriptionCompat.Builder()
.setMediaId(ID_LAST_ADDED)
- .setTitle(res.getString(R.string.last_added_media))
+ .setTitle(res.getString(R.string.auto_last_added_media))
.setIconUri("${BASE_DRAWABLE_URI}/${R.drawable.ic_auto_new}".toUri())
results.add(MediaBrowserCompat.MediaItem(item.build(), MediaBrowserCompat.MediaItem.FLAG_BROWSABLE))
//History
More information about the Android
mailing list