Set editor's translation domain at root node

(cherry picked from commit 7c8f81f1d07761230ff0471553111f9c2dba8daa)
This commit is contained in:
Haoyu Qiu
2025-03-02 08:52:27 +08:00
committed by Rémi Verschelde
parent 9e5292c6cf
commit b3caec15f5
3 changed files with 2 additions and 4 deletions

View File

@@ -6848,8 +6848,6 @@ EditorNode::EditorNode() {
DEV_ASSERT(!singleton);
singleton = this;
set_translation_domain("godot.editor");
Resource::_get_local_scene_func = _resource_get_edited_scene;
{

View File

@@ -1162,8 +1162,6 @@ void ProjectManager::_titlebar_resized() {
ProjectManager::ProjectManager(bool p_custom_res) {
singleton = this;
set_translation_domain("godot.editor");
// Turn off some servers we aren't going to be using in the Project Manager.
NavigationServer3D::get_singleton()->set_active(false);
PhysicsServer3D::get_singleton()->set_active(false);