mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Improve wording of various messages and make casing more consistent
This also adds the number of selected projects to the confirmation dialog that appears before removing projects.
This commit is contained in:
@@ -638,12 +638,12 @@ void EditorAutoloadSettings::autoload_add(const String &p_name, const String &p_
|
||||
|
||||
String path = p_path;
|
||||
if (!FileAccess::exists(path)) {
|
||||
EditorNode::get_singleton()->show_warning(TTR("Invalid Path.") + "\n" + TTR("File does not exist."));
|
||||
EditorNode::get_singleton()->show_warning(TTR("Invalid path.") + "\n" + TTR("File does not exist."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (!path.begins_with("res://")) {
|
||||
EditorNode::get_singleton()->show_warning(TTR("Invalid Path.") + "\n" + TTR("Not in resource path."));
|
||||
EditorNode::get_singleton()->show_warning(TTR("Invalid path.") + "\n" + TTR("Not in resource path."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user