Fix "Convert Full Project" button not translated

Also fixes a typo in the CHANGELOG.
This commit is contained in:
Haoyu Qiu
2023-03-02 14:13:33 +08:00
parent 1c1524a651
commit e03bfd6f7f
2 changed files with 2 additions and 2 deletions

View File

@@ -2974,7 +2974,7 @@ ProjectManager::ProjectManager() {
ask_update_settings = memnew(ConfirmationDialog);
ask_update_settings->set_autowrap(true);
ask_update_settings->get_ok_button()->connect("pressed", callable_mp(this, &ProjectManager::_confirm_update_settings));
full_convert_button = ask_update_settings->add_button("Convert Full Project", !GLOBAL_GET("gui/common/swap_cancel_ok"));
full_convert_button = ask_update_settings->add_button(TTR("Convert Full Project"), !GLOBAL_GET("gui/common/swap_cancel_ok"));
full_convert_button->connect("pressed", callable_mp(this, &ProjectManager::_full_convert_button_pressed));
add_child(ask_update_settings);