diff options
author | Hans Goudey <h.goudey@me.com> | 2022-03-21 19:35:17 +0300 |
---|---|---|
committer | Fabian Schempp <fabianschempp@googlemail.com> | 2022-04-11 01:31:41 +0300 |
commit | d1fa0825a17f214c0fc980c0349407105d46712c (patch) | |
tree | feac23566949388c102a0199888662934a3d6743 | |
parent | 3621297e7a88c8d1139897951d716357f1690bf5 (diff) |
UI: Use title case for labels
-rw-r--r-- | release/scripts/startup/bl_ui/space_graph.py | 4 | ||||
-rw-r--r-- | source/blender/editors/armature/pose_slide.c | 4 | ||||
-rw-r--r-- | source/blender/editors/space_graph/graph_slider_ops.c | 12 |
3 files changed, 10 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py index 86d9771b638..706e228c5d9 100644 --- a/release/scripts/startup/bl_ui/space_graph.py +++ b/release/scripts/startup/bl_ui/space_graph.py @@ -331,8 +331,8 @@ class GRAPH_MT_slider(Menu): layout = self.layout layout.operator("graph.breakdown", text="Breakdown") - layout.operator("graph.blend_to_neighbor", text="Blend To Neighbor") - layout.operator("graph.blend_to_default", text="Blend To Default Value") + layout.operator("graph.blend_to_neighbor", text="Blend to Neighbor") + layout.operator("graph.blend_to_default", text="Blend to Default Value") class GRAPH_MT_view_pie(Menu): diff --git a/source/blender/editors/armature/pose_slide.c b/source/blender/editors/armature/pose_slide.c index fb349b78d71..cf04cdba859 100644 --- a/source/blender/editors/armature/pose_slide.c +++ b/source/blender/editors/armature/pose_slide.c @@ -896,7 +896,7 @@ static void pose_slide_draw_status(bContext *C, tPoseSlideOp *pso) strcpy(mode_str, TIP_("Breakdown")); break; case POSESLIDE_BLEND: - strcpy(mode_str, TIP_("Blend To Neighbor")); + strcpy(mode_str, TIP_("Blend to Neighbor")); break; default: @@ -1722,7 +1722,7 @@ static int pose_slide_blend_to_neighbors_exec(bContext *C, wmOperator *op) void POSE_OT_blend_to_neighbors(wmOperatorType *ot) { /* Identifiers. */ - ot->name = "Blend To Neighbor"; + ot->name = "Blend to Neighbor"; ot->idname = "POSE_OT_blend_to_neighbor"; ot->description = "Blend from current position to previous or next keyframe"; diff --git a/source/blender/editors/space_graph/graph_slider_ops.c b/source/blender/editors/space_graph/graph_slider_ops.c index 6166ad128de..313f6ca1561 100644 --- a/source/blender/editors/space_graph/graph_slider_ops.c +++ b/source/blender/editors/space_graph/graph_slider_ops.c @@ -550,7 +550,7 @@ void GRAPH_OT_decimate(wmOperatorType *ot) /** \} */ /* -------------------------------------------------------------------- */ -/** \name Blend To Neighbor Operator +/** \name Blend to Neighbor Operator * \{ */ static void blend_to_neighbor_graph_keys(bAnimContext *ac, float factor) @@ -584,7 +584,7 @@ static void blend_to_neighbor_draw_status_header(bContext *C, tGraphSliderOp *gs ED_slider_status_string_get(gso->slider, slider_string, UI_MAX_DRAW_STR); - strcpy(mode_str, TIP_("Blend To Neighbor")); + strcpy(mode_str, TIP_("Blend to Neighbor")); if (hasNumInput(&gso->num)) { char str_ofs[NUM_STR_REP_LEN]; @@ -652,7 +652,7 @@ static int blend_to_neighbor_exec(bContext *C, wmOperator *op) void GRAPH_OT_blend_to_neighbor(wmOperatorType *ot) { /* Identifiers. */ - ot->name = "Blend To Neighbor"; + ot->name = "Blend to Neighbor"; ot->idname = "GRAPH_OT_blend_to_neighbor"; ot->description = "Blend selected keyframes to their left or right neighbor"; @@ -804,7 +804,7 @@ void GRAPH_OT_breakdown(wmOperatorType *ot) /** \} */ /* -------------------------------------------------------------------- */ -/** \name Blend To Default Value Operator +/** \name Blend to Default Value Operator * \{ */ static void blend_to_default_graph_keys(bAnimContext *ac, const float factor) @@ -839,7 +839,7 @@ static void blend_to_default_draw_status_header(bContext *C, tGraphSliderOp *gso ED_slider_status_string_get(gso->slider, slider_string, UI_MAX_DRAW_STR); - strcpy(mode_str, TIP_("Blend To Default Value")); + strcpy(mode_str, TIP_("Blend to Default Value")); if (hasNumInput(&gso->num)) { char str_ofs[NUM_STR_REP_LEN]; @@ -906,7 +906,7 @@ static int blend_to_default_exec(bContext *C, wmOperator *op) void GRAPH_OT_blend_to_default(wmOperatorType *ot) { /* Identifiers. */ - ot->name = "Blend To Default Value"; + ot->name = "Blend to Default Value"; ot->idname = "GRAPH_OT_blend_to_default"; ot->description = "Blend selected keys to their default value from their current position"; |