From 432839c2e9c1a29343893f85a9fd9f2aeb0750e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Musab=20K=C4=B1l=C4=B1=C3=A7?= Date: Thu, 2 Sep 2021 22:57:15 +0300 Subject: [PATCH] FileManager: Kindly ask the user if they want to delete a file --- Userland/Applications/FileManager/FileUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Applications/FileManager/FileUtils.cpp b/Userland/Applications/FileManager/FileUtils.cpp index c8f2b3ae1d..92b1514205 100644 --- a/Userland/Applications/FileManager/FileUtils.cpp +++ b/Userland/Applications/FileManager/FileUtils.cpp @@ -20,9 +20,9 @@ void delete_paths(Vector const& paths, bool should_confirm, GUI::Window* { String message; if (paths.size() == 1) { - message = String::formatted("Really delete {}?", LexicalPath::basename(paths[0])); + message = String::formatted("Are you sure you want to delete {}?", LexicalPath::basename(paths[0])); } else { - message = String::formatted("Really delete {} files?", paths.size()); + message = String::formatted("Are you sure you want to delete {} files?", paths.size()); } if (should_confirm) {