]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-user-settings/user-video-settings.component.html
Add video filters to common video pages
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-user-settings / user-video-settings.component.html
index bb9f5907055a07a75af5253f9ea4b4fef34b4a0c..bc9dd0f7ffd82db272518d48d08d2b6c54f53b11 100644 (file)
@@ -5,7 +5,7 @@
     <my-help>
       <ng-template ptTemplate="customHtml">
         <ng-container i18n>
-          With <strong>Do not list</strong> or <strong>Blur thumbnails</strong>, a confirmation will be requested to watch the video.
+          With <strong>Hide</strong> or <strong>Blur thumbnails</strong>, a confirmation will be requested to watch the video.
         </ng-container>
       </ng-template>
     </my-help>
@@ -13,7 +13,7 @@
     <div class="peertube-select-container">
       <select id="nsfwPolicy" formControlName="nsfwPolicy" class="form-control">
         <option i18n value="undefined" disabled>Policy for sensitive videos</option>
-        <option i18n value="do_not_list">Do not list</option>
+        <option i18n value="do_not_list">Hide</option>
         <option i18n value="blur">Blur thumbnails</option>
         <option i18n value="display">Display</option>
       </select>
     </my-help>
 
     <div>
-      <p-multiSelect
-        inputId="videoLanguages" [options]="languageItems" formControlName="videoLanguages" [showToggleAll]="true"
-        [defaultLabel]="getDefaultVideoLanguageLabel()" [selectedItemsLabel]="getSelectedVideoLanguageLabel()"
-        emptyFilterMessage="No results found" i18n-emptyFilterMessage
-      ></p-multiSelect>
+      <my-select-languages formControlName="videoLanguages"></my-select-languages>
     </div>
   </div>