Kaynağa Gözat

Fix misplaced i18n tag in admin system config

Rigel Kent 4 yıl önce
ebeveyn
işleme
6a07a05861

+ 1 - 1
client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html

@@ -551,7 +551,7 @@
                   i18n-labelText labelText="Resolution {{resolution.label}} enabled"
                 >
                   <ng-template *ngIf="resolution.description" ptTemplate="help">
-                    <div i18n [innerHTML]="resolution.description"></div>
+                    <div [innerHTML]="resolution.description"></div>
                   </ng-template>
                 </my-peertube-checkbox>
               </div>

+ 1 - 1
client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts

@@ -41,7 +41,7 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit {
       {
         id: '0p',
         label: this.i18n('Audio-only'),
-        description: `A <code>.mp4</code> that keeps the original audio track, with no video`
+        description: this.i18n('A <code>.mp4</code> that keeps the original audio track, with no video')
       },
       {
         id: '240p',