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
commit 35683b9f32
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);
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);

View File

@ -919,6 +919,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");