UI: Various tooltip corrections and fixes
Patch by Yevgeny Makarov (jenkm) Differential Revision: D5514
This commit is contained in:
parent
bf242362f6
commit
4c353205ea
|
@ -1417,7 +1417,7 @@ void CURVE_OT_select_nth(wmOperatorType *ot)
|
|||
{
|
||||
/* identifiers */
|
||||
ot->name = "Checker Deselect";
|
||||
ot->description = "Deselect every other vertex";
|
||||
ot->description = "Deselect every Nth point starting from the active one";
|
||||
ot->idname = "CURVE_OT_select_nth";
|
||||
|
||||
/* api callbacks */
|
||||
|
|
|
@ -1222,7 +1222,7 @@ void ui_popup_context_menu_for_panel(bContext *C, ARegion *ar, Panel *pa)
|
|||
sizeof(tmpstr),
|
||||
"%s" UI_SEP_CHAR_S "%s",
|
||||
IFACE_("Pin"),
|
||||
IFACE_("Shift+Left Mouse"));
|
||||
IFACE_("Shift Left Mouse"));
|
||||
uiItemR(layout, &ptr, "use_pin", 0, tmpstr, ICON_NONE);
|
||||
|
||||
/* evil, force shortcut flag */
|
||||
|
@ -1230,6 +1230,7 @@ void ui_popup_context_menu_for_panel(bContext *C, ARegion *ar, Panel *pa)
|
|||
uiBlock *block = uiLayoutGetBlock(layout);
|
||||
uiBut *but = block->buttons.last;
|
||||
but->flag |= UI_BUT_HAS_SEP_CHAR;
|
||||
but->drawflag |= UI_BUT_HAS_SHORTCUT;
|
||||
}
|
||||
}
|
||||
UI_popup_menu_end(C, pup);
|
||||
|
|
|
@ -81,6 +81,7 @@ void MASK_OT_shape_key_insert(wmOperatorType *ot)
|
|||
{
|
||||
/* identifiers */
|
||||
ot->name = "Insert Shape Key";
|
||||
ot->description = "Insert mask shape keyframe for active mask layer at the current frame";
|
||||
ot->idname = "MASK_OT_shape_key_insert";
|
||||
|
||||
/* api callbacks */
|
||||
|
@ -129,6 +130,7 @@ void MASK_OT_shape_key_clear(wmOperatorType *ot)
|
|||
{
|
||||
/* identifiers */
|
||||
ot->name = "Clear Shape Key";
|
||||
ot->description = "Remove mask shape keyframe for active mask layer at the current frame";
|
||||
ot->idname = "MASK_OT_shape_key_clear";
|
||||
|
||||
/* api callbacks */
|
||||
|
|
|
@ -3752,7 +3752,7 @@ static void SCREEN_OT_redo_last(wmOperatorType *ot)
|
|||
{
|
||||
/* identifiers */
|
||||
ot->name = "Redo Last";
|
||||
ot->description = "Display menu for last action performed";
|
||||
ot->description = "Display parameters for last action performed";
|
||||
ot->idname = "SCREEN_OT_redo_last";
|
||||
|
||||
/* api callbacks */
|
||||
|
|
|
@ -3405,6 +3405,7 @@ void SEQUENCER_OT_copy(wmOperatorType *ot)
|
|||
/* identifiers */
|
||||
ot->name = "Copy";
|
||||
ot->idname = "SEQUENCER_OT_copy";
|
||||
ot->description = "Copy selected strips to clipboard";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec = sequencer_copy_exec;
|
||||
|
@ -3470,6 +3471,7 @@ void SEQUENCER_OT_paste(wmOperatorType *ot)
|
|||
/* identifiers */
|
||||
ot->name = "Paste";
|
||||
ot->idname = "SEQUENCER_OT_paste";
|
||||
ot->description = "Paste strips from clipboard";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec = sequencer_paste_exec;
|
||||
|
|
|
@ -6733,7 +6733,7 @@ static void def_cmp_colorbalance(StructRNA *srna)
|
|||
RNA_def_property_float_sdna(prop, NULL, "offset");
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_range(prop, 0, 1, 0.1, 3);
|
||||
RNA_def_property_ui_text(prop, "Offset", "Correction for Shadows");
|
||||
RNA_def_property_ui_text(prop, "Offset", "Correction for entire tonal range");
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_NodeColorBalance_update_cdl");
|
||||
|
||||
prop = RNA_def_property(srna, "power", PROP_FLOAT, PROP_COLOR_GAMMA);
|
||||
|
|
|
@ -87,15 +87,15 @@ static const EnumPropertyItem empty_shape_items[] = {
|
|||
static const EnumPropertyItem vortex_shape_items[] = {
|
||||
{PFIELD_SHAPE_POINT, "POINT", 0, "Point", ""},
|
||||
{PFIELD_SHAPE_PLANE, "PLANE", 0, "Plane", ""},
|
||||
{PFIELD_SHAPE_SURFACE, "SURFACE", 0, "Surface falloff (New)", ""},
|
||||
{PFIELD_SHAPE_POINTS, "POINTS", 0, "Every Point (New)", ""},
|
||||
{PFIELD_SHAPE_SURFACE, "SURFACE", 0, "Surface", ""},
|
||||
{PFIELD_SHAPE_POINTS, "POINTS", 0, "Every Point", ""},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
static const EnumPropertyItem curve_vortex_shape_items[] = {
|
||||
{PFIELD_SHAPE_POINT, "POINT", 0, "Point", ""},
|
||||
{PFIELD_SHAPE_PLANE, "PLANE", 0, "Plane", ""},
|
||||
{PFIELD_SHAPE_SURFACE, "SURFACE", 0, "Curve (New)", ""},
|
||||
{PFIELD_SHAPE_SURFACE, "SURFACE", 0, "Curve", ""},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
|
|
|
@ -3781,7 +3781,7 @@ static void rna_def_space_view3d(BlenderRNA *brna)
|
|||
|
||||
prop = RNA_def_property(srna, "show_gizmo_navigate", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "gizmo_flag", V3D_GIZMO_HIDE_NAVIGATE);
|
||||
RNA_def_property_ui_text(prop, "Navigate Gizmo", "");
|
||||
RNA_def_property_ui_text(prop, "Navigate Gizmo", "Viewport navigation gizmo");
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
|
||||
|
||||
prop = RNA_def_property(srna, "show_gizmo_context", PROP_BOOLEAN, PROP_NONE);
|
||||
|
|
|
@ -1410,7 +1410,7 @@ static void rna_def_panel(BlenderRNA *brna)
|
|||
|
||||
prop = RNA_def_property(srna, "use_pin", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", PNL_PIN);
|
||||
RNA_def_property_ui_text(prop, "Pin", "");
|
||||
RNA_def_property_ui_text(prop, "Pin", "Show the panel on all tabs");
|
||||
/* XXX, should only tag region for redraw */
|
||||
RNA_def_property_update(prop, NC_WINDOW, NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue