Merge pull request #27853 from akien-mga/classref-tooltip

Fix TTR string for class reference tooltip
This commit is contained in:
Rémi Verschelde 2019-04-09 17:01:11 +02:00 committed by GitHub
commit 444fa4c1c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1735,7 +1735,7 @@ void ScriptEditor::_update_script_names() {
String name = eh->get_class(); String name = eh->get_class();
Ref<Texture> icon = get_icon("Help", "EditorIcons"); Ref<Texture> icon = get_icon("Help", "EditorIcons");
String tooltip = name + TTR(" Class Reference"); String tooltip = vformat(TTR("%s Class Reference"), name);
_ScriptEditorItemData sd; _ScriptEditorItemData sd;
sd.icon = icon; sd.icon = icon;