File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -6848,8 +6848,6 @@ EditorNode::EditorNode() {
68486848 DEV_ASSERT (!singleton);
68496849 singleton = this ;
68506850
6851- set_translation_domain (" godot.editor" );
6852-
68536851 Resource::_get_local_scene_func = _resource_get_edited_scene;
68546852
68556853 {
Original file line number Diff line number Diff line change @@ -1162,8 +1162,6 @@ void ProjectManager::_titlebar_resized() {
11621162ProjectManager::ProjectManager (bool p_custom_res) {
11631163 singleton = this ;
11641164
1165- set_translation_domain (" godot.editor" );
1166-
11671165 // Turn off some servers we aren't going to be using in the Project Manager.
11681166 NavigationServer3D::get_singleton ()->set_active (false );
11691167 PhysicsServer3D::get_singleton ()->set_active (false );
Original file line number Diff line number Diff line change @@ -4115,6 +4115,7 @@ int Main::start() {
41154115 if (editor) {
41164116 OS::get_singleton ()->benchmark_begin_measure (" Startup" , " Editor" );
41174117
4118+ sml->get_root ()->set_translation_domain (" godot.editor" );
41184119 if (editor_pseudolocalization) {
41194120 translation_server->get_editor_domain ()->set_pseudolocalization_enabled (true );
41204121 }
@@ -4312,6 +4313,7 @@ int Main::start() {
43124313 OS::get_singleton ()->benchmark_begin_measure (" Startup" , " Project Manager" );
43134314 Engine::get_singleton ()->set_editor_hint (true );
43144315
4316+ sml->get_root ()->set_translation_domain (" godot.editor" );
43154317 if (editor_pseudolocalization) {
43164318 translation_server->get_editor_domain ()->set_pseudolocalization_enabled (true );
43174319 }
You can’t perform that action at this time.
0 commit comments