From fef05310c26f0b7700bb8fbcb74459a33a95f88c Mon Sep 17 00:00:00 2001 From: mkovalua Date: Wed, 22 Oct 2025 22:16:03 +0300 Subject: [PATCH] =?UTF-8?q?=20implement=20'Moving...'=20/=20'Coping'=20hin?= =?UTF-8?q?ts=C2=A0=20on=20'Move'=20/=20'Copy'=20button=20click=20for=20fi?= =?UTF-8?q?le=20moving/coping=20dialog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/move-file-dialog/move-file-dialog.component.ts | 3 +++ src/assets/i18n/en.json | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/features/files/components/move-file-dialog/move-file-dialog.component.ts b/src/app/features/files/components/move-file-dialog/move-file-dialog.component.ts index 6b7016433..8e1ed529c 100644 --- a/src/app/features/files/components/move-file-dialog/move-file-dialog.component.ts +++ b/src/app/features/files/components/move-file-dialog/move-file-dialog.component.ts @@ -182,6 +182,8 @@ export class MoveFileDialogComponent { } this.isFilesUpdating.set(true); + const headerKey = this.isMoveAction ? 'files.dialogs.moveFile.movingHeader' : 'files.dialogs.moveFile.copingHeader'; + this.config.header = this.translateService.instant(headerKey); const action = this.config.data.action; const files: FileModel[] = this.config.data.files; const totalFiles = files.length; @@ -209,6 +211,7 @@ export class MoveFileDialogComponent { this.openReplaceMoveDialog(conflictFiles, path, action); } else { this.showToast(action); + this.config.header = this.translateService.instant('files.dialogs.moveFile.title'); this.completeMove(); } } diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 58c0b767d..8390339d9 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -1157,7 +1157,9 @@ "storage": "OSF Storage", "pathError": "Path is not specified!", "success": "Successfully moved.", - "noMovePermission": "Cannot move or copy to this file provider" + "noMovePermission": "Cannot move or copy to this file provider", + "movingHeader": "Moving...", + "copingHeader": "Coping..." }, "copyFile": { "success": "File successfully copied."