[Android] Shorten search hint

Nicolas Pomepuy git at videolan.org
Wed Jan 22 10:34:31 CET 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Jan 21 12:05:46 2020 +0100| [91d1186ebd36cc2878105cf01a0da7d24fd2927d] | committer: Geoffrey Métais

Shorten search hint

Fixes #960

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

 resources/src/main/res/values/strings.xml               | 2 +-
 vlc-android/src/org/videolan/vlc/gui/ContentActivity.kt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/resources/src/main/res/values/strings.xml b/resources/src/main/res/values/strings.xml
index a88d4b2df..66a1a3c71 100644
--- a/resources/src/main/res/values/strings.xml
+++ b/resources/src/main/res/values/strings.xml
@@ -508,7 +508,7 @@
     <string name="network_empty">This directory is empty.</string>
     <string name="network_connection_needed">No connection to local network.</string>
     <string name="search_hint">Search media</string>
-    <string name="search_list_hint">Search media in current list</string>
+    <string name="search_in_list_hint">Search in current list</string>
     <string name="search_global">Search in all media library</string>
     <string name="directory_show_medialib">Show in MediaLib</string>
     <string name="directory_hide_medialib">Hide from MediaLib</string>
diff --git a/vlc-android/src/org/videolan/vlc/gui/ContentActivity.kt b/vlc-android/src/org/videolan/vlc/gui/ContentActivity.kt
index f8560e47e..9258522b2 100644
--- a/vlc-android/src/org/videolan/vlc/gui/ContentActivity.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/ContentActivity.kt
@@ -91,7 +91,7 @@ open class ContentActivity : AudioPlayerContainerActivity(), SearchView.OnQueryT
             val filterable = current as Filterable?
             val searchItem = menu.findItem(R.id.ml_menu_filter)
             searchView = searchItem.actionView as SearchView
-            searchView.queryHint = getString(R.string.search_list_hint)
+            searchView.queryHint = getString(R.string.search_in_list_hint)
             searchView.setOnQueryTextListener(this)
             val query = filterable?.getFilterQuery()
             if (!query.isNullOrEmpty()) {



More information about the Android mailing list