Fix dock window titles not being translated
This commit is contained in:
parent
dec5a373d9
commit
035de4a6ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue