UI: translate quick favorites menu operator names
Some operator titles were not translated in the quick favorites menu. Before: {F13283724} After: {F13283725} Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15416
This commit is contained in:
parent
1571ee66b5
commit
f48fadc953
|
@ -214,7 +214,7 @@ static void screen_user_menu_draw(const bContext *C, Menu *menu)
|
|||
wmOperatorType *ot = WM_operatortype_find(umi_op->op_idname, false);
|
||||
if (ot != NULL) {
|
||||
IDProperty *prop = umi_op->prop ? IDP_CopyProperty(umi_op->prop) : NULL;
|
||||
uiItemFullO_ptr(menu->layout, ot, ui_name, ICON_NONE, prop, umi_op->opcontext, 0, NULL);
|
||||
uiItemFullO_ptr(menu->layout, ot, CTX_IFACE_(ot->translation_context, ui_name), ICON_NONE, prop, umi_op->opcontext, 0, NULL);
|
||||
is_empty = false;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue