Show appropriate message when search results are empty
Since implementing #323 (closed), the search is no longer performed in a separate activity. As a side effect of this, when a particular search doesn't return any results, it shows the default "No apps" message, not one specific to the action of searching. This is confusing and should be fixed. Right now, the messages are (in the English translation):
"Available" tab
No apps in this category.
Try selecting a different category or updating your repositories to get a fresh list of apps.
"Installed" tab
No apps installed.
There are apps on your device, but they are not available from F-Droid. This could be because you need to update your repositories, or the repositories genuinely don't have your apps available.
"Updates" tab
All apps up to date.
Congratulations! All of your apps are up to date (or your repositories are out of date).
When performing search results, these are inappropriate, and should be changed. For completeness, there used to be a string that was shown in the search results activity which said:
No applications were found matching 'blah'
At the very least, I will change it so that we use this message. However, I'm open to suggestions if somebody would prefer it to be specific to the tab that is selected, such as:
"Available" tab
No applications were found matching 'blah'.
"Installed" tab
No installed applications were found matching 'blah'.
"Updates" tab
No applications matching 'blah' have updates.