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:
authorHans Goudey <h.goudey@me.com>2022-03-21 19:35:17 +0300
committerHans Goudey <h.goudey@me.com>2022-03-21 19:35:17 +0300
commitf92e3b39f18a3d3e29873faed98f6279571fbc4f (patch)
tree201037e54ae327c64e226cc8025b73072a10946f
parent8530e48f8692f4b92c43489029f2d2ef67c7cb62 (diff)
UI: Use title case for labels
-rw-r--r--release/scripts/startup/bl_ui/space_graph.py4
-rw-r--r--source/blender/editors/armature/pose_slide.c4
-rw-r--r--source/blender/editors/space_graph/graph_slider_ops.c12
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";