diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 17c585c28..d07659793 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -1492,18 +1492,19 @@ This button dismisses all status messages about processed documents on the dashboard (failed and successful) - - more hidden + + {VAR_PLURAL, plural, =1 {One more document} other { more documents}} src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html - 24 + 25 + This is shown as a summary line when there are more than 5 document in the processing pipeline. Open document src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html - 41 + 45 @@ -1645,6 +1646,7 @@ src/app/services/consumer-status.service.ts 16 + Pre-Consume is a term that appears like that in the documentation as well and does not need a specific translation Error while executing pre-consume script. @@ -1652,6 +1654,7 @@ src/app/services/consumer-status.service.ts 17 + Pre-Consume is a term that appears like that in the documentation as well and does not need a specific translation Post-consume script does not exist. @@ -1659,6 +1662,7 @@ src/app/services/consumer-status.service.ts 18 + Post-Consume is a term that appears like that in the documentation as well and does not need a specific translation Error while executing post-consume script. @@ -1666,6 +1670,7 @@ src/app/services/consumer-status.service.ts 19 + Post-Consume is a term that appears like that in the documentation as well and does not need a specific translation Received new file. diff --git a/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html b/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html index 252480147..cabeb0643 100644 --- a/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html +++ b/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html @@ -20,8 +20,12 @@
-
-

{{getStatusHidden().length}} more hidden

+
+

+ {getStatusHidden().length, plural, =1 {One more document} other {{{getStatusHidden().length}} more documents}} +  •  + Show all +

diff --git a/src-ui/src/app/services/consumer-status.service.ts b/src-ui/src/app/services/consumer-status.service.ts index 026c3c64f..9c7d0417a 100644 --- a/src-ui/src/app/services/consumer-status.service.ts +++ b/src-ui/src/app/services/consumer-status.service.ts @@ -13,10 +13,10 @@ export enum FileStatusPhase { export const FILE_STATUS_MESSAGES = { "document_already_exists": $localize`Document already exists.`, "file_not_found": $localize`File not found.`, - "pre_consume_script_not_found": $localize`Pre-consume script does not exist.`, - "pre_consume_script_error": $localize`Error while executing pre-consume script.`, - "post_consume_script_not_found": $localize`Post-consume script does not exist.`, - "post_consume_script_error": $localize`Error while executing post-consume script.`, + "pre_consume_script_not_found": $localize`:Pre-Consume is a term that appears like that in the documentation as well and does not need a specific translation:Pre-consume script does not exist.`, + "pre_consume_script_error": $localize`:Pre-Consume is a term that appears like that in the documentation as well and does not need a specific translation:Error while executing pre-consume script.`, + "post_consume_script_not_found": $localize`:Post-Consume is a term that appears like that in the documentation as well and does not need a specific translation:Post-consume script does not exist.`, + "post_consume_script_error": $localize`:Post-Consume is a term that appears like that in the documentation as well and does not need a specific translation:Error while executing post-consume script.`, "new_file": $localize`Received new file.`, "unsupported_type": $localize`File type not supported.`, "parsing_document": $localize`Processing document...`,