Skip to content

Commit

Permalink
[CST-12044] refactor: code
Browse files Browse the repository at this point in the history
  • Loading branch information
vNovski committed Feb 7, 2024
1 parent 18e62f4 commit c596b6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
[checked]="isPrimary"
(change)="togglePrimaryBitstream($event)">
<label class="custom-control-label" for="primaryBitstream{{fileIndex}}">
<span class="sr-only" aria-hidden="true" *ngIf="!isPrimary">Make {{fileName}} the primary bitstream</span>
<span class="sr-only" aria-hidden="true" *ngIf="isPrimary">Remove {{fileName}} as the primary bitstream</span>
<span class="sr-only" aria-hidden="true" *ngIf="!isPrimary">{{'submission.sections.upload.primary.make' | translate:{ fileName: fileName } }}</span>
<span class="sr-only" aria-hidden="true" *ngIf="isPrimary">{{'submission.sections.upload.primary.remove' | translate:{ fileName: fileName } }}</span>
</label>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions src/assets/i18n/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -4434,6 +4434,10 @@

"submission.sections.toggle.aria.close": "Collapse {{sectionHeader}} section",

"submission.sections.upload.primary.make": "Make {{fileName}} the primary bitstream",

"submission.sections.upload.primary.remove": "Remove {{fileName}} as the primary bitstream",

"submission.sections.upload.delete.confirm.cancel": "Cancel",

"submission.sections.upload.delete.confirm.info": "This operation can't be undone. Are you sure?",
Expand Down

0 comments on commit c596b6c

Please sign in to comment.