summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-04-09 16:06:37 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-04-09 16:06:39 +0200
commit38104bb89dfba6c4adb17b3e1cad8a6cd683c69d (patch)
treedf2ffbec544333dee9361a1c9a71cccadb9583a9 /editor
parent003e977cd54d825c7217af1360287b462e29f8c1 (diff)
Fix TTR string for class reference tooltip
Fixes #27852.
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/script_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp
index 42aba78e96..d7d4cec07d 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -1735,7 +1735,7 @@ void ScriptEditor::_update_script_names() {
String name = eh->get_class();
Ref<Texture> icon = get_icon("Help", "EditorIcons");
- String tooltip = name + TTR(" Class Reference");
+ String tooltip = vformat(TTR("%s Class Reference"), name);
_ScriptEditorItemData sd;
sd.icon = icon;