You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
Fix dock window titles not being translated
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user