浏览代码

Fix plugin creation dialog script name tooltip

passivestar 11 月之前
父节点
当前提交
3345f90bf3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/plugins/plugin_config_dialog.cpp

+ 1 - 1
editor/plugins/plugin_config_dialog.cpp

@@ -305,7 +305,7 @@ PluginConfigDialog::PluginConfigDialog() {
 	grid->add_child(script_name_label);
 
 	script_edit = memnew(LineEdit);
-	script_edit->set_tooltip_text(TTR("Optional. The path to the script (relative to the add-on folder). If left empty, will default to \"plugin.gd\"."));
+	script_edit->set_tooltip_text(TTR("Optional. The name of the script file. If left empty, will default to the subfolder name."));
 	script_edit->set_placeholder("\"plugin.gd\" -> res://addons/my_plugin/plugin.gd");
 	script_edit->set_h_size_flags(Control::SIZE_EXPAND_FILL);
 	grid->add_child(script_edit);