[CST-12044] feature: add translation for badge

This commit is contained in:
Vlad Nouski
2023-10-26 12:51:01 +02:00
parent c644cc5102
commit 462aafb487
2 changed files with 3 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
<div class="file-section">
<ds-themed-file-download-link *ngFor="let file of bitstreams; let last=last;" [bitstream]="file" [item]="item">
<span>
<span *ngIf="primaryBitsreamId === file.id" class="badge badge-primary">Primary</span>
<span *ngIf="primaryBitsreamId === file.id" class="badge badge-primary">{{ 'item.page.bitstreams.primary' | translate }}</span>
{{ dsoNameService.getName(file) }}
</span>
<span> ({{(file?.sizeBytes) | dsFileSize }})</span>

View File

@@ -2436,6 +2436,8 @@
"item.page.bitstreams.collapse": "Collapse",
"item.page.bitstreams.primary": "Primary",
"item.page.filesection.original.bundle": "Original bundle",
"item.page.filesection.license.bundle": "License bundle",