i18n in video-edit
authorRigel Kent <sendmemail@rigelk.eu>
Fri, 21 Sep 2018 14:48:42 +0000 (16:48 +0200)
committerRigel Kent <sendmemail@rigelk.eu>
Fri, 21 Sep 2018 14:48:42 +0000 (16:48 +0200)
client/src/app/videos/+video-edit/shared/video-edit.component.html

index 69f306519b407e1f048ac842de4c6fe5878f540c..46869268c28bfa20fed5cd46c1f264bd3da880de 100644 (file)
                   [href]="videoCaption.captionPath"
                 >{{ videoCaption.language.label }}</a>
 
-                <div class="caption-entry-state">Already uploaded      &#10004;</div>
+                <div i18n class="caption-entry-state">Already uploaded &#10004;</div>
 
                 <span i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Delete</span>
               </ng-container>
               <ng-container *ngIf="videoCaption.action === 'CREATE'">
                 <span class="caption-entry-label">{{ videoCaption.language.label }}</span>
 
-                <div class="caption-entry-state caption-entry-state-create">Will be created on update</div>
+                <div i18n class="caption-entry-state caption-entry-state-create">Will be created on update</div>
 
                 <span i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Cancel create</span>
               </ng-container>
               <ng-container *ngIf="videoCaption.action === 'REMOVE'">
                 <span class="caption-entry-label">{{ videoCaption.language.label }}</span>
 
-                <div class="caption-entry-state caption-entry-state-delete">Will be deleted on update</div>
+                <div i18n class="caption-entry-state caption-entry-state-delete">Will be deleted on update</div>
 
                 <span i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Cancel deletion</span>
               </ng-container>
             </div>
           </div>
 
-          <div class="no-caption" *ngIf="videoCaptions?.length === 0">
+          <div i18n class="no-caption" *ngIf="videoCaptions?.length === 0">
             No captions for now.
           </div>