I18n: Disambiguation for 'Cycles' used also by some anim modifier.
Part of T43295.
This commit is contained in:
parent
733811330c
commit
1ac0254cfa
|
@ -2820,6 +2820,7 @@ void GRAPH_OT_fmodifier_add(wmOperatorType *ot)
|
|||
|
||||
/* id-props */
|
||||
prop = RNA_def_enum(ot->srna, "type", rna_enum_fmodifier_type_items, 0, "Type", "");
|
||||
RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_ACTION);
|
||||
RNA_def_enum_funcs(prop, graph_fmodifier_itemf);
|
||||
ot->prop = prop;
|
||||
|
||||
|
|
|
@ -2446,6 +2446,7 @@ void NLA_OT_fmodifier_add(wmOperatorType *ot)
|
|||
|
||||
/* id-props */
|
||||
ot->prop = RNA_def_enum(ot->srna, "type", rna_enum_fmodifier_type_items, 0, "Type", "");
|
||||
RNA_def_property_translation_context(ot->prop, BLT_I18NCONTEXT_ID_ACTION);
|
||||
RNA_def_enum_funcs(ot->prop, nla_fmodifier_itemf);
|
||||
|
||||
RNA_def_boolean(ot->srna,
|
||||
|
|
|
@ -1534,6 +1534,7 @@ static void rna_def_fmodifier(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_enum_items(prop, rna_enum_fmodifier_type_items);
|
||||
RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_ACTION);
|
||||
RNA_def_property_ui_text(prop, "Type", "F-Curve Modifier Type");
|
||||
|
||||
/* settings */
|
||||
|
|
Loading…
Reference in New Issue