[Bf-blender-cvs] [f92e3b39f18] master: UI: Use title case for labels

Hans Goudey noreply at git.blender.org
Mon Mar 21 17:35:27 CET 2022


Commit: f92e3b39f18a3d3e29873faed98f6279571fbc4f
Author: Hans Goudey
Date:   Mon Mar 21 11:35:17 2022 -0500
Branches: master
https://developer.blender.org/rBf92e3b39f18a3d3e29873faed98f6279571fbc4f

UI: Use title case for labels

===================================================================

M	release/scripts/startup/bl_ui/space_graph.py
M	source/blender/editors/armature/pose_slide.c
M	source/blender/editors/space_graph/graph_slider_ops.c

===================================================================

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";



More information about the Bf-blender-cvs mailing list