diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-11-12 12:13:14 -0600 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-11-12 12:13:14 -0600 |
commit | 0a847f74649fa1fbc8fc4c44597223c9c12ad17a (patch) | |
tree | 3c0b17e643dc1c65acebbf6382f4e69bed6cdf05 | |
parent | 4d4353179e22ed441604ded8715a511406634814 (diff) | |
parent | 3dea83215c590f4dad7d755d42b77fea81171964 (diff) | |
download | redot-engine-0a847f74649fa1fbc8fc4c44597223c9c12ad17a.tar.gz |
Merge pull request #98253 from timothyqiu/its-too-late
Fix some strings not caught by editor pseudolocalization
-rw-r--r-- | main/main.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/main/main.cpp b/main/main.cpp index bdadd24d35..d3c768946c 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -4040,12 +4040,12 @@ int Main::start() { EditorNode *editor_node = nullptr; if (editor) { OS::get_singleton()->benchmark_begin_measure("Startup", "Editor"); - editor_node = memnew(EditorNode); if (editor_pseudolocalization) { translation_server->get_editor_domain()->set_pseudolocalization_enabled(true); } + editor_node = memnew(EditorNode); sml->get_root()->add_child(editor_node); if (!_export_preset.is_empty()) { @@ -4237,14 +4237,15 @@ int Main::start() { if (project_manager) { OS::get_singleton()->benchmark_begin_measure("Startup", "Project Manager"); Engine::get_singleton()->set_editor_hint(true); - ProjectManager *pmanager = memnew(ProjectManager); - ProgressDialog *progress_dialog = memnew(ProgressDialog); - pmanager->add_child(progress_dialog); if (editor_pseudolocalization) { translation_server->get_editor_domain()->set_pseudolocalization_enabled(true); } + ProjectManager *pmanager = memnew(ProjectManager); + ProgressDialog *progress_dialog = memnew(ProgressDialog); + pmanager->add_child(progress_dialog); + sml->get_root()->add_child(pmanager); OS::get_singleton()->benchmark_end_measure("Startup", "Project Manager"); } |