EditorNode::get_singleton()->show_warning(TTR("Can't add autoload:")+"\n"+TTR(vformat("%s is an invalid path. File does not exist.", path)));
EditorNode::get_singleton()->show_warning(TTR("Can't add autoload:")+"\n"+ vformat(TTR("%s is an invalid path. File does not exist."), path));
returnfalse;
}
if(!path.begins_with("res://")){
EditorNode::get_singleton()->show_warning(TTR("Can't add autoload:")+"\n"+TTR(vformat("%s is an invalid path. Not in resource path (res://).", path)));
EditorNode::get_singleton()->show_warning(TTR("Can't add autoload:")+"\n"+ vformat(TTR("%s is an invalid path. Not in resource path (res://)."), path));