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.
2 parents 6c43f58 + 4d3d3ce commit 1fffbdbCopy full SHA for 1fffbdb
addons/block_code/ui/blocks/block/block.gd
@@ -129,7 +129,7 @@ func _get_format_string() -> String:
129
if not definition:
130
return ""
131
132
- if definition.property_name:
+ if definition.property_name and TranslationServer.has_method(&"get_or_add_domain"):
133
var domain: TranslationDomain = TranslationServer.get_or_add_domain("godot.properties")
134
var translated_property: String = domain.translate(definition.property_name.capitalize())
135
# TODO: Ideally we should be also passing the context. See:
0 commit comments