Merge pull request #113688 from KoBeWi/PlikSystem

Fix dock window titles not being translated
This commit is contained in:
Rémi Verschelde 2025-12-09 17:17:08 +01:00
commit 4f4a27b311
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -406,7 +406,7 @@ void EditorDockManager::_open_dock_in_window(EditorDock *p_dock, bool p_show_win
Point2 dock_screen_pos = p_dock->get_screen_position();
WindowWrapper *wrapper = memnew(WindowWrapper);
wrapper->set_window_title(vformat(TTR("%s - Godot Engine"), p_dock->get_display_title()));
wrapper->set_window_title(vformat(TTR("%s - Godot Engine"), TTR(p_dock->get_display_title())));
wrapper->set_margins_enabled(true);
EditorNode::get_singleton()->get_gui_base()->add_child(wrapper);