From 494ffd2f9551b756e782e07d17748063eea04c45 Mon Sep 17 00:00:00 2001 From: Yevgeny Makarov Date: Wed, 7 Oct 2020 08:04:53 -0500 Subject: UI: Fix capitalization in various places Follow the MLA style, agreed upon in T79589. This means "from" within UI labels should be lowercase. Differential Revision: https://developer.blender.org/D8345 --- source/blender/editors/mesh/editmesh_select_similar.c | 2 +- source/blender/editors/mesh/editmesh_tools.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/editors/mesh') diff --git a/source/blender/editors/mesh/editmesh_select_similar.c b/source/blender/editors/mesh/editmesh_select_similar.c index b3fb9747070..f94d3ba5a70 100644 --- a/source/blender/editors/mesh/editmesh_select_similar.c +++ b/source/blender/editors/mesh/editmesh_select_similar.c @@ -64,7 +64,7 @@ static const EnumPropertyItem prop_similar_types[] = { {SIMVERT_NORMAL, "NORMAL", 0, "Normal", ""}, {SIMVERT_FACE, "FACE", 0, "Amount of Adjacent Faces", ""}, {SIMVERT_VGROUP, "VGROUP", 0, "Vertex Groups", ""}, - {SIMVERT_EDGE, "EDGE", 0, "Amount of connecting edges", ""}, + {SIMVERT_EDGE, "EDGE", 0, "Amount of Connecting Edges", ""}, {SIMEDGE_LENGTH, "LENGTH", 0, "Length", ""}, {SIMEDGE_DIR, "DIR", 0, "Direction", ""}, diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 6f4320df365..01e25d5281c 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -3700,7 +3700,7 @@ void MESH_OT_blend_from_shape(wmOperatorType *ot) PropertyRNA *prop; /* identifiers */ - ot->name = "Blend From Shape"; + ot->name = "Blend from Shape"; ot->description = "Blend in shape from a shape key"; ot->idname = "MESH_OT_blend_from_shape"; @@ -7254,7 +7254,7 @@ void MESH_OT_wireframe(wmOperatorType *ot) "Crease", "Crease hub edges for an improved subdivision surface"); prop = RNA_def_float( - ot->srna, "crease_weight", 0.01f, 0.0f, 1e3f, "Crease weight", "", 0.0f, 1.0f); + ot->srna, "crease_weight", 0.01f, 0.0f, 1e3f, "Crease Weight", "", 0.0f, 1.0f); RNA_def_property_ui_range(prop, 0.0, 1.0, 0.1, 2); } @@ -9276,7 +9276,7 @@ static int edbm_set_normals_from_faces_exec(bContext *C, wmOperator *op) void MESH_OT_set_normals_from_faces(struct wmOperatorType *ot) { /* identifiers */ - ot->name = "Set Normals From Faces"; + ot->name = "Set Normals from Faces"; ot->description = "Set the custom normals from the selected faces ones"; ot->idname = "MESH_OT_set_normals_from_faces"; @@ -9491,7 +9491,7 @@ void MESH_OT_mod_weighted_strength(struct wmOperatorType *ot) /* flags */ ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; - ot->prop = RNA_def_boolean(ot->srna, "set", 0, "Set value", "Set Value of faces"); + ot->prop = RNA_def_boolean(ot->srna, "set", 0, "Set Value", "Set value of faces"); ot->prop = RNA_def_enum( ot->srna, -- cgit v1.2.3