aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-09-08 15:13:12 +0200
committerChocobozzz <me@florianbigard.com>2021-09-08 15:13:12 +0200
commit8a7abfef88b5fc69f8809dcbb511e923597a0163 (patch)
treed01cf9b2b43bf87113be334ca22195c445776d1e
parent9e8a7e083784a62e114d2df1e7f1993586016b87 (diff)
downloadPeerTube-8a7abfef88b5fc69f8809dcbb511e923597a0163.tar.gz
PeerTube-8a7abfef88b5fc69f8809dcbb511e923597a0163.tar.zst
PeerTube-8a7abfef88b5fc69f8809dcbb511e923597a0163.zip
Fix video filters for non english UI
-rw-r--r--client/src/app/shared/shared-video-miniature/video-filters-header.component.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/client/src/app/shared/shared-video-miniature/video-filters-header.component.html b/client/src/app/shared/shared-video-miniature/video-filters-header.component.html
index 604746897..6d651e0ca 100644
--- a/client/src/app/shared/shared-video-miniature/video-filters-header.component.html
+++ b/client/src/app/shared/shared-video-miniature/video-filters-header.component.html
@@ -67,12 +67,12 @@
67 <ng-template *ngTemplateOutlet="updateSettings; context: { $implicit: 'video-sensitive-content-policy' }"></ng-template> 67 <ng-template *ngTemplateOutlet="updateSettings; context: { $implicit: 'video-sensitive-content-policy' }"></ng-template>
68 68
69 <div class="peertube-radio-container"> 69 <div class="peertube-radio-container">
70 <input formControlName="nsfw" type="radio" name="nsfw" id="nsfwBoth" i18n-value value="both" /> 70 <input formControlName="nsfw" type="radio" name="nsfw" id="nsfwBoth" value="both" />
71 <label for="nsfwBoth">{{ filters.getNSFWDisplayLabel() }}</label> 71 <label for="nsfwBoth">{{ filters.getNSFWDisplayLabel() }}</label>
72 </div> 72 </div>
73 73
74 <div class="peertube-radio-container"> 74 <div class="peertube-radio-container">
75 <input formControlName="nsfw" type="radio" name="nsfw" id="nsfwFalse" i18n-value value="false" /> 75 <input formControlName="nsfw" type="radio" name="nsfw" id="nsfwFalse" value="false" />
76 <label for="nsfwFalse" i18n>Hide</label> 76 <label for="nsfwFalse" i18n>Hide</label>
77 </div> 77 </div>
78 </div> 78 </div>
@@ -81,12 +81,12 @@
81 <label for="scope" i18n>Scope:</label> 81 <label for="scope" i18n>Scope:</label>
82 82
83 <div class="peertube-radio-container"> 83 <div class="peertube-radio-container">
84 <input formControlName="scope" type="radio" name="scope" id="scopeLocal" i18n-value value="local" /> 84 <input formControlName="scope" type="radio" name="scope" id="scopeLocal" value="local" />
85 <label for="scopeLocal" i18n>Local videos (this instance)</label> 85 <label for="scopeLocal" i18n>Local videos (this instance)</label>
86 </div> 86 </div>
87 87
88 <div class="peertube-radio-container"> 88 <div class="peertube-radio-container">
89 <input formControlName="scope" type="radio" name="scope" id="scopeFederated" i18n-value value="federated" /> 89 <input formControlName="scope" type="radio" name="scope" id="scopeFederated" value="federated" />
90 <label for="scopeFederated" i18n>Federated videos (this instance + followed instances)</label> 90 <label for="scopeFederated" i18n>Federated videos (this instance + followed instances)</label>
91 </div> 91 </div>
92 </div> 92 </div>
@@ -95,17 +95,17 @@
95 <label for="type" i18n>Type:</label> 95 <label for="type" i18n>Type:</label>
96 96
97 <div class="peertube-radio-container"> 97 <div class="peertube-radio-container">
98 <input formControlName="live" type="radio" name="live" id="liveBoth" i18n-value value="both" /> 98 <input formControlName="live" type="radio" name="live" id="liveBoth" value="both" />
99 <label for="liveBoth" i18n>VOD & Live videos</label> 99 <label for="liveBoth" i18n>VOD & Live videos</label>
100 </div> 100 </div>
101 101
102 <div class="peertube-radio-container"> 102 <div class="peertube-radio-container">
103 <input formControlName="live" type="radio" name="live" id="liveTrue" i18n-value value="true" /> 103 <input formControlName="live" type="radio" name="live" id="liveTrue" value="true" />
104 <label for="liveTrue" i18n>Live videos</label> 104 <label for="liveTrue" i18n>Live videos</label>
105 </div> 105 </div>
106 106
107 <div class="peertube-radio-container"> 107 <div class="peertube-radio-container">
108 <input formControlName="live" type="radio" name="live" id="liveFalse" i18n-value value="false" /> 108 <input formControlName="live" type="radio" name="live" id="liveFalse" value="false" />
109 <label for="liveFalse" i18n>VOD videos</label> 109 <label for="liveFalse" i18n>VOD videos</label>
110 </div> 110 </div>
111 </div> 111 </div>