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/space_outliner | |
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/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_edit.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tools.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c index 1cb98e704f2..ef152c473f4 100644 --- a/source/blender/editors/space_outliner/outliner_edit.c +++ b/source/blender/editors/space_outliner/outliner_edit.c @@ -1382,7 +1382,7 @@ void OUTLINER_OT_show_active(wmOperatorType *ot) ot->name = "Show Active"; ot->idname = "OUTLINER_OT_show_active"; ot->description = - "Open up the tree and adjust the view so that the active Object is shown centered"; + "Open up the tree and adjust the view so that the active object is shown centered"; /* callbacks */ ot->exec = outliner_show_active_exec; diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c index d4784a509bf..f6d6e771801 100644 --- a/source/blender/editors/space_outliner/outliner_tools.c +++ b/source/blender/editors/space_outliner/outliner_tools.c @@ -2140,7 +2140,7 @@ static int outliner_id_operation_exec(bContext *C, wmOperator *op) void OUTLINER_OT_id_operation(wmOperatorType *ot) { /* identifiers */ - ot->name = "Outliner ID data Operation"; + ot->name = "Outliner ID Data Operation"; ot->idname = "OUTLINER_OT_id_operation"; /* callbacks */ @@ -2150,7 +2150,7 @@ void OUTLINER_OT_id_operation(wmOperatorType *ot) ot->flag = 0; - ot->prop = RNA_def_enum(ot->srna, "type", prop_id_op_types, 0, "ID data Operation", ""); + ot->prop = RNA_def_enum(ot->srna, "type", prop_id_op_types, 0, "ID Data Operation", ""); RNA_def_enum_funcs(ot->prop, outliner_id_operation_itemf); } @@ -2569,8 +2569,8 @@ void OUTLINER_OT_constraint_operation(wmOperatorType *ot) * \{ */ static const EnumPropertyItem prop_modifier_op_types[] = { - {OL_MODIFIER_OP_TOGVIS, "TOGVIS", ICON_RESTRICT_VIEW_OFF, "Toggle viewport use", ""}, - {OL_MODIFIER_OP_TOGREN, "TOGREN", ICON_RESTRICT_RENDER_OFF, "Toggle render use", ""}, + {OL_MODIFIER_OP_TOGVIS, "TOGVIS", ICON_RESTRICT_VIEW_OFF, "Toggle Viewport Use", ""}, + {OL_MODIFIER_OP_TOGREN, "TOGREN", ICON_RESTRICT_RENDER_OFF, "Toggle Render Use", ""}, {OL_MODIFIER_OP_DELETE, "DELETE", ICON_X, "Delete", ""}, {0, NULL, 0, NULL, NULL}, }; |