Show 'Over X results' if more results are available
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
e7d122dc95
commit
29d68dac06
2 changed files with 6 additions and 1 deletions
|
@ -86,7 +86,11 @@ class SearchResults extends ImmutablePureComponent {
|
||||||
<div className='search-results'>
|
<div className='search-results'>
|
||||||
<div className='search-results__header'>
|
<div className='search-results__header'>
|
||||||
<Icon id='search' fixedWidth />
|
<Icon id='search' fixedWidth />
|
||||||
<FormattedMessage id='search_results.total' defaultMessage='{count, number} {count, plural, one {result} other {results}}' values={{ count }} />
|
{
|
||||||
|
hasMore
|
||||||
|
? <FormattedMessage id='search_results.total.has_more' defaultMessage='Over {count, number} {count, plural, one {result} other {results}}' values={{ count }} />
|
||||||
|
: <FormattedMessage id='search_results.total' defaultMessage='{count, number} {count, plural, one {result} other {results}}' values={{ count }} />
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<FilterBar selectedFilter={selectedFilter} selectFilter={this.handleSelectFilter} />
|
<FilterBar selectedFilter={selectedFilter} selectFilter={this.handleSelectFilter} />
|
||||||
|
|
|
@ -616,6 +616,7 @@
|
||||||
"search_results.statuses": "Wpisy",
|
"search_results.statuses": "Wpisy",
|
||||||
"search_results.top": "Góra",
|
"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": "{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.codes.fail": "Nie udało się uzyskać zapasowych kodów",
|
||||||
"security.confirm.fail": "Nieprawidłowy kod lub hasło. Spróbuj ponownie.",
|
"security.confirm.fail": "Nieprawidłowy kod lub hasło. Spróbuj ponownie.",
|
||||||
"security.delete_account.fail": "Nie udało się usunąć konta.",
|
"security.delete_account.fail": "Nie udało się usunąć konta.",
|
||||||
|
|
Loading…
Reference in a new issue