1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Rename the "Delete" option in the FileSystem dock to "Move to Trash"

It actually moves files to the system trash instead of removing them
completely.
This commit is contained in:
Hugo Locurcio
2020-08-14 20:42:27 +02:00
parent aded76cb84
commit e7ed287fda
2 changed files with 3 additions and 3 deletions

View File

@@ -2277,7 +2277,7 @@ void FileSystemDock::_file_and_folders_fill_popup(PopupMenu *p_popup, Vector<Str
if (p_paths.size() > 1 || p_paths[0] != "res://") {
p_popup->add_icon_item(get_theme_icon("MoveUp", "EditorIcons"), TTR("Move To..."), FILE_MOVE);
p_popup->add_icon_item(get_theme_icon("Remove", "EditorIcons"), TTR("Delete"), FILE_REMOVE);
p_popup->add_icon_item(get_theme_icon("Remove", "EditorIcons"), TTR("Move to Trash"), FILE_REMOVE);
}
if (p_paths.size() == 1) {