Is there an existing issue for this?
Is there a StackOverflow question about this issue?
What happened?
The empty-results message on the Search screen contains a grammar error. When a
search returns no results, EmptySearchResultBody renders:
Try another search or explorer Interests to browse topics
The word "explorer" (a noun) should be "explore" (a verb) to read correctly:
Try another search or explore Interests to browse topics
The faulty text comes from the feature_search_api_try_another_search string
resource:
https://github.com/android/nowinandroid/blob/main/feature/search/api/src/main/res/values/strings.xml#L22
<string name="feature_search_api_try_another_search">Try another search or explorer </string>
It is assembled into the final sentence in SearchScreen.kt
(EmptySearchResultBody), where the bold "Interests" link and " to browse topics"
are appended:
https://github.com/android/nowinandroid/blob/main/feature/search/impl/src/main/kotlin/com/google/samples/apps/nowinandroid/feature/search/impl/SearchScreen.kt#L231-L253
This is a user-facing copy fix only and does not change app behavior. The existing
SearchScreenTest builds its expected string from the same resource, so it
continues to pass without modification.
### Relevant logcat output
```shell
Code of Conduct
Is there an existing issue for this?
Is there a StackOverflow question about this issue?
What happened?
The empty-results message on the Search screen contains a grammar error. When a
search returns no results,
EmptySearchResultBodyrenders:The word "explorer" (a noun) should be "explore" (a verb) to read correctly:
The faulty text comes from the
feature_search_api_try_another_searchstringresource:
https://github.com/android/nowinandroid/blob/main/feature/search/api/src/main/res/values/strings.xml#L22
Code of Conduct