mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Fix some strings not caught by editor pseudolocalization
This commit is contained in:
parent
04692d83cb
commit
3dea83215c
@ -4013,12 +4013,12 @@ int Main::start() {
|
|||||||
EditorNode *editor_node = nullptr;
|
EditorNode *editor_node = nullptr;
|
||||||
if (editor) {
|
if (editor) {
|
||||||
OS::get_singleton()->benchmark_begin_measure("Startup", "Editor");
|
OS::get_singleton()->benchmark_begin_measure("Startup", "Editor");
|
||||||
editor_node = memnew(EditorNode);
|
|
||||||
|
|
||||||
if (editor_pseudolocalization) {
|
if (editor_pseudolocalization) {
|
||||||
translation_server->get_editor_domain()->set_pseudolocalization_enabled(true);
|
translation_server->get_editor_domain()->set_pseudolocalization_enabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
editor_node = memnew(EditorNode);
|
||||||
sml->get_root()->add_child(editor_node);
|
sml->get_root()->add_child(editor_node);
|
||||||
|
|
||||||
if (!_export_preset.is_empty()) {
|
if (!_export_preset.is_empty()) {
|
||||||
@ -4210,14 +4210,15 @@ int Main::start() {
|
|||||||
if (project_manager) {
|
if (project_manager) {
|
||||||
OS::get_singleton()->benchmark_begin_measure("Startup", "Project Manager");
|
OS::get_singleton()->benchmark_begin_measure("Startup", "Project Manager");
|
||||||
Engine::get_singleton()->set_editor_hint(true);
|
Engine::get_singleton()->set_editor_hint(true);
|
||||||
ProjectManager *pmanager = memnew(ProjectManager);
|
|
||||||
ProgressDialog *progress_dialog = memnew(ProgressDialog);
|
|
||||||
pmanager->add_child(progress_dialog);
|
|
||||||
|
|
||||||
if (editor_pseudolocalization) {
|
if (editor_pseudolocalization) {
|
||||||
translation_server->get_editor_domain()->set_pseudolocalization_enabled(true);
|
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);
|
sml->get_root()->add_child(pmanager);
|
||||||
OS::get_singleton()->benchmark_end_measure("Startup", "Project Manager");
|
OS::get_singleton()->benchmark_end_measure("Startup", "Project Manager");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user