Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYevgeny Makarov <jenkm>2020-12-24 20:07:32 +0300
committerHans Goudey <h.goudey@me.com>2020-12-24 20:07:32 +0300
commit2917f550caa9e7a3724c7597bdeaec989a339138 (patch)
treedb7de0d316ddcfb631f66e2aae147df3ec33441b /source/blender/editors/object
parentfe440a92e975e8865c281dcbc5326ee73940eb8c (diff)
Cleanup: Fix capitalization in various UI strings
Approximately 195 changes of capitalization to conform to MLA title style. UI labels and property names should use MLA title case, while descriptions should be capitalized like regular prose, generally with only the start of a sentence capitalized. Differential Revision: https://developer.blender.org/D9922
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r--source/blender/editors/object/object_bake_api.c2
-rw-r--r--source/blender/editors/object/object_constraint.c6
-rw-r--r--source/blender/editors/object/object_facemap_ops.c2
-rw-r--r--source/blender/editors/object/object_select.c6
-rw-r--r--source/blender/editors/object/object_vgroup.c4
5 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/editors/object/object_bake_api.c b/source/blender/editors/object/object_bake_api.c
index 53dc10f8f15..dcc8ccf01e1 100644
--- a/source/blender/editors/object/object_bake_api.c
+++ b/source/blender/editors/object/object_bake_api.c
@@ -1995,7 +1995,7 @@ void OBJECT_OT_bake(wmOperatorType *ot)
"use_clear",
false,
"Clear",
- "Clear Images before baking (only for internal saving)");
+ "Clear images before baking (only for internal saving)");
RNA_def_boolean(ot->srna, "use_cage", false, "Cage", "Cast rays to active object from a cage");
RNA_def_boolean(
ot->srna,
diff --git a/source/blender/editors/object/object_constraint.c b/source/blender/editors/object/object_constraint.c
index dd015f59e8d..8c0884d6b3f 100644
--- a/source/blender/editors/object/object_constraint.c
+++ b/source/blender/editors/object/object_constraint.c
@@ -1680,7 +1680,7 @@ static int constraint_move_to_index_invoke(bContext *C, wmOperator *op, const wm
void CONSTRAINT_OT_move_to_index(wmOperatorType *ot)
{
/* identifiers */
- ot->name = "Move Constraint To Index";
+ ot->name = "Move Constraint to Index";
ot->idname = "CONSTRAINT_OT_move_to_index";
ot->description =
"Change the constraint's position in the list so it evaluates after the set number of "
@@ -1781,7 +1781,7 @@ void OBJECT_OT_constraints_clear(wmOperatorType *ot)
/* identifiers */
ot->name = "Clear Object Constraints";
ot->idname = "OBJECT_OT_constraints_clear";
- ot->description = "Clear all the constraints for the active Object only";
+ ot->description = "Clear all the constraints for the active object only";
/* callbacks */
ot->exec = object_constraints_clear_exec;
@@ -2267,7 +2267,7 @@ void OBJECT_OT_constraint_add_with_targets(wmOperatorType *ot)
ot->name = "Add Constraint (with Targets)";
ot->description =
"Add a constraint to the active object, with target (where applicable) set to the "
- "selected Objects/Bones";
+ "selected objects/bones";
ot->idname = "OBJECT_OT_constraint_add_with_targets";
/* api callbacks */
diff --git a/source/blender/editors/object/object_facemap_ops.c b/source/blender/editors/object/object_facemap_ops.c
index acd04b4aabd..3d4d3c8f622 100644
--- a/source/blender/editors/object/object_facemap_ops.c
+++ b/source/blender/editors/object/object_facemap_ops.c
@@ -491,5 +491,5 @@ void OBJECT_OT_face_map_move(wmOperatorType *ot)
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
RNA_def_enum(
- ot->srna, "direction", fmap_slot_move, 0, "Direction", "Direction to move, UP or DOWN");
+ ot->srna, "direction", fmap_slot_move, 0, "Direction", "Direction to move, up or down");
}
diff --git a/source/blender/editors/object/object_select.c b/source/blender/editors/object/object_select.c
index d3b9c64913d..ab404f0a72d 100644
--- a/source/blender/editors/object/object_select.c
+++ b/source/blender/editors/object/object_select.c
@@ -770,12 +770,12 @@ static const EnumPropertyItem prop_select_grouped_types[] = {
{OBJECT_GRPSEL_CHILDREN_RECURSIVE, "CHILDREN_RECURSIVE", 0, "Children", ""},
{OBJECT_GRPSEL_CHILDREN, "CHILDREN", 0, "Immediate Children", ""},
{OBJECT_GRPSEL_PARENT, "PARENT", 0, "Parent", ""},
- {OBJECT_GRPSEL_SIBLINGS, "SIBLINGS", 0, "Siblings", "Shared Parent"},
+ {OBJECT_GRPSEL_SIBLINGS, "SIBLINGS", 0, "Siblings", "Shared parent"},
{OBJECT_GRPSEL_TYPE, "TYPE", 0, "Type", "Shared object type"},
{OBJECT_GRPSEL_COLLECTION, "COLLECTION", 0, "Collection", "Shared collection"},
{OBJECT_GRPSEL_HOOK, "HOOK", 0, "Hook", ""},
- {OBJECT_GRPSEL_PASS, "PASS", 0, "Pass", "Render pass Index"},
- {OBJECT_GRPSEL_COLOR, "COLOR", 0, "Color", "Object Color"},
+ {OBJECT_GRPSEL_PASS, "PASS", 0, "Pass", "Render pass index"},
+ {OBJECT_GRPSEL_COLOR, "COLOR", 0, "Color", "Object color"},
{OBJECT_GRPSEL_KEYINGSET,
"KEYINGSET",
0,
diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c
index c3eee17dc6d..6362662c4e7 100644
--- a/source/blender/editors/object/object_vgroup.c
+++ b/source/blender/editors/object/object_vgroup.c
@@ -788,7 +788,7 @@ static void vgroup_operator_subset_select_props(wmOperatorType *ot, bool use_act
DummyRNA_NULL_items,
use_active ? WT_VGROUP_ACTIVE : WT_VGROUP_ALL,
"Subset",
- "Define which subset of Groups shall be used");
+ "Define which subset of groups shall be used");
if (use_active) {
RNA_def_enum_funcs(prop, rna_vertex_group_with_single_itemf);
@@ -4229,7 +4229,7 @@ void OBJECT_OT_vertex_group_sort(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
- RNA_def_enum(ot->srna, "sort_type", vgroup_sort_type, SORT_TYPE_NAME, "Sort type", "Sort type");
+ RNA_def_enum(ot->srna, "sort_type", vgroup_sort_type, SORT_TYPE_NAME, "Sort Type", "Sort type");
}
/** \} */