From 29d68dac06f9b3bd8590a27d00142235b1a58561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Fri, 30 Jul 2021 21:54:56 +0200 Subject: [PATCH] Show 'Over X results' if more results are available MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/features/compose/components/search_results.js | 6 +++++- app/soapbox/locales/pl.json | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/soapbox/features/compose/components/search_results.js b/app/soapbox/features/compose/components/search_results.js index c6d990734..45de8036d 100644 --- a/app/soapbox/features/compose/components/search_results.js +++ b/app/soapbox/features/compose/components/search_results.js @@ -86,7 +86,11 @@ class SearchResults extends ImmutablePureComponent {
- + { + hasMore + ? + : + }
diff --git a/app/soapbox/locales/pl.json b/app/soapbox/locales/pl.json index b968895d7..12611d8b4 100644 --- a/app/soapbox/locales/pl.json +++ b/app/soapbox/locales/pl.json @@ -616,6 +616,7 @@ "search_results.statuses": "Wpisy", "search_results.top": "Góra", "search_results.total": "{count, number} {count, plural, one {wynik} few {wyniki} many {wyników} more {wyników}}", + "search_results.total.has_more": "{count, number} Ponad {count, plural, one {wynik} few {wyniki} many {wyników} more {wyników}}", "security.codes.fail": "Nie udało się uzyskać zapasowych kodów", "security.confirm.fail": "Nieprawidłowy kod lub hasło. Spróbuj ponownie.", "security.delete_account.fail": "Nie udało się usunąć konta.",