From 320105ff05a483c5023acef037184a5f686739b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 9 Apr 2019 16:06:37 +0200 Subject: [PATCH] Fix TTR string for class reference tooltip Fixes #27852. (cherry picked from commit 38104bb89dfba6c4adb17b3e1cad8a6cd683c69d) --- editor/plugins/script_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 89e3327a3aa..2fe657f2105 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1736,7 +1736,7 @@ void ScriptEditor::_update_script_names() { String name = eh->get_class(); Ref icon = get_icon("Help", "EditorIcons"); - String tooltip = name + TTR(" Class Reference"); + String tooltip = vformat(TTR("%s Class Reference"), name); _ScriptEditorItemData sd; sd.icon = icon;