Usual UI messages fixes.

This commit is contained in:
Bastien Montagne
2014-10-22 22:26:45 +02:00
parent 459c5d2045
commit 2e0426bbb1
3 changed files with 5 additions and 3 deletions

View File

@@ -3141,7 +3141,7 @@ static void SCREEN_OT_header(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Header";
ot->description = "Display display header";
ot->description = "Display header";
ot->idname = "SCREEN_OT_header";
/* api callbacks */

View File

@@ -1578,7 +1578,8 @@ void SEQUENCER_OT_trim(struct wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
RNA_def_int(ot->srna, "offset", 0, INT32_MIN, INT32_MAX, "Offset", "offset to the data of the strip", INT32_MIN, INT32_MAX);
RNA_def_int(ot->srna, "offset", 0, INT32_MIN, INT32_MAX, "Offset", "Offset to the data of the strip",
INT32_MIN, INT32_MAX);
}

View File

@@ -3253,7 +3253,8 @@ static void rna_def_userdef_view(BlenderRNA *brna)
prop = RNA_def_property(srna, "pie_menu_confirm", PROP_INT, PROP_PIXEL);
RNA_def_property_range(prop, 0, 1000);
RNA_def_property_ui_text(prop, "Confirm Threshold", "Distance after threshold after which selection is made (zero disables)");
RNA_def_property_ui_text(prop, "Confirm Threshold",
"Distance threshold after which selection is made (zero to disable)");
prop = RNA_def_property(srna, "use_quit_dialog", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "uiflag", USER_QUIT_PROMPT);