RED-2041 - download not allowed message

This commit is contained in:
Adina Țeudan 2021-10-08 16:31:07 +03:00
parent 4b3a37caee
commit c1a3430ac6
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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",