Sfoglia il codice sorgente

Merge pull request #6353 from nextcloud/userSearchText

Use same search hint as on server
Andy Scherzinger 4 anni fa
parent
commit
33dfc9651a

+ 1 - 1
src/main/AndroidManifest.xml

@@ -251,7 +251,7 @@
             android:authorities="@string/users_and_groups_search_authority"
             android:enabled="true"
             android:exported="false"
-            android:label="@string/search_users_and_groups_hint" />
+            android:label="@string/share_search" />
 
         <provider
             android:name=".providers.DocumentsStorageProvider"

+ 0 - 1
src/main/res/values/strings.xml

@@ -489,7 +489,6 @@
 
     <string name="share_search">Name, federated cloud ID or email address…</string>
 
-    <string name="search_users_and_groups_hint">Search users and groups</string>
     <string name="share_group_clarification">%1$s (group)</string>
     <string name="share_remote_clarification">%1$s (remote)</string>
     <string name="share_email_clarification">%1$s (email)</string>

+ 2 - 2
src/main/res/xml/users_and_groups_searchable.xml

@@ -21,8 +21,8 @@
 <!-- Searchable configuration to search users & groups in an OC server -->
 <searchable xmlns:android="http://schemas.android.com/apk/res/android"
     android:label="@string/app_name"
-    android:hint="@string/search_users_and_groups_hint"
+    android:hint="@string/share_search"
     android:searchSuggestAuthority="@string/users_and_groups_search_authority"
     android:searchSuggestIntentAction="@string/users_and_groups_share_with"
     android:searchSuggestThreshold="1" >
-</searchable>
+</searchable>