diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 86198ca7f..a80bd082f 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -188,35 +188,35 @@ Confirm delete src/app/components/document-detail/document-detail.component.ts - 199 + 203 Do you really want to delete document ""? src/app/components/document-detail/document-detail.component.ts - 200 + 204 The files for this document will be deleted permanently. This operation cannot be undone. src/app/components/document-detail/document-detail.component.ts - 201 + 205 Delete document src/app/components/document-detail/document-detail.component.ts - 203 + 207 Error deleting document: src/app/components/document-detail/document-detail.component.ts - 210 + 214 @@ -1470,6 +1470,13 @@ 126 + + HTTP error: + + src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.ts + 136 + + Upload new documents @@ -1637,21 +1644,21 @@ Document already exists. src/app/services/consumer-status.service.ts - 14 + 15 File not found. src/app/services/consumer-status.service.ts - 15 + 16 Pre-consume script does not exist. src/app/services/consumer-status.service.ts - 16 + 17 Pre-Consume is a term that appears like that in the documentation as well and does not need a specific translation @@ -1659,7 +1666,7 @@ Error while executing pre-consume script. src/app/services/consumer-status.service.ts - 17 + 18 Pre-Consume is a term that appears like that in the documentation as well and does not need a specific translation @@ -1667,7 +1674,7 @@ Post-consume script does not exist. src/app/services/consumer-status.service.ts - 18 + 19 Post-Consume is a term that appears like that in the documentation as well and does not need a specific translation @@ -1675,7 +1682,7 @@ Error while executing post-consume script. src/app/services/consumer-status.service.ts - 19 + 20 Post-Consume is a term that appears like that in the documentation as well and does not need a specific translation @@ -1683,49 +1690,49 @@ Received new file. src/app/services/consumer-status.service.ts - 20 + 21 File type not supported. src/app/services/consumer-status.service.ts - 21 + 22 Processing document... src/app/services/consumer-status.service.ts - 22 + 23 Generating thumbnail... src/app/services/consumer-status.service.ts - 23 + 24 Retrieving date from document... src/app/services/consumer-status.service.ts - 24 + 25 Saving document... src/app/services/consumer-status.service.ts - 25 + 26 Finished. src/app/services/consumer-status.service.ts - 26 + 27 diff --git a/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.ts b/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.ts index f604a3fc1..2412290c0 100644 --- a/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.ts +++ b/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.ts @@ -133,7 +133,7 @@ export class UploadFileWidgetComponent implements OnInit { break; } default: { - this.consumerStatusService.fail(status, `${error.status} ${error.statusText}`) + this.consumerStatusService.fail(status, $localize`HTTP error: ${error.status} ${error.statusText}`) break; } }