diff options
author | Musab Kılıç <musabkilic@protonmail.com> | 2021-09-02 22:57:15 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-02 23:52:29 +0200 |
commit | 432839c2e9c1a29343893f85a9fd9f2aeb0750e8 (patch) | |
tree | 7348dbaef0fb71091894d0f811561a40e61f1ee4 /Userland | |
parent | b275b8c87a10f0a85a75fe36a60cfaa5debe74f5 (diff) | |
download | serenity-432839c2e9c1a29343893f85a9fd9f2aeb0750e8.zip |
FileManager: Kindly ask the user if they want to delete a file
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Applications/FileManager/FileUtils.cpp | 4 |
1 files 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<String> 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) { |