Fix TTR string for class reference tooltip

Fixes #27852.
This commit is contained in:
Rémi Verschelde 2019-04-09 16:06:37 +02:00
parent 003e977cd5
commit 38104bb89d
1 changed files with 1 additions and 1 deletions

View File

@ -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;