Browse Source

Changed the export/dependencies dialog button names from "Cancel" to "Close"

Nathan Warden 7 years ago
parent
commit
cedd95ba85
2 changed files with 2 additions and 1 deletions
  1. 1 1
      editor/dependency_editor.cpp
  2. 1 0
      editor/project_export.cpp

+ 1 - 1
editor/dependency_editor.cpp

@@ -494,7 +494,7 @@ DependencyErrorDialog::DependencyErrorDialog() {
 	vb->add_margin_child(TTR("Scene failed to load due to missing dependencies:"), files, true);
 	files->set_v_size_flags(SIZE_EXPAND_FILL);
 	get_ok()->set_text(TTR("Open Anyway"));
-	get_cancel()->set_text(TTR("Done"));
+	get_cancel()->set_text(TTR("Close"));
 
 	text = memnew(Label);
 	vb->add_child(text);

+ 1 - 0
editor/project_export.cpp

@@ -915,6 +915,7 @@ ProjectExportDialog::ProjectExportDialog() {
 
 	updating = false;
 
+	get_cancel()->set_text(TTR("Close"));
 	get_ok()->set_text(TTR("Export PCK/Zip"));
 	export_button = add_button(TTR("Export Project"), !OS::get_singleton()->get_swap_ok_cancel(), "export");