From 397617550e93604675972d04ed16d9e5adec68a3 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 5 Apr 2023 16:53:32 +0500 Subject: [PATCH] Title case naming for operators --- .../bim/module/boundary/operator.py | 24 +++++++++---------- .../blenderbim/bim/module/cad/workspace.py | 2 +- .../blenderbim/bim/module/cost/operator.py | 2 +- .../blenderbim/bim/module/drawing/operator.py | 6 ++--- .../blenderbim/bim/module/gis/operator.py | 2 +- .../blenderbim/bim/module/model/door.py | 4 ++-- .../blenderbim/bim/module/model/railing.py | 4 ++-- .../blenderbim/bim/module/model/roof.py | 6 ++--- .../blenderbim/bim/module/model/stair.py | 4 ++-- .../bim/module/model/sverchok_modifier.py | 4 ++-- .../blenderbim/bim/module/model/ui.py | 10 ++++---- .../blenderbim/bim/module/model/window.py | 4 ++-- .../blenderbim/bim/module/model/workspace.py | 2 +- .../blenderbim/bim/module/patch/operator.py | 2 +- .../blenderbim/bim/module/pset/operator.py | 8 +++---- .../bim/module/pset_template/operator.py | 4 ++-- .../bim/module/resource/operator.py | 2 +- .../bim/module/sequence/operator.py | 2 +- src/blenderbim/blenderbim/bim/operator.py | 2 +- .../io_import_scene_ifc/__init__.py | 2 +- src/ifcsverchok/__init__.py | 4 ++-- 21 files changed, 50 insertions(+), 50 deletions(-) diff --git a/src/blenderbim/blenderbim/bim/module/boundary/operator.py b/src/blenderbim/blenderbim/bim/module/boundary/operator.py index 95a4b2c6b5..26ee795ca7 100644 --- a/src/blenderbim/blenderbim/bim/module/boundary/operator.py +++ b/src/blenderbim/blenderbim/bim/module/boundary/operator.py @@ -119,7 +119,7 @@ class Loader: class LoadProjectSpaceBoundaries(bpy.types.Operator): bl_idname = "bim.load_project_space_boundaries" - bl_label = "Load all project space boundaries" + bl_label = "Load All Project Space Boundaries" bl_options = {"REGISTER", "UNDO"} def execute(self, context): @@ -131,7 +131,7 @@ class LoadProjectSpaceBoundaries(bpy.types.Operator): class LoadBoundary(bpy.types.Operator): bl_idname = "bim.load_boundary" - bl_label = "Load boundary" + bl_label = "Load Boundary" bl_options = {"REGISTER", "UNDO"} boundary_id: bpy.props.IntProperty() @@ -147,7 +147,7 @@ class LoadBoundary(bpy.types.Operator): class LoadSpaceBoundaries(bpy.types.Operator): bl_idname = "bim.load_space_boundaries" - bl_label = "Load selected space boundaries" + bl_label = "Load Selected Space Boundaries" bl_options = {"REGISTER", "UNDO"} def execute(self, context): @@ -168,7 +168,7 @@ def get_element_boundaries(element): class SelectRelatedElementBoundaries(bpy.types.Operator): bl_idname = "bim.select_related_element_boundaries" - bl_label = "Select related element space boundaries" + bl_label = "Select Related Element Space Boundaries" bl_options = {"REGISTER", "UNDO"} related_element: bpy.props.IntProperty() @@ -185,7 +185,7 @@ class SelectRelatedElementBoundaries(bpy.types.Operator): class SelectRelatedElementTypeBoundaries(bpy.types.Operator): bl_idname = "bim.select_related_element_type_boundaries" - bl_label = "Select related element type space boundaries" + bl_label = "Select Related Element Type Space Boundaries" bl_options = {"REGISTER", "UNDO"} related_element: bpy.props.IntProperty() @@ -208,7 +208,7 @@ class SelectRelatedElementTypeBoundaries(bpy.types.Operator): class SelectSpaceBoundaries(bpy.types.Operator): bl_idname = "bim.select_space_boundaries" - bl_label = "Select all space boundaries" + bl_label = "Select All Space Boundaries" bl_options = {"REGISTER", "UNDO"} def execute(self, context): @@ -224,7 +224,7 @@ class SelectSpaceBoundaries(bpy.types.Operator): class SelectProjectBoundaries(bpy.types.Operator): bl_idname = "bim.select_project_space_boundaries" - bl_label = "Select all project space boundaries" + bl_label = "Select All Project Space Boundaries" bl_options = {"REGISTER", "UNDO"} def execute(self, context): @@ -260,7 +260,7 @@ def get_colour(ifc_boundary): class ColourByRelatedBuildingElement(bpy.types.Operator): bl_idname = "bim.colour_by_related_building_element" - bl_label = "Apply colour based on related building elements" + bl_label = "Apply Colour Based on Related Building Elements" bl_options = {"REGISTER", "UNDO"} def execute(self, context): @@ -308,7 +308,7 @@ EDITABLE_ATTRIBUTES = { class EnableEditingBoundary(bpy.types.Operator): bl_idname = "bim.enable_editing_boundary" - bl_label = "Edit boundary relations" + bl_label = "Edit Boundary Relations" bl_options = {"REGISTER", "UNDO"} def execute(self, context): @@ -327,7 +327,7 @@ class EnableEditingBoundary(bpy.types.Operator): class DisableEditingBoundary(bpy.types.Operator): bl_idname = "bim.disable_editing_boundary" - bl_label = "Disable editing boundary relations" + bl_label = "Disable Editing Boundary Relations" bl_options = {"REGISTER", "UNDO"} def execute(self, context): @@ -340,7 +340,7 @@ class DisableEditingBoundary(bpy.types.Operator): class EditBoundaryAttributes(bpy.types.Operator): bl_idname = "bim.edit_boundary_attributes" - bl_label = "Disable editing boundary relations" + bl_label = "Disable Editing Boundary Relations" bl_options = {"REGISTER", "UNDO"} def execute(self, context): @@ -361,7 +361,7 @@ class EditBoundaryAttributes(bpy.types.Operator): class UpdateBoundaryGeometry(bpy.types.Operator): bl_idname = "bim.update_boundary_geometry" - bl_label = "Update boundary geometry" + bl_label = "Update Boundary Geometry" bl_description = """ Update boundary connection geometry from mesh. Mesh must lie on a single plane. It should look like a face or a face with holes. diff --git a/src/blenderbim/blenderbim/bim/module/cad/workspace.py b/src/blenderbim/blenderbim/bim/module/cad/workspace.py index 0170a09344..22ea702b3a 100644 --- a/src/blenderbim/blenderbim/bim/module/cad/workspace.py +++ b/src/blenderbim/blenderbim/bim/module/cad/workspace.py @@ -156,7 +156,7 @@ class CadTool(WorkSpaceTool): row = layout.row(align=True) row.label(text="", icon="EVENT_SHIFT") row.label(text="", icon="EVENT_R") - row.operator("bim.cad_hotkey", text="Set gable roof angle").hotkey = "S_R" + row.operator("bim.cad_hotkey", text="Set Gable Roof Angle").hotkey = "S_R" row = layout.row(align=True) row.label(text="", icon="EVENT_SHIFT") diff --git a/src/blenderbim/blenderbim/bim/module/cost/operator.py b/src/blenderbim/blenderbim/bim/module/cost/operator.py index 3403e46456..29c2fc1141 100644 --- a/src/blenderbim/blenderbim/bim/module/cost/operator.py +++ b/src/blenderbim/blenderbim/bim/module/cost/operator.py @@ -149,7 +149,7 @@ class ContractCostItem(bpy.types.Operator, tool.Ifc.Operator): class RemoveCostItem(bpy.types.Operator, tool.Ifc.Operator): bl_idname = "bim.remove_cost_item" - bl_label = "Remove Cost item" + bl_label = "Remove Cost Item" bl_options = {"REGISTER", "UNDO"} cost_item: bpy.props.IntProperty() diff --git a/src/blenderbim/blenderbim/bim/module/drawing/operator.py b/src/blenderbim/blenderbim/bim/module/drawing/operator.py index a0311a9325..76540bdc0d 100644 --- a/src/blenderbim/blenderbim/bim/module/drawing/operator.py +++ b/src/blenderbim/blenderbim/bim/module/drawing/operator.py @@ -1226,7 +1226,7 @@ class EditTextPopup(bpy.types.Operator): props = context.active_object.BIMTextProperties row = self.layout.row(align=True) - row.operator("bim.add_text_literal", icon="ADD", text="Add literal") + row.operator("bim.add_text_literal", icon="ADD", text="Add Literal") row = self.layout.row(align=True) row.prop(props, "font_size") @@ -1309,7 +1309,7 @@ class DisableEditingText(bpy.types.Operator, Operator): class AddTextLiteral(bpy.types.Operator): bl_idname = "bim.add_text_literal" - bl_label = "Add text literal" + bl_label = "Add Text Literal" bl_options = {"REGISTER", "UNDO"} def execute(self, context): @@ -1344,7 +1344,7 @@ class AddTextLiteral(bpy.types.Operator): class RemoveTextLiteral(bpy.types.Operator): bl_idname = "bim.remove_text_literal" - bl_label = "Remove text literal" + bl_label = "Remove Text Literal" bl_options = {"REGISTER", "UNDO"} literal_prop_id: bpy.props.IntProperty() diff --git a/src/blenderbim/blenderbim/bim/module/gis/operator.py b/src/blenderbim/blenderbim/bim/module/gis/operator.py index 801a69ee48..bbfe7b2671 100644 --- a/src/blenderbim/blenderbim/bim/module/gis/operator.py +++ b/src/blenderbim/blenderbim/bim/module/gis/operator.py @@ -49,7 +49,7 @@ class BIM_OT_cityjson2ifc(Operator): class BIM_OT_find_cityjson_lod(Operator): bl_idname = "bim.find_cityjson_lod" - bl_label = "Find LODs in CityJSON file" + bl_label = "Find LODs in CityJSON File" bl_context = "scene" def execute(self, context): diff --git a/src/blenderbim/blenderbim/bim/module/model/door.py b/src/blenderbim/blenderbim/bim/module/model/door.py index 59221aac54..b1c404fbb2 100644 --- a/src/blenderbim/blenderbim/bim/module/model/door.py +++ b/src/blenderbim/blenderbim/bim/module/model/door.py @@ -544,7 +544,7 @@ class AddDoor(bpy.types.Operator, tool.Ifc.Operator): class CancelEditingDoor(bpy.types.Operator, tool.Ifc.Operator): bl_idname = "bim.cancel_editing_door" - bl_label = "Cancel editing Door" + bl_label = "Cancel Editing Door" bl_options = {"REGISTER"} def _execute(self, context): @@ -573,7 +573,7 @@ class CancelEditingDoor(bpy.types.Operator, tool.Ifc.Operator): class FinishEditingDoor(bpy.types.Operator, tool.Ifc.Operator): bl_idname = "bim.finish_editing_door" - bl_label = "Finish editing door" + bl_label = "Finish Editing Door" bl_options = {"REGISTER"} def _execute(self, context): diff --git a/src/blenderbim/blenderbim/bim/module/model/railing.py b/src/blenderbim/blenderbim/bim/module/model/railing.py index 160be5aa19..8a4625fa62 100644 --- a/src/blenderbim/blenderbim/bim/module/model/railing.py +++ b/src/blenderbim/blenderbim/bim/module/model/railing.py @@ -299,7 +299,7 @@ class EnableEditingRailing(bpy.types.Operator, tool.Ifc.Operator): class CancelEditingRailing(bpy.types.Operator, tool.Ifc.Operator): bl_idname = "bim.cancel_editing_railing" - bl_label = "Cancel editing Railing" + bl_label = "Cancel Editing Railing" bl_options = {"REGISTER"} def _execute(self, context): @@ -328,7 +328,7 @@ class CancelEditingRailing(bpy.types.Operator, tool.Ifc.Operator): class FinishEditingRailing(bpy.types.Operator, tool.Ifc.Operator): bl_idname = "bim.finish_editing_railing" - bl_label = "Finish editing railing" + bl_label = "Finish Editing Railing" bl_options = {"REGISTER"} def _execute(self, context): diff --git a/src/blenderbim/blenderbim/bim/module/model/roof.py b/src/blenderbim/blenderbim/bim/module/model/roof.py index d3cacd9173..6aa022300f 100644 --- a/src/blenderbim/blenderbim/bim/module/model/roof.py +++ b/src/blenderbim/blenderbim/bim/module/model/roof.py @@ -469,7 +469,7 @@ class EnableEditingRoof(bpy.types.Operator, tool.Ifc.Operator): class CancelEditingRoof(bpy.types.Operator, tool.Ifc.Operator): bl_idname = "bim.cancel_editing_roof" - bl_label = "Cancel editing Roof" + bl_label = "Cancel Editing Roof" bl_options = {"REGISTER"} def _execute(self, context): @@ -498,7 +498,7 @@ class CancelEditingRoof(bpy.types.Operator, tool.Ifc.Operator): class FinishEditingRoof(bpy.types.Operator, tool.Ifc.Operator): bl_idname = "bim.finish_editing_roof" - bl_label = "Finish editing roof" + bl_label = "Finish Editing Roof" bl_options = {"REGISTER"} def _execute(self, context): @@ -633,7 +633,7 @@ class RemoveRoof(bpy.types.Operator, tool.Ifc.Operator): class SetGableRoofEdgeAngle(bpy.types.Operator): bl_idname = "bim.set_gable_roof_edge_angle" - bl_label = "Set gable roof edge angle" + bl_label = "Set Gable Roof Edge Angle" bl_options = {"REGISTER", "UNDO"} angle: bpy.props.FloatProperty(name="Angle", default=90) diff --git a/src/blenderbim/blenderbim/bim/module/model/stair.py b/src/blenderbim/blenderbim/bim/module/model/stair.py index f960758635..5e60e595fb 100644 --- a/src/blenderbim/blenderbim/bim/module/model/stair.py +++ b/src/blenderbim/blenderbim/bim/module/model/stair.py @@ -384,7 +384,7 @@ class AddStair(bpy.types.Operator, tool.Ifc.Operator): class CancelEditingStair(bpy.types.Operator, tool.Ifc.Operator): bl_idname = "bim.cancel_editing_stair" - bl_label = "Cancel editing Stair" + bl_label = "Cancel Editing Stair" bl_options = {"REGISTER"} def _execute(self, context): @@ -404,7 +404,7 @@ class CancelEditingStair(bpy.types.Operator, tool.Ifc.Operator): class FinishEditingStair(bpy.types.Operator, tool.Ifc.Operator): bl_idname = "bim.finish_editing_stair" - bl_label = "Finish editing stair" + bl_label = "Finish Editing Stair" bl_options = {"REGISTER"} def _execute(self, context): diff --git a/src/blenderbim/blenderbim/bim/module/model/sverchok_modifier.py b/src/blenderbim/blenderbim/bim/module/model/sverchok_modifier.py index 5699c921f8..4444870fe9 100644 --- a/src/blenderbim/blenderbim/bim/module/model/sverchok_modifier.py +++ b/src/blenderbim/blenderbim/bim/module/model/sverchok_modifier.py @@ -182,7 +182,7 @@ class UpdateDataFromSverchok(bpy.types.Operator, tool.Ifc.Operator): # removed the part that was relying on node graph to be opened at execution class ImportSverchokGraph(bpy.types.Operator, tool.Ifc.Operator): bl_idname = "bim.import_sverchok_graph" - bl_label = "Import sverchok graph" + bl_label = "Import Sverchok Graph" bl_options = {"REGISTER"} filepath: bpy.props.StringProperty( @@ -224,7 +224,7 @@ class ImportSverchokGraph(bpy.types.Operator, tool.Ifc.Operator): # removed the part that was relying on node graph to be opened at execution class ExportSverchokGraph(bpy.types.Operator, tool.Ifc.Operator): bl_idname = "bim.export_sverchok_graph" - bl_label = "Export sverchok graph" + bl_label = "Export Sverchok Graph" bl_options = {"REGISTER"} filepath: bpy.props.StringProperty( diff --git a/src/blenderbim/blenderbim/bim/module/model/ui.py b/src/blenderbim/blenderbim/bim/module/model/ui.py index d35e2f7150..1ed0ef6caf 100644 --- a/src/blenderbim/blenderbim/bim/module/model/ui.py +++ b/src/blenderbim/blenderbim/bim/module/model/ui.py @@ -273,7 +273,7 @@ class BIM_PT_stair(bpy.types.Panel): stair_data = StairData.data["parameters"]["data_dict"] if props.is_editing != -1: row = self.layout.row(align=True) - row.operator("bim.finish_editing_stair", icon="CHECKMARK", text="Finish editing") + row.operator("bim.finish_editing_stair", icon="CHECKMARK", text="Finish Editing") row.operator("bim.cancel_editing_stair", icon="CANCEL", text="") row = self.layout.row(align=True) for prop_name in props.get_props_kwargs(): @@ -373,7 +373,7 @@ class BIM_PT_window(bpy.types.Panel): if props.is_editing != -1: row = self.layout.row(align=True) - row.operator("bim.finish_editing_window", icon="CHECKMARK", text="Finish editing") + row.operator("bim.finish_editing_window", icon="CHECKMARK", text="Finish Editing") row.operator("bim.cancel_editing_window", icon="CANCEL", text="") general_props = props.get_general_kwargs() @@ -488,7 +488,7 @@ class BIM_PT_door(bpy.types.Panel): if props.is_editing != -1: row = self.layout.row(align=True) - row.operator("bim.finish_editing_door", icon="CHECKMARK", text="Finish editing") + row.operator("bim.finish_editing_door", icon="CHECKMARK", text="Finish Editing") row.operator("bim.cancel_editing_door", icon="CANCEL", text="") general_props = props.get_general_kwargs() @@ -572,7 +572,7 @@ class BIM_PT_railing(bpy.types.Panel): if props.is_editing != -1: row = self.layout.row(align=True) - row.operator("bim.finish_editing_railing", icon="CHECKMARK", text="Finish editing") + row.operator("bim.finish_editing_railing", icon="CHECKMARK", text="Finish Editing") row.operator("bim.cancel_editing_railing", icon="CANCEL", text="") general_props = props.get_general_kwargs() @@ -631,7 +631,7 @@ class BIM_PT_roof(bpy.types.Panel): if props.is_editing != -1: row = self.layout.row(align=True) - row.operator("bim.finish_editing_roof", icon="CHECKMARK", text="Finish editing") + row.operator("bim.finish_editing_roof", icon="CHECKMARK", text="Finish Editing") row.operator("bim.cancel_editing_roof", icon="CANCEL", text="") general_props = props.get_general_kwargs() diff --git a/src/blenderbim/blenderbim/bim/module/model/window.py b/src/blenderbim/blenderbim/bim/module/model/window.py index 1ee9bc848a..a9bcb7a153 100644 --- a/src/blenderbim/blenderbim/bim/module/model/window.py +++ b/src/blenderbim/blenderbim/bim/module/model/window.py @@ -482,7 +482,7 @@ class AddWindow(bpy.types.Operator, tool.Ifc.Operator): class CancelEditingWindow(bpy.types.Operator, tool.Ifc.Operator): bl_idname = "bim.cancel_editing_window" - bl_label = "Cancel editing Window" + bl_label = "Cancel Editing Window" bl_options = {"REGISTER"} def _execute(self, context): @@ -510,7 +510,7 @@ class CancelEditingWindow(bpy.types.Operator, tool.Ifc.Operator): class FinishEditingWindow(bpy.types.Operator, tool.Ifc.Operator): bl_idname = "bim.finish_editing_window" - bl_label = "Finish editing window" + bl_label = "Finish Editing Window" bl_options = {"REGISTER"} def _execute(self, context): diff --git a/src/blenderbim/blenderbim/bim/module/model/workspace.py b/src/blenderbim/blenderbim/bim/module/model/workspace.py index 95054955a6..a757c837aa 100644 --- a/src/blenderbim/blenderbim/bim/module/model/workspace.py +++ b/src/blenderbim/blenderbim/bim/module/model/workspace.py @@ -306,7 +306,7 @@ class BimToolUI: row = cls.layout.row(align=True) row.label(text="", icon="EVENT_SHIFT") row.label(text="", icon="EVENT_E") - row.operator("bim.hotkey", text="Edit text").hotkey = "S_E" + row.operator("bim.hotkey", text="Edit Text").hotkey = "S_E" row = cls.layout.row(align=True) row.label(text="", icon="EVENT_SHIFT") diff --git a/src/blenderbim/blenderbim/bim/module/patch/operator.py b/src/blenderbim/blenderbim/bim/module/patch/operator.py index 8ad931edbb..6561bd43b7 100644 --- a/src/blenderbim/blenderbim/bim/module/patch/operator.py +++ b/src/blenderbim/blenderbim/bim/module/patch/operator.py @@ -102,7 +102,7 @@ class ExecuteIfcPatch(bpy.types.Operator): class UpdateIfcPatchArguments(bpy.types.Operator): bl_idname = "bim.update_ifc_patch_arguments" - bl_label = "Update IFC Patch arguments" + bl_label = "Update IFC Patch Arguments" recipe: bpy.props.StringProperty() def execute(self, context): diff --git a/src/blenderbim/blenderbim/bim/module/pset/operator.py b/src/blenderbim/blenderbim/bim/module/pset/operator.py index 73be56bc98..e01f2d21fb 100644 --- a/src/blenderbim/blenderbim/bim/module/pset/operator.py +++ b/src/blenderbim/blenderbim/bim/module/pset/operator.py @@ -495,7 +495,7 @@ class BIM_OT_add_property_to_edit(bpy.types.Operator): class BIM_OT_remove_property_to_edit(bpy.types.Operator): - bl_label = "Remove property to be renamed" + bl_label = "Remove Property to Be Renamed" bl_idname = "bim.remove_property_to_edit" bl_options = {"REGISTER", "UNDO"} index: bpy.props.IntProperty() @@ -511,7 +511,7 @@ class BIM_OT_remove_property_to_edit(bpy.types.Operator): class BIM_OT_clear_list(bpy.types.Operator): - bl_label = "Clear list of properties" + bl_label = "Clear List of Properties" bl_idname = "bim.clear_list" bl_options = {"REGISTER", "UNDO"} option: bpy.props.StringProperty() @@ -559,7 +559,7 @@ class BIM_OT_rename_parameters(bpy.types.Operator): class BIM_OT_add_edit_custom_property(bpy.types.Operator): - bl_label = "Add or edit a custom property" + bl_label = "Add or Edit a Custom Property" bl_idname = "bim.add_edit_custom_property" bl_options = {"REGISTER", "UNDO"} index: bpy.props.IntProperty() @@ -616,7 +616,7 @@ class BIM_OT_add_edit_custom_property(bpy.types.Operator): class BIM_OT_bulk_remove_psets(bpy.types.Operator): - bl_label = "Bulk remove psets from selected objects" + bl_label = "Bulk Remove Psets from Selected Objects" bl_idname = "bim.bulk_remove_psets" bl_options = {"REGISTER", "UNDO"} bl_description = "Bulk remove psets from selected objects" diff --git a/src/blenderbim/blenderbim/bim/module/pset_template/operator.py b/src/blenderbim/blenderbim/bim/module/pset_template/operator.py index 2819b7106a..f2173a51b8 100644 --- a/src/blenderbim/blenderbim/bim/module/pset_template/operator.py +++ b/src/blenderbim/blenderbim/bim/module/pset_template/operator.py @@ -161,7 +161,7 @@ class EnableEditingPropTemplate(bpy.types.Operator): class DeletePropEnum(bpy.types.Operator): bl_idname = "bim.delete_prop_enum" - bl_label = "delete property enumeration" + bl_label = "Delete Property Enumeration" bl_options = {"REGISTER", "UNDO"} index: bpy.props.IntProperty() @@ -173,7 +173,7 @@ class DeletePropEnum(bpy.types.Operator): class AddPropEnum(bpy.types.Operator): bl_idname = "bim.add_prop_enum" - bl_label = "add property enumeration" + bl_label = "Add Property Enumeration" bl_options = {"REGISTER", "UNDO"} index: bpy.props.IntProperty() diff --git a/src/blenderbim/blenderbim/bim/module/resource/operator.py b/src/blenderbim/blenderbim/bim/module/resource/operator.py index 1566bfd4fd..49e81ec4dc 100644 --- a/src/blenderbim/blenderbim/bim/module/resource/operator.py +++ b/src/blenderbim/blenderbim/bim/module/resource/operator.py @@ -47,7 +47,7 @@ class LoadResourceProperties(bpy.types.Operator): class AddResource(bpy.types.Operator, tool.Ifc.Operator): bl_idname = "bim.add_resource" - bl_label = "Add resource" + bl_label = "Add Resource" bl_options = {"REGISTER", "UNDO"} ifc_class: bpy.props.StringProperty() parent_resource: bpy.props.IntProperty() diff --git a/src/blenderbim/blenderbim/bim/module/sequence/operator.py b/src/blenderbim/blenderbim/bim/module/sequence/operator.py index 0e6502eb1d..a4def1391c 100644 --- a/src/blenderbim/blenderbim/bim/module/sequence/operator.py +++ b/src/blenderbim/blenderbim/bim/module/sequence/operator.py @@ -606,7 +606,7 @@ class ImportP6XER(bpy.types.Operator, ImportHelper): class ImportPP(bpy.types.Operator, ImportHelper): bl_idname = "import_pp.bim" - bl_label = "Import Powerproject pp" + bl_label = "Import Powerproject .pp" bl_options = {"REGISTER", "UNDO"} filename_ext = ".pp" filter_glob: bpy.props.StringProperty(default="*.pp", options={"HIDDEN"}) diff --git a/src/blenderbim/blenderbim/bim/operator.py b/src/blenderbim/blenderbim/bim/operator.py index 41e0f6d7cb..7d4b95f394 100644 --- a/src/blenderbim/blenderbim/bim/operator.py +++ b/src/blenderbim/blenderbim/bim/operator.py @@ -703,7 +703,7 @@ class BIM_OT_enum_property_search(bpy.types.Operator): class EditBlenderCollection(bpy.types.Operator): bl_idname = "bim.edit_blender_collection" - bl_label = "Add or Remove blender collection item" + bl_label = "Add or Remove Blender Collection Item" bl_options = {"REGISTER", "UNDO"} option: bpy.props.StringProperty(description="add or remove item from collection") collection: bpy.props.StringProperty(description="collection to be edited") diff --git a/src/ifcblender/io_import_scene_ifc/__init__.py b/src/ifcblender/io_import_scene_ifc/__init__.py index d8756c50cc..a182af1c92 100644 --- a/src/ifcblender/io_import_scene_ifc/__init__.py +++ b/src/ifcblender/io_import_scene_ifc/__init__.py @@ -320,7 +320,7 @@ def import_ifc(filename, use_names, process_relations, blender_booleans): class ImportIFC(bpy.types.Operator, ImportHelper): bl_idname = "import_scene.ifc" - bl_label = "Import .ifc file" + bl_label = "Import .ifc File" filename_ext = ".ifc" filter_glob: StringProperty(default="*.ifc", options={"HIDDEN"}) diff --git a/src/ifcsverchok/__init__.py b/src/ifcsverchok/__init__.py index 4936c7fb91..b806bb5049 100644 --- a/src/ifcsverchok/__init__.py +++ b/src/ifcsverchok/__init__.py @@ -126,7 +126,7 @@ class IFC_Sv_UpdateCurrent(bpy.types.Operator): """Update current Sverchok node tree""" bl_idname = "ifc.sverchok_update_current" - bl_label = "Update current node tree" + bl_label = "Update Current Node Tree" bl_options = {"REGISTER", "UNDO", "INTERNAL"} node_group: bpy.props.StringProperty(default="") @@ -234,7 +234,7 @@ class IFC_Sv_write_file(bpy.types.Operator): class IFC_PT_write_file_panel(bpy.types.Panel): bl_idname = "IFC_PT_write_file_panel" - bl_label = "Write IFC to file" + bl_label = "Write IFC to File" bl_options = {"DEFAULT_CLOSED"} bl_space_type = "NODE_EDITOR" bl_region_type = "UI"