diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 98f2bc8e2..510b46af8 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -2302,11 +2302,11 @@ src/app/components/document-detail/document-detail.component.ts - 1151 + 1160 src/app/components/document-detail/document-detail.component.ts - 1192 + 1201 src/app/components/document-list/bulk-editor/bulk-editor.component.ts @@ -2970,8 +2970,8 @@ 24 - - Delete original documents after successful merge + + Delete original documents after successful merge src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.html 32 @@ -2998,6 +2998,13 @@ 28 + + Delete original document after successful split + + src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.html + 49 + + View @@ -5482,7 +5489,7 @@ src/app/components/document-detail/document-detail.component.ts - 1169 + 1178 src/app/guards/dirty-saved-view.guard.ts @@ -5960,25 +5967,32 @@ 1113 + + Split operation will begin in the background. After its completion, the document will be deleted. + + src/app/components/document-detail/document-detail.component.ts + 1130 + + Split operation will begin in the background. src/app/components/document-detail/document-detail.component.ts - 1128 + 1136 Error executing split operation src/app/components/document-detail/document-detail.component.ts - 1137 + 1146 Rotate confirm src/app/components/document-detail/document-detail.component.ts - 1149 + 1158 src/app/components/document-list/bulk-editor/bulk-editor.component.ts @@ -5989,49 +6003,49 @@ This operation will permanently rotate the original version of the current document. src/app/components/document-detail/document-detail.component.ts - 1150 + 1159 Rotation will begin in the background. Close and re-open the document after the operation has completed to see the changes. src/app/components/document-detail/document-detail.component.ts - 1166 + 1175 Error executing rotate operation src/app/components/document-detail/document-detail.component.ts - 1178 + 1187 Delete pages confirm src/app/components/document-detail/document-detail.component.ts - 1190 + 1199 This operation will permanently delete the selected pages from the original document. src/app/components/document-detail/document-detail.component.ts - 1191 + 1200 Delete pages operation will begin in the background. Close and re-open or reload this document after the operation has completed to see the changes. src/app/components/document-detail/document-detail.component.ts - 1206 + 1215 Error executing delete pages operation src/app/components/document-detail/document-detail.component.ts - 1215 + 1224 diff --git a/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.ts b/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.ts index 1530620e1..d7f106dea 100644 --- a/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.ts +++ b/src-ui/src/app/components/common/confirm-dialog/merge-confirm-dialog/merge-confirm-dialog.component.ts @@ -5,6 +5,7 @@ import { DocumentService } from 'src/app/services/rest/document.service' import { PermissionsService } from 'src/app/services/permissions.service' import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop' import { Subject, takeUntil } from 'rxjs' +import { tap } from 'rxjs/operators' import { Document } from 'src/app/data/document' @Component({ diff --git a/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.html b/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.html index d73e97817..411f5ab79 100644 --- a/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.html +++ b/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.html @@ -44,6 +44,10 @@ +
+ + +