Dependency editor: Edit message about move to trash
Fixes #47106.
(cherry picked from commit 41ed695ba2
)
This commit is contained in:
parent
4fef6b9cbc
commit
ea0116b01f
1 changed files with 2 additions and 2 deletions
|
@ -456,13 +456,13 @@ void DependencyRemoveDialog::show(const Vector<String> &p_folders, const Vector<
|
||||||
removed_deps.sort();
|
removed_deps.sort();
|
||||||
if (removed_deps.empty()) {
|
if (removed_deps.empty()) {
|
||||||
owners->hide();
|
owners->hide();
|
||||||
text->set_text(TTR("Remove selected files from the project? (no undo)\nYou can find the removed files in the system trash to restore them."));
|
text->set_text(TTR("Remove the selected files from the project? (Cannot be undone.)\nDepending on your filesystem configuration, the files will either be moved to the system trash or deleted permanently."));
|
||||||
set_size(Size2());
|
set_size(Size2());
|
||||||
popup_centered();
|
popup_centered();
|
||||||
} else {
|
} else {
|
||||||
_build_removed_dependency_tree(removed_deps);
|
_build_removed_dependency_tree(removed_deps);
|
||||||
owners->show();
|
owners->show();
|
||||||
text->set_text(TTR("The files being removed are required by other resources in order for them to work.\nRemove them anyway? (no undo)\nYou can find the removed files in the system trash to restore them."));
|
text->set_text(TTR("The files being removed are required by other resources in order for them to work.\nRemove them anyway? (Cannot be undone.)\nDepending on your filesystem configuration, the files will either be moved to the system trash or deleted permanently."));
|
||||||
popup_centered(Size2(500, 350));
|
popup_centered(Size2(500, 350));
|
||||||
}
|
}
|
||||||
EditorFileSystem::get_singleton()->scan_changes();
|
EditorFileSystem::get_singleton()->scan_changes();
|
||||||
|
|
Loading…
Reference in a new issue