diff --git a/scripts/modules/bl_i18n_utils/bl_extract_messages.py b/scripts/modules/bl_i18n_utils/bl_extract_messages.py index 06b4fb4803f..cb07414c262 100644 --- a/scripts/modules/bl_i18n_utils/bl_extract_messages.py +++ b/scripts/modules/bl_i18n_utils/bl_extract_messages.py @@ -204,7 +204,7 @@ def dump_rna_messages(msgs, reports, settings, verbose=False): def class_blacklist(): blacklist_rna_class = {getattr(bpy.types, cls_id) for cls_id in ( # core classes - "Context", "Event", "Function", "UILayout", "UnknownType", "Property", "Struct", + "Context", "Event", "Function", "UILayout", "UnknownType", "Struct", # registerable classes "Panel", "Menu", "Header", "RenderEngine", "Operator", "OperatorMacro", "Macro", "KeyingSetInfo", ) diff --git a/scripts/startup/bl_ui/space_node.py b/scripts/startup/bl_ui/space_node.py index 0c94be84012..7f3c6c913c0 100644 --- a/scripts/startup/bl_ui/space_node.py +++ b/scripts/startup/bl_ui/space_node.py @@ -886,7 +886,8 @@ class NodeTreeInterfacePanel(Panel): props = property_row.operator_menu_enum( "node.tree_socket_change_type", "socket_type", - text=active_socket.bl_label if active_socket.bl_label else active_socket.bl_idname, + text=(iface_(active_socket.bl_label) if active_socket.bl_label + else iface_(active_socket.bl_idname)), ) props.in_out = in_out @@ -904,10 +905,8 @@ class NodeTreeInterfacePanel(Panel): props = property_row.operator_menu_enum( "node.tree_socket_change_subtype", "socket_subtype", - text=( - active_socket.bl_subtype_label if active_socket.bl_subtype_label else - active_socket.bl_idname - ), + text=(iface_(active_socket.bl_subtype_label) if active_socket.bl_subtype_label + else iface_(active_socket.bl_idname)), ) layout.use_property_split = True