Skip to content

Commit 2b9feaf

Browse files
Update CodeEdit/Features/CEWorkspace/Models/CEWorkspaceFileManager+FileManagement.swift
Co-authored-by: Austin Condiff <austin.condiff@gmail.com>
1 parent cf6d5af commit 2b9feaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CodeEdit/Features/CEWorkspace/Models/CEWorkspaceFileManager+FileManagement.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ extension CEWorkspaceFileManager {
147147
/// - confirmDelete: True to present an alert to confirm the delete.
148148
public func batchDelete(files: Set<CEWorkspaceFile>, confirmDelete: Bool = true) {
149149
let deleteConfirmation = NSAlert()
150-
deleteConfirmation.messageText = "Do you want to delete \(files.count) items?"
151-
deleteConfirmation.informativeText = "These items will be deleted immediately. You can't undo this action."
150+
deleteConfirmation.messageText = "Are you sure you want to delete the \(files.count) selected items?"
151+
deleteConfirmation.informativeText = "\(files.count) items will be deleted immediately. You cannot undo this action."
152152
deleteConfirmation.alertStyle = .critical
153153
deleteConfirmation.addButton(withTitle: "Delete")
154154
deleteConfirmation.buttons.last?.hasDestructiveAction = true

0 commit comments

Comments
 (0)