diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2021-03-24 14:48:31 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2021-03-24 14:48:31 +0100 |
commit | a3caabe22844ef9d10880629a161662b5ac7a8ea (patch) | |
tree | 2325e1b1866872542a128edc1ca0423136a6dcdb /client/src/app/+search | |
parent | 3cc20a1acae625e55d1fbc79b058d47ec987e27b (diff) | |
download | PeerTube-a3caabe22844ef9d10880629a161662b5ac7a8ea.tar.gz PeerTube-a3caabe22844ef9d10880629a161662b5ac7a8ea.tar.zst PeerTube-a3caabe22844ef9d10880629a161662b5ac7a8ea.zip |
Adjust search results note for i18n, adjust typeahead helper
Diffstat (limited to 'client/src/app/+search')
-rw-r--r-- | client/src/app/+search/search.component.html | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/client/src/app/+search/search.component.html b/client/src/app/+search/search.component.html index 84be4fb14..74c6839e1 100644 --- a/client/src/app/+search/search.component.html +++ b/client/src/app/+search/search.component.html | |||
@@ -2,14 +2,12 @@ | |||
2 | <div class="results-header"> | 2 | <div class="results-header"> |
3 | <div class="first-line"> | 3 | <div class="first-line"> |
4 | <div class="results-counter" *ngIf="pagination.totalItems"> | 4 | <div class="results-counter" *ngIf="pagination.totalItems"> |
5 | <span i18n>{{ pagination.totalItems | myNumberFormatter }} {pagination.totalItems, plural, =1 {result} other {results}} </span> | 5 | <span class="mr-1" i18n>{{ pagination.totalItems | myNumberFormatter }} {pagination.totalItems, plural, =1 {result} other {results}}</span> |
6 | 6 | ||
7 | <span i18n *ngIf="advancedSearch.searchTarget === 'local'">on this instance</span> | 7 | <span class="mr-1" i18n *ngIf="advancedSearch.searchTarget === 'local'">on this instance</span> |
8 | <span i18n *ngIf="advancedSearch.searchTarget === 'search-index'">on the vidiverse</span> | 8 | <span class="mr-1" i18n *ngIf="advancedSearch.searchTarget === 'search-index'">on the vidiverse</span> |
9 | 9 | ||
10 | <span *ngIf="currentSearch" i18n> | 10 | <span *ngIf="currentSearch" i18n>for <span class="search-value">{{ currentSearch }}</span></span> |
11 | for <span class="search-value">{{ currentSearch }}</span> | ||
12 | </span> | ||
13 | </div> | 11 | </div> |
14 | 12 | ||
15 | <div | 13 | <div |