diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-04-09 17:01:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-09 17:01:11 +0200 |
commit | 444fa4c1c803fbc02c72eb6b77326c3b56de3b61 (patch) | |
tree | 35c3193364cd8198c75d9a20a45fcfab38aab14c | |
parent | eb4bdedcc6366394f2eb83a21643328f8081495e (diff) | |
parent | 38104bb89dfba6c4adb17b3e1cad8a6cd683c69d (diff) |
Merge pull request #27853 from akien-mga/classref-tooltip
Fix TTR string for class reference tooltip
-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; |