diff --git a/addons/dialogic/Modules/Choice/event_choice.gd b/addons/dialogic/Modules/Choice/event_choice.gd index 9b603fc64..4e9f0e78f 100644 --- a/addons/dialogic/Modules/Choice/event_choice.gd +++ b/addons/dialogic/Modules/Choice/event_choice.gd @@ -119,7 +119,10 @@ func is_valid_event(string:String) -> bool: ################################################################################ func _get_translatable_properties() -> Array: - return ['text', 'disabled_text'] + if allow_alt_text(): + return ['text', 'disabled_text'] + else: + return ['text'] func _get_property_original_translation(property:String) -> String: diff --git a/addons/dialogic/Modules/Jump/event_label.gd b/addons/dialogic/Modules/Jump/event_label.gd index 97f7ac653..2045173b5 100644 --- a/addons/dialogic/Modules/Jump/event_label.gd +++ b/addons/dialogic/Modules/Jump/event_label.gd @@ -80,7 +80,10 @@ func get_shortcode_parameters() -> Dictionary: func _get_translatable_properties() -> Array: - return ["display_name"] + if display_name.is_empty(): + return [] + else: + return ["display_name"] func _get_property_original_translation(property_name:String) -> String: