Fix misplaced i18n tag in admin system config
authorRigel Kent <sendmemail@rigelk.eu>
Mon, 6 Jan 2020 14:13:59 +0000 (15:13 +0100)
committerRigel Kent <sendmemail@rigelk.eu>
Mon, 6 Jan 2020 14:13:59 +0000 (15:13 +0100)
client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts

index 8d6c9ab5b47289630c08cfa79cbfc74d21251cfe..27f5ef7224263f510b9a9272dead54c8584b0e99 100644 (file)
                   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>
index ed9c3247ccf9a25a66b9d30f52ea1f49aa595cd7..3fda0851efa9da12e0807788f120251cf6e8427d 100644 (file)
@@ -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',