ActivityPub-federated video streaming platform using P2P directly in your web browser
Adjust search results note for i18n, adjust typeahead helper
Rigel Kenta3caabe22844
diff --git a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.htmlindex 1b5fe45c6c..f98ef690c7 100644--- a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html+++ b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html@@ -20,8 +20,8 @@<my-global-icon iconName="search"></my-global-icon><ng-container i18n>- {{ pagination.totalItems }} {pagination.totalItems, plural, =1 {result} other {results}} for "{{ search }}"- </ng-container>+ {{ pagination.totalItems }} {pagination.totalItems, plural, =1 {result} other {results}} for {{ search }}"+ </ng-container></ng-container></div>diff --git a/client/src/app/+search/search.component.html b/client/src/app/+search/search.component.htmlindex 84be4fb140..74c6839e1d 100644--- a/client/src/app/+search/search.component.html+++ b/client/src/app/+search/search.component.html@@ -2,14 +2,12 @@<div class="results-header"><div class="first-line"><div class="results-counter" *ngIf="pagination.totalItems">- <span i18n>{{ pagination.totalItems | myNumberFormatter }} {pagination.totalItems, plural, =1 {result} other {results}} </span>+ <span class="mr-1" i18n>{{ pagination.totalItems | myNumberFormatter }} {pagination.totalItems, plural, =1 {result} other {results}}</span>- <span i18n *ngIf="advancedSearch.searchTarget === 'local'">on this instance</span>- <span i18n *ngIf="advancedSearch.searchTarget === 'search-index'">on the vidiverse</span>+ <span class="mr-1" i18n *ngIf="advancedSearch.searchTarget === 'local'">on this instance</span>+ <span class="mr-1" i18n *ngIf="advancedSearch.searchTarget === 'search-index'">on the vidiverse</span>- <span *ngIf="currentSearch" i18n>- for <span class="search-value">{{ currentSearch }}</span>- </span>+ <span *ngIf="currentSearch" i18n>for <span class="search-value">{{ currentSearch }}</span></span></div><divdiff --git a/client/src/app/header/search-typeahead.component.html b/client/src/app/header/search-typeahead.component.htmlindex 03e86b8e64..f84086b4a6 100644--- a/client/src/app/header/search-typeahead.component.html+++ b/client/src/app/header/search-typeahead.component.html@@ -34,7 +34,8 @@<!-- search instructions, when search input is empty --><div *ngIf="areInstructionsDisplayed()" id="typeahead-instructions" class="overflow-hidden">- <div class="d-flex justify-content-between">+ <span class="text-muted" i18n>Your query will be matched against video names or descriptions, channel names.</span>+ <div class="d-flex justify-content-between mt-3"><label class="small-title" i18n>ADVANCED SEARCH</label><div class="advanced-search-status c-help"><span [ngClass]="canSearchAnyURI ? 'text-success' : 'text-muted'" i18n-title title="Determines whether you can resolve any distant content, or if this instance only allows doing so for instances it follows.">@@ -55,7 +56,6 @@<em>UUID</em> <span class="text-muted" i18n>will list the matching video</span></li></ul>- <span class="text-muted" i18n>Any other input will return matching video or channel names.</span></div></div>