Typo in last commit
This commit is contained in:
parent
85c1e61375
commit
acb94b6c78
|
@ -7053,14 +7053,14 @@ static bool ui_but_menu(bContext *C, uiBut *but)
|
|||
|
||||
but2 = uiDefIconTextBut(
|
||||
block, UI_BTYPE_BUT, 0, ICON_MENU_PANEL,
|
||||
CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Add to Favourites Menu"),
|
||||
CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Add to Favorites Menu"),
|
||||
0, 0, w, UI_UNIT_Y, NULL, 0, 0, 0, 0,
|
||||
"Add to a user defined context menu (stored in the user preferences)");
|
||||
UI_but_func_set(but2, popup_user_menu_add_or_replace_func, but, umi);
|
||||
if (umi) {
|
||||
but2 = uiDefIconTextBut(
|
||||
block, UI_BTYPE_BUT, 0, ICON_CANCEL,
|
||||
CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Remove from Favourites Menu"),
|
||||
CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Remove from Favorites Menu"),
|
||||
0, 0, w, UI_UNIT_Y, NULL, 0, 0, 0, 0, "");
|
||||
UI_but_func_set(but2, popup_user_menu_remove_func, NULL, umi);
|
||||
}
|
||||
|
|
|
@ -133,7 +133,7 @@ void ED_screen_user_menu_register(void)
|
|||
{
|
||||
MenuType *mt = MEM_callocN(sizeof(MenuType), __func__);
|
||||
strcpy(mt->idname, "SCREEN_MT_user_menu");
|
||||
strcpy(mt->label, "Quick Favourites");
|
||||
strcpy(mt->label, "Quick Favorites");
|
||||
strcpy(mt->translation_context, BLT_I18NCONTEXT_DEFAULT_BPYRNA);
|
||||
mt->draw = screen_user_menu_draw;
|
||||
WM_menutype_add(mt);
|
||||
|
|
Loading…
Reference in New Issue