From aa2544793dc2a68e6607352059b70136bde6281a Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 20 Apr 2020 15:26:37 +0200 Subject: Various typos fixes in UI messages. --- source/blender/editors/gpencil/gpencil_merge.c | 2 +- source/blender/editors/gpencil/gpencil_vertex_ops.c | 2 +- source/blender/editors/include/ED_object.h | 2 +- source/blender/editors/object/object_remesh.c | 2 +- source/blender/editors/sculpt_paint/sculpt_face_set.c | 2 +- source/blender/makesrna/intern/rna_ID.c | 2 +- source/blender/makesrna/intern/rna_gpencil.c | 2 +- source/blender/makesrna/intern/rna_gpencil_modifier.c | 2 +- source/blender/makesrna/intern/rna_shader_fx.c | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) (limited to 'source/blender') diff --git a/source/blender/editors/gpencil/gpencil_merge.c b/source/blender/editors/gpencil/gpencil_merge.c index 6a5c5f7eb07..b80e8d6ac73 100644 --- a/source/blender/editors/gpencil/gpencil_merge.c +++ b/source/blender/editors/gpencil/gpencil_merge.c @@ -622,7 +622,7 @@ static int gp_stroke_merge_material_exec(bContext *C, wmOperator *op) /* notifiers */ if (changed) { - BKE_reportf(op->reports, RPT_INFO, "Merged %d materiales of %d", removed, *totcol); + BKE_reportf(op->reports, RPT_INFO, "Merged %d materials of %d", removed, *totcol); DEG_id_tag_update(&gpd->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY); WM_event_add_notifier(C, NC_GPENCIL | ND_DATA | NA_EDITED, NULL); } diff --git a/source/blender/editors/gpencil/gpencil_vertex_ops.c b/source/blender/editors/gpencil/gpencil_vertex_ops.c index 3039a83009e..4db88bd552f 100644 --- a/source/blender/editors/gpencil/gpencil_vertex_ops.c +++ b/source/blender/editors/gpencil/gpencil_vertex_ops.c @@ -844,7 +844,7 @@ void GPENCIL_OT_material_to_vertex_color(wmOperatorType *ot) ot->prop = RNA_def_boolean(ot->srna, "remove", true, - "Remove Unused Materiales", + "Remove Unused Materials", "Remove any unused material after the conversion"); RNA_def_boolean(ot->srna, "palette", true, "Create Palette", "Create a new palette with colors"); RNA_def_boolean(ot->srna, "selected", false, "Only Selected", "Convert only selected strokes"); diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h index 3b38969d6bf..9d25fff477d 100644 --- a/source/blender/editors/include/ED_object.h +++ b/source/blender/editors/include/ED_object.h @@ -246,7 +246,7 @@ void ED_object_sculptmode_exit(struct bContext *C, struct Depsgraph *depsgraph); void ED_object_location_from_view(struct bContext *C, float loc[3]); void ED_object_rotation_from_quat(float rot[3], const float quat[4], const char align_axis); void ED_object_rotation_from_view(struct bContext *C, float rot[3], const char align_axis); -void ED_object_base_init_transform_on_add(struct Object *obejct, +void ED_object_base_init_transform_on_add(struct Object *object, const float loc[3], const float rot[3]); float ED_object_new_primitive_matrix(struct bContext *C, diff --git a/source/blender/editors/object/object_remesh.c b/source/blender/editors/object/object_remesh.c index b2b372df055..9f9179440a8 100644 --- a/source/blender/editors/object/object_remesh.c +++ b/source/blender/editors/object/object_remesh.c @@ -578,7 +578,7 @@ static int voxel_size_edit_invoke(bContext *C, wmOperator *op, const wmEvent *ev ED_region_tag_redraw(ar); const char *status_str = TIP_( - "Move the mouse to change the voxel size. LBM: confirm size, ESC/RMB: cancel"); + "Move the mouse to change the voxel size. LMB: confirm size, ESC/RMB: cancel"); ED_workspace_status_text(C, status_str); return OPERATOR_RUNNING_MODAL; diff --git a/source/blender/editors/sculpt_paint/sculpt_face_set.c b/source/blender/editors/sculpt_paint/sculpt_face_set.c index d51cc7093c3..c8769523823 100644 --- a/source/blender/editors/sculpt_paint/sculpt_face_set.c +++ b/source/blender/editors/sculpt_paint/sculpt_face_set.c @@ -713,7 +713,7 @@ void SCULPT_OT_face_sets_init(wmOperatorType *ot) 0.0f, 1.0f, "Threshold", - "Minimum value to consider a certain atribute a boundary when creating the Face Sets", + "Minimum value to consider a certain attribute a boundary when creating the Face Sets", 0.0f, 1.0f); } diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c index 7a371a1a1d5..699ce0f041e 100644 --- a/source/blender/makesrna/intern/rna_ID.c +++ b/source/blender/makesrna/intern/rna_ID.c @@ -1506,7 +1506,7 @@ static void rna_def_ID(BlenderRNA *brna) RNA_def_property_ui_text( prop, "Embedded Data", - "This data-block is not an independant one, but is actually a sub-data of another ID " + "This data-block is not an independent one, but is actually a sub-data of another ID " "(typical example: root node trees or master collections)"); prop = RNA_def_property(srna, "tag", PROP_BOOLEAN, PROP_NONE); diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c index 18dc0026e78..d0e084dc0e7 100644 --- a/source/blender/makesrna/intern/rna_gpencil.c +++ b/source/blender/makesrna/intern/rna_gpencil.c @@ -1235,7 +1235,7 @@ static void rna_def_gpencil_stroke(BlenderRNA *brna) RNA_def_property_float_sdna(prop, NULL, "uv_translation"); RNA_def_property_array(prop, 2); RNA_def_property_float_default(prop, 0.0f); - RNA_def_property_ui_text(prop, "UV Translation", "Translation of default UV postion"); + RNA_def_property_ui_text(prop, "UV Translation", "Translation of default UV position"); RNA_def_parameter_clear_flags(prop, PROP_ANIMATABLE, 0); RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_uv_update"); diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c index b99517a5255..5475f62cb8c 100644 --- a/source/blender/makesrna/intern/rna_gpencil_modifier.c +++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c @@ -1545,7 +1545,7 @@ static void rna_def_modifier_gpencilarray(BlenderRNA *brna) prop = RNA_def_property(srna, "use_object_offset", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_ARRAY_USE_OB_OFFSET); - RNA_def_property_ui_text(prop, "Object Offset", "Enable obejct offset"); + RNA_def_property_ui_text(prop, "Object Offset", "Enable object offset"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); prop = RNA_def_property(srna, "use_relative_offset", PROP_BOOLEAN, PROP_NONE); diff --git a/source/blender/makesrna/intern/rna_shader_fx.c b/source/blender/makesrna/intern/rna_shader_fx.c index f7f68d535ec..71f767fa93b 100644 --- a/source/blender/makesrna/intern/rna_shader_fx.c +++ b/source/blender/makesrna/intern/rna_shader_fx.c @@ -542,7 +542,7 @@ static void rna_def_shader_fx_glow(BlenderRNA *brna) prop = RNA_def_property(srna, "size", PROP_FLOAT, PROP_XYZ); RNA_def_property_float_sdna(prop, NULL, "blur"); RNA_def_property_range(prop, 0.0f, FLT_MAX); - RNA_def_property_ui_text(prop, "Size", "Size of th effect"); + RNA_def_property_ui_text(prop, "Size", "Size of the effect"); RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_ShaderFx_update"); prop = RNA_def_property(srna, "samples", PROP_INT, PROP_NONE); -- cgit v1.2.3