Fix: T40016 ID Names translated in menus

This commit is contained in:
2014-05-05 15:09:29 +10:00
parent 047c3aa728
commit cf069afdfd
8 changed files with 15 additions and 3 deletions

View File

@@ -1067,6 +1067,7 @@ void OUTLINER_OT_action_set(wmOperatorType *ot)
// TODO: this would be nicer as an ID-pointer...
prop = RNA_def_enum(ot->srna, "action", DummyRNA_NULL_items, 0, "Action", "");
RNA_def_enum_funcs(prop, RNA_action_itemf);
RNA_def_property_flag(prop, PROP_ENUM_NO_TRANSLATE);
ot->prop = prop;
}