File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
app/features/files/components/move-file-dialog Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,8 @@ export class MoveFileDialogComponent {
182182 }
183183
184184 this . isFilesUpdating . set ( true ) ;
185+ const headerKey = this . isMoveAction ? 'files.dialogs.moveFile.movingHeader' : 'files.dialogs.moveFile.copingHeader' ;
186+ this . config . header = this . translateService . instant ( headerKey ) ;
185187 const action = this . config . data . action ;
186188 const files : FileModel [ ] = this . config . data . files ;
187189 const totalFiles = files . length ;
@@ -209,6 +211,7 @@ export class MoveFileDialogComponent {
209211 this . openReplaceMoveDialog ( conflictFiles , path , action ) ;
210212 } else {
211213 this . showToast ( action ) ;
214+ this . config . header = this . translateService . instant ( 'files.dialogs.moveFile.title' ) ;
212215 this . completeMove ( ) ;
213216 }
214217 }
Original file line number Diff line number Diff line change 11571157 "storage" : " OSF Storage" ,
11581158 "pathError" : " Path is not specified!" ,
11591159 "success" : " Successfully moved." ,
1160- "noMovePermission" : " Cannot move or copy to this file provider"
1160+ "noMovePermission" : " Cannot move or copy to this file provider" ,
1161+ "movingHeader" : " Moving..." ,
1162+ "copingHeader" : " Coping..."
11611163 },
11621164 "copyFile" : {
11631165 "success" : " File successfully copied."
You can’t perform that action at this time.
0 commit comments