commit: b09912d2f91a410a3b50ee408dd4a0621eba2ff4
parent b11ac221923af4df015c886850592ecf2330cc26
Author: Tusooa Zhu <tusooa@kazv.moe>
Date: Fri, 15 Jul 2022 20:26:05 -0400
Make search say No more results when there are current results
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git 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
@@ -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": {