1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Merge pull request #12031 from NathanWarden/export_cancel_to_done

Changed the export and fix dependencies dialog cancel button names to "Close"

[ci skip]
This commit is contained in:
Rémi Verschelde
2017-10-21 00:15:48 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

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

View File

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