UI: Use title case for labels
This commit is contained in:
@@ -331,8 +331,8 @@ class GRAPH_MT_slider(Menu):
|
|||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
|
||||||
layout.operator("graph.breakdown", text="Breakdown")
|
layout.operator("graph.breakdown", text="Breakdown")
|
||||||
layout.operator("graph.blend_to_neighbor", text="Blend To Neighbor")
|
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_default", text="Blend to Default Value")
|
||||||
|
|
||||||
|
|
||||||
class GRAPH_MT_view_pie(Menu):
|
class GRAPH_MT_view_pie(Menu):
|
||||||
|
@@ -896,7 +896,7 @@ static void pose_slide_draw_status(bContext *C, tPoseSlideOp *pso)
|
|||||||
strcpy(mode_str, TIP_("Breakdown"));
|
strcpy(mode_str, TIP_("Breakdown"));
|
||||||
break;
|
break;
|
||||||
case POSESLIDE_BLEND:
|
case POSESLIDE_BLEND:
|
||||||
strcpy(mode_str, TIP_("Blend To Neighbor"));
|
strcpy(mode_str, TIP_("Blend to Neighbor"));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
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)
|
void POSE_OT_blend_to_neighbors(wmOperatorType *ot)
|
||||||
{
|
{
|
||||||
/* Identifiers. */
|
/* Identifiers. */
|
||||||
ot->name = "Blend To Neighbor";
|
ot->name = "Blend to Neighbor";
|
||||||
ot->idname = "POSE_OT_blend_to_neighbor";
|
ot->idname = "POSE_OT_blend_to_neighbor";
|
||||||
ot->description = "Blend from current position to previous or next keyframe";
|
ot->description = "Blend from current position to previous or next keyframe";
|
||||||
|
|
||||||
|
@@ -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)
|
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);
|
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)) {
|
if (hasNumInput(&gso->num)) {
|
||||||
char str_ofs[NUM_STR_REP_LEN];
|
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)
|
void GRAPH_OT_blend_to_neighbor(wmOperatorType *ot)
|
||||||
{
|
{
|
||||||
/* Identifiers. */
|
/* Identifiers. */
|
||||||
ot->name = "Blend To Neighbor";
|
ot->name = "Blend to Neighbor";
|
||||||
ot->idname = "GRAPH_OT_blend_to_neighbor";
|
ot->idname = "GRAPH_OT_blend_to_neighbor";
|
||||||
ot->description = "Blend selected keyframes to their left or right 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)
|
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);
|
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)) {
|
if (hasNumInput(&gso->num)) {
|
||||||
char str_ofs[NUM_STR_REP_LEN];
|
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)
|
void GRAPH_OT_blend_to_default(wmOperatorType *ot)
|
||||||
{
|
{
|
||||||
/* Identifiers. */
|
/* Identifiers. */
|
||||||
ot->name = "Blend To Default Value";
|
ot->name = "Blend to Default Value";
|
||||||
ot->idname = "GRAPH_OT_blend_to_default";
|
ot->idname = "GRAPH_OT_blend_to_default";
|
||||||
ot->description = "Blend selected keys to their default value from their current position";
|
ot->description = "Blend selected keys to their default value from their current position";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user