diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2019-04-09 16:06:37 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-04-09 16:06:39 +0200 |
| commit | 38104bb89dfba6c4adb17b3e1cad8a6cd683c69d (patch) | |
| tree | df2ffbec544333dee9361a1c9a71cccadb9583a9 | |
| parent | 003e977cd54d825c7217af1360287b462e29f8c1 (diff) | |
Fix TTR string for class reference tooltip
Fixes #27852.
| -rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 2 |
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; |