We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 044a145 commit a5fdccfCopy full SHA for a5fdccf
addons/block_code/ui/blocks/block/block.gd
@@ -217,10 +217,11 @@ func _get_tooltip(at_position: Vector2) -> String:
217
if not definition:
218
return ""
219
220
+ var description_tx := TranslationServer.translate(definition.description)
221
if definition.variant_type == Variant.Type.TYPE_NIL:
- return definition.description
222
+ return description_tx
223
- return "{description}\n\nType: [b]{type}[/b]".format({"description": definition.description, "type": type_string(definition.variant_type)})
224
+ return "{description}\n\nType: [b]{type}[/b]".format({"description": description_tx, "type": type_string(definition.variant_type)})
225
226
227
func _make_custom_tooltip(for_text) -> Control:
0 commit comments