Skip to content

Commit 0a847f7

Browse files
committed
Merge pull request godotengine#98253 from timothyqiu/its-too-late
Fix some strings not caught by editor pseudolocalization
2 parents 4d43531 + 3dea832 commit 0a847f7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

main/main.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4040,12 +4040,12 @@ int Main::start() {
40404040
EditorNode *editor_node = nullptr;
40414041
if (editor) {
40424042
OS::get_singleton()->benchmark_begin_measure("Startup", "Editor");
4043-
editor_node = memnew(EditorNode);
40444043

40454044
if (editor_pseudolocalization) {
40464045
translation_server->get_editor_domain()->set_pseudolocalization_enabled(true);
40474046
}
40484047

4048+
editor_node = memnew(EditorNode);
40494049
sml->get_root()->add_child(editor_node);
40504050

40514051
if (!_export_preset.is_empty()) {
@@ -4237,14 +4237,15 @@ int Main::start() {
42374237
if (project_manager) {
42384238
OS::get_singleton()->benchmark_begin_measure("Startup", "Project Manager");
42394239
Engine::get_singleton()->set_editor_hint(true);
4240-
ProjectManager *pmanager = memnew(ProjectManager);
4241-
ProgressDialog *progress_dialog = memnew(ProgressDialog);
4242-
pmanager->add_child(progress_dialog);
42434240

42444241
if (editor_pseudolocalization) {
42454242
translation_server->get_editor_domain()->set_pseudolocalization_enabled(true);
42464243
}
42474244

4245+
ProjectManager *pmanager = memnew(ProjectManager);
4246+
ProgressDialog *progress_dialog = memnew(ProgressDialog);
4247+
pmanager->add_child(progress_dialog);
4248+
42484249
sml->get_root()->add_child(pmanager);
42494250
OS::get_singleton()->benchmark_end_measure("Startup", "Project Manager");
42504251
}

0 commit comments

Comments
 (0)