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:
commit
35683b9f32
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue