diff options
| author | Tusooa Zhu <tusooa@kazv.moe> | 2022-07-15 20:26:05 -0400 |
|---|---|---|
| committer | Tusooa Zhu <tusooa@kazv.moe> | 2022-07-15 20:26:05 -0400 |
| commit | b09912d2f91a410a3b50ee408dd4a0621eba2ff4 (patch) | |
| tree | dc62f26c0d7e11266a08b2421329f4a2726449e3 /src | |
| parent | b11ac221923af4df015c886850592ecf2330cc26 (diff) | |
Make search say No more results when there are current results
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/search/search.vue | 2 | ||||
| -rw-r--r-- | src/i18n/en.json | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/components/search/search.vue b/src/components/search/search.vue index 4373a94b..6fc6a0de 100644 --- a/src/components/search/search.vue +++ b/src/components/search/search.vue @@ -89,7 +89,7 @@ class="search-result-heading" > <h4> - {{ $t('search.no_results') }} + {{ visibleStatuses.length === 0 ? $t('search.no_results') : $t('search.no_more_results') }} </h4> </div> </div> diff --git a/src/i18n/en.json b/src/i18n/en.json index 6026b33e..167a3e0f 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -828,6 +828,7 @@ "person_talking": "{count} person talking", "people_talking": "{count} people talking", "no_results": "No results", + "no_more_results": "No more results", "load_more": "Load more results" }, "password_reset": { |
