Skip to content

Commit 3dea832

Browse files
committed
Fix some strings not caught by editor pseudolocalization
1 parent 04692d8 commit 3dea832

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
@@ -4013,12 +4013,12 @@ int Main::start() {
40134013
EditorNode *editor_node = nullptr;
40144014
if (editor) {
40154015
OS::get_singleton()->benchmark_begin_measure("Startup", "Editor");
4016-
editor_node = memnew(EditorNode);
40174016

40184017
if (editor_pseudolocalization) {
40194018
translation_server->get_editor_domain()->set_pseudolocalization_enabled(true);
40204019
}
40214020

4021+
editor_node = memnew(EditorNode);
40224022
sml->get_root()->add_child(editor_node);
40234023

40244024
if (!_export_preset.is_empty()) {
@@ -4210,14 +4210,15 @@ int Main::start() {
42104210
if (project_manager) {
42114211
OS::get_singleton()->benchmark_begin_measure("Startup", "Project Manager");
42124212
Engine::get_singleton()->set_editor_hint(true);
4213-
ProjectManager *pmanager = memnew(ProjectManager);
4214-
ProgressDialog *progress_dialog = memnew(ProgressDialog);
4215-
pmanager->add_child(progress_dialog);
42164213

42174214
if (editor_pseudolocalization) {
42184215
translation_server->get_editor_domain()->set_pseudolocalization_enabled(true);
42194216
}
42204217

4218+
ProjectManager *pmanager = memnew(ProjectManager);
4219+
ProgressDialog *progress_dialog = memnew(ProgressDialog);
4220+
pmanager->add_child(progress_dialog);
4221+
42214222
sml->get_root()->add_child(pmanager);
42224223
OS::get_singleton()->benchmark_end_measure("Startup", "Project Manager");
42234224
}

0 commit comments

Comments
 (0)