소스 검색

FileManager: Kindly ask the user if they want to delete a file

Musab Kılıç 3 년 전
부모
커밋
432839c2e9
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Userland/Applications/FileManager/FileUtils.cpp

+ 2 - 2
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) {