diff --git a/apps/red-ui/src/app/modules/shared/components/buttons/file-download-btn/file-download-btn.component.ts b/apps/red-ui/src/app/modules/shared/components/buttons/file-download-btn/file-download-btn.component.ts index 96faf040d..708e10603 100644 --- a/apps/red-ui/src/app/modules/shared/components/buttons/file-download-btn/file-download-btn.component.ts +++ b/apps/red-ui/src/app/modules/shared/components/buttons/file-download-btn/file-download-btn.component.ts @@ -39,7 +39,7 @@ export class FileDownloadBtnComponent extends AutoUnsubscribe implements OnDestr get tooltip() { return this.canDownloadFiles ? this._translateService.instant('dossier-overview.download-file') - : this._translateService.instant('dossier-overview.download-file-disabled'); + : this._translateService.instant('dossier-overview.download-file-disabled', { count: this.files.length }); } downloadFiles($event: MouseEvent) { diff --git a/apps/red-ui/src/assets/i18n/en.json b/apps/red-ui/src/assets/i18n/en.json index d39f0280f..1983a87a9 100644 --- a/apps/red-ui/src/assets/i18n/en.json +++ b/apps/red-ui/src/assets/i18n/en.json @@ -663,7 +663,7 @@ } }, "download-file": "Download", - "download-file-disabled": "Download is only permitted for approved files", + "download-file-disabled": "You need to be approver in the dossier and the {count, plural, one{file needs} other{files need}} to be approved in order to download.", "file-listing": { "file-entry": { "file-error": "Re-processing required",