diff options
author | Yevgeny Makarov <jenkm> | 2020-12-24 20:07:32 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-12-24 20:07:32 +0300 |
commit | 2917f550caa9e7a3724c7597bdeaec989a339138 (patch) | |
tree | db7de0d316ddcfb631f66e2aae147df3ec33441b /source/blender/editors/mesh | |
parent | fe440a92e975e8865c281dcbc5326ee73940eb8c (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/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_inset.c | 2 | ||||
-rw-r--r-- | source/blender/editors/mesh/editmesh_intersect.c | 14 | ||||
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 4 | ||||
-rw-r--r-- | source/blender/editors/mesh/mesh_data.c | 4 |
4 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/editors/mesh/editmesh_inset.c b/source/blender/editors/mesh/editmesh_inset.c index c4a44aa4a90..8427458d9cc 100644 --- a/source/blender/editors/mesh/editmesh_inset.c +++ b/source/blender/editors/mesh/editmesh_inset.c @@ -612,7 +612,7 @@ void MESH_OT_inset(wmOperatorType *ot) RNA_def_boolean(ot->srna, "use_outset", false, "Outset", "Outset rather than inset"); RNA_def_boolean( ot->srna, "use_select_inset", false, "Select Outer", "Select the new inset faces"); - RNA_def_boolean(ot->srna, "use_individual", false, "Individual", "Individual Face Inset"); + RNA_def_boolean(ot->srna, "use_individual", false, "Individual", "Individual face inset"); RNA_def_boolean( ot->srna, "use_interpolate", true, "Interpolate", "Blend face data across the inset"); diff --git a/source/blender/editors/mesh/editmesh_intersect.c b/source/blender/editors/mesh/editmesh_intersect.c index ff4867454d6..b269a4f0514 100644 --- a/source/blender/editors/mesh/editmesh_intersect.c +++ b/source/blender/editors/mesh/editmesh_intersect.c @@ -302,8 +302,8 @@ void MESH_OT_intersect(struct wmOperatorType *ot) }; static const EnumPropertyItem isect_intersect_solver_items[] = { - {ISECT_SOLVER_FAST, "FAST", 0, "Fast", "Faster Solver, some limitations"}, - {ISECT_SOLVER_EXACT, "EXACT", 0, "Exact", "Exact Solver, slower, handles more cases"}, + {ISECT_SOLVER_FAST, "FAST", 0, "Fast", "Faster solver, some limitations"}, + {ISECT_SOLVER_EXACT, "EXACT", 0, "Exact", "Exact solver, slower, handles more cases"}, {0, NULL, 0, NULL, NULL}, }; @@ -322,7 +322,7 @@ void MESH_OT_intersect(struct wmOperatorType *ot) RNA_def_enum( ot->srna, "separate_mode", isect_separate_items, ISECT_SEPARATE_CUT, "Separate Mode", ""); RNA_def_float_distance( - ot->srna, "threshold", 0.000001f, 0.0, 0.01, "Merge threshold", "", 0.0, 0.001); + ot->srna, "threshold", 0.000001f, 0.0, 0.01, "Merge Threshold", "", 0.0, 0.001); RNA_def_enum(ot->srna, "solver", isect_intersect_solver_items, @@ -446,8 +446,8 @@ void MESH_OT_intersect_boolean(struct wmOperatorType *ot) }; static const EnumPropertyItem isect_boolean_solver_items[] = { - {ISECT_SOLVER_FAST, "FAST", 0, "Fast", "Faster Solver, some limitations"}, - {ISECT_SOLVER_EXACT, "EXACT", 0, "Exact", "Exact Solver, slower, handles more cases"}, + {ISECT_SOLVER_FAST, "FAST", 0, "Fast", "Faster solver, some limitations"}, + {ISECT_SOLVER_EXACT, "EXACT", 0, "Exact", "Exact solver, slower, handles more cases"}, {0, NULL, 0, NULL, NULL}, }; @@ -466,7 +466,7 @@ void MESH_OT_intersect_boolean(struct wmOperatorType *ot) "operation", isect_boolean_operation_items, BMESH_ISECT_BOOLEAN_DIFFERENCE, - "Boolean operation", + "Boolean Operation", "Which boolean operation to apply"); RNA_def_boolean(ot->srna, "use_swap", @@ -475,7 +475,7 @@ void MESH_OT_intersect_boolean(struct wmOperatorType *ot) "Use with difference intersection to swap which side is kept"); RNA_def_boolean(ot->srna, "use_self", false, "Self", "Do self-union or self-intersection"); RNA_def_float_distance( - ot->srna, "threshold", 0.000001f, 0.0, 0.01, "Merge threshold", "", 0.0, 0.001); + ot->srna, "threshold", 0.000001f, 0.0, 0.01, "Merge Threshold", "", 0.0, 0.001); RNA_def_enum(ot->srna, "solver", isect_boolean_solver_items, diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index cf01170dd8a..3cef915bb6b 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -5263,7 +5263,7 @@ void MESH_OT_poke(wmOperatorType *ot) poke_center_modes, BMOP_POKE_MEDIAN_WEIGHTED, "Poke Center", - "Poke Face Center Calculation"); + "Poke face center calculation"); } /** \} */ @@ -9204,7 +9204,7 @@ void MESH_OT_normals_tools(struct wmOperatorType *ot) normal_vector_tool_items, EDBM_CLNOR_TOOLS_COPY, "Mode", - "Mode of tools taking input from Interface"); + "Mode of tools taking input from interface"); RNA_def_property_flag(ot->prop, PROP_HIDDEN); RNA_def_boolean(ot->srna, diff --git a/source/blender/editors/mesh/mesh_data.c b/source/blender/editors/mesh/mesh_data.c index 236e0a35f4e..f1070f38ef5 100644 --- a/source/blender/editors/mesh/mesh_data.c +++ b/source/blender/editors/mesh/mesh_data.c @@ -620,7 +620,7 @@ void MESH_OT_uv_texture_add(wmOperatorType *ot) { /* identifiers */ ot->name = "Add UV Map"; - ot->description = "Add UV Map"; + ot->description = "Add UV map"; ot->idname = "MESH_OT_uv_texture_add"; /* api callbacks */ @@ -653,7 +653,7 @@ void MESH_OT_uv_texture_remove(wmOperatorType *ot) { /* identifiers */ ot->name = "Remove UV Map"; - ot->description = "Remove UV Map"; + ot->description = "Remove UV map"; ot->idname = "MESH_OT_uv_texture_remove"; /* api callbacks */ |