Fix TTR string for class reference tooltip
Fixes #27852.
(cherry picked from commit 38104bb89d
)
This commit is contained in:
parent
2020f43261
commit
320105ff05
|
@ -1736,7 +1736,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;
|
||||||
|
|
Loading…
Reference in New Issue