From 604fdb6e859d322a3a2a89cd065d253620421428 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 31 Jul 2019 14:25:09 +0200 Subject: Spelling fixes in comments and descriptions, patch by luzpaz Differential Revision: https://developer.blender.org/D3744 --- release/scripts/modules/bl_i18n_utils/utils.py | 2 +- release/scripts/modules/bl_keymap_utils/io.py | 2 +- release/scripts/modules/bpy_extras/object_utils.py | 2 +- release/scripts/modules/rna_keymap_ui.py | 2 +- release/scripts/startup/bl_ui/properties_physics_common.py | 4 ++-- release/scripts/startup/bl_ui/space_clip.py | 2 +- release/scripts/startup/bl_ui/space_toolsystem_common.py | 4 ++-- release/scripts/startup/bl_ui/space_view3d_toolbar.py | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) (limited to 'release/scripts') diff --git a/release/scripts/modules/bl_i18n_utils/utils.py b/release/scripts/modules/bl_i18n_utils/utils.py index fe27be9895b..13758b4f45c 100644 --- a/release/scripts/modules/bl_i18n_utils/utils.py +++ b/release/scripts/modules/bl_i18n_utils/utils.py @@ -1340,7 +1340,7 @@ class I18n: def parse_from_py(self, src, langs=set()): """ src must be a valid path, either a py file or a module directory (in which case all py files inside it - will be checked, first file macthing will win!). + will be checked, first file matching will win!). if langs set is void, all languages found are loaded. """ default_context = self.settings.DEFAULT_CONTEXT diff --git a/release/scripts/modules/bl_keymap_utils/io.py b/release/scripts/modules/bl_keymap_utils/io.py index d8ac647608c..2ff30cf4d52 100644 --- a/release/scripts/modules/bl_keymap_utils/io.py +++ b/release/scripts/modules/bl_keymap_utils/io.py @@ -129,7 +129,7 @@ def _kmi_attrs_or_none(level, kmi): def keyconfig_export_as_data(wm, kc, filepath, *, all_keymaps=False): - # Alternate foramt + # Alternate format # Generate a list of keymaps to export: # diff --git a/release/scripts/modules/bpy_extras/object_utils.py b/release/scripts/modules/bpy_extras/object_utils.py index 749b6eb111c..151cfa84f85 100644 --- a/release/scripts/modules/bpy_extras/object_utils.py +++ b/release/scripts/modules/bpy_extras/object_utils.py @@ -145,7 +145,7 @@ def object_data_add(context, obdata, operator=None, name=None): # layer.objects.active = obj_new # Match up UV layers, this is needed so adding an object with UV's - # doesn't create new layers when there happens to be a naming mis-match. + # doesn't create new layers when there happens to be a naming mismatch. uv_new = obdata.uv_layers.active if uv_new is not None: uv_act = obj_act.data.uv_layers.active diff --git a/release/scripts/modules/rna_keymap_ui.py b/release/scripts/modules/rna_keymap_ui.py index 2d8e53b9097..b8a9aa40a0b 100644 --- a/release/scripts/modules/rna_keymap_ui.py +++ b/release/scripts/modules/rna_keymap_ui.py @@ -270,7 +270,7 @@ def draw_filtered(display_keymaps, filter_type, filter_text, layout): filter_text_split.remove(kk) kmi_test_dict[kv] = {True} - # whats left should be the event type + # what's left should be the event type def kmi_type_set_from_string(kmi_type): kmi_type = kmi_type.upper() kmi_type_set = set() diff --git a/release/scripts/startup/bl_ui/properties_physics_common.py b/release/scripts/startup/bl_ui/properties_physics_common.py index 9dbe11b0c70..b69f2233035 100644 --- a/release/scripts/startup/bl_ui/properties_physics_common.py +++ b/release/scripts/startup/bl_ui/properties_physics_common.py @@ -128,7 +128,7 @@ def point_cache_ui(self, cache, enabled, cachetype): is_saved = bpy.data.is_saved - # NOTE: TODO temporarly used until the animate properties are properly skipped. + # NOTE: TODO temporarily used until the animate properties are properly skipped. layout.use_property_decorate = False # No animation (remove this later on). if not cachetype == 'RIGID_BODY': @@ -245,7 +245,7 @@ def effector_weights_ui(self, weights, weight_type): layout = self.layout layout.use_property_split = True - # NOTE: TODO temporarly used until the animate properties are properly skipped. + # NOTE: TODO temporarily used until the animate properties are properly skipped. layout.use_property_decorate = False # No animation (remove this later on). layout.prop(weights, "collection") diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py index 084ba4b36d8..b0fc5716f89 100644 --- a/release/scripts/startup/bl_ui/space_clip.py +++ b/release/scripts/startup/bl_ui/space_clip.py @@ -1001,7 +1001,7 @@ class CLIP_PT_stabilization(CLIP_PT_reconstruction_panel, Panel): sub.menu('CLIP_MT_stabilize_2d_context_menu', text="", icon='DOWNARROW_HLT') - # Usually we don't hide things from iterface, but here every pixel of + # Usually we don't hide things from interface, but here every pixel of # vertical space is precious. if stab.use_stabilize_rotation: box.label(text="Tracks For Rotation / Scale") diff --git a/release/scripts/startup/bl_ui/space_toolsystem_common.py b/release/scripts/startup/bl_ui/space_toolsystem_common.py index 222185e18d5..651d30a029f 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_common.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_common.py @@ -84,7 +84,7 @@ ToolDef = namedtuple( # so internally we can swap the keymap function for the keymap it's self. # This isn't very nice and may change, tool definitions shouldn't care about this. "keymap", - # Optional data-block assosiated with this tool. + # Optional data-block associated with this tool. # (Typically brush name, usage depends on mode, we could use for non-brush ID's in other modes). "data_block", # Optional primary operator (for introspection only). @@ -434,7 +434,7 @@ class ToolSelectPanelHelper: # ------------------------------------------------------------------------- # Layout Generators # - # Meaning of recieved values: + # Meaning of received values: # - Bool: True for a separator, otherwise False for regular tools. # - None: Signal to finish (complete any final operations, e.g. add padding). diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 0d871e8fcec..df605229922 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -707,7 +707,7 @@ class VIEW3D_PT_stencil_projectpaint(View3DPanel, Panel): colsub.label(text="UV Layer") split.column().menu("VIEW3D_MT_tools_projectpaint_stencil", text=stencil_text, translate=False) - # todo this should be combinded into a single row + # todo this should be combined into a single row split = col.split(factor=0.5) colsub = split.column() colsub.alignment = 'RIGHT' @@ -2062,7 +2062,7 @@ class VIEW3D_PT_tools_grease_pencil_weight_paint(View3DPanel, Panel): brush_basic_gpencil_weight_settings(col, context, brush) -# Grease Pencil Brush Appeareance (one for each mode) +# Grease Pencil Brush Appearance (one for each mode) class VIEW3D_PT_tools_grease_pencil_paint_appearance(GreasePencilAppearancePanel, View3DPanel, Panel): bl_context = ".greasepencil_paint" bl_label = "Display" -- cgit v1.2.3