I18n: translate popover descriptions #106195

Merged
Bastien Montagne merged 1 commits from pioverfour/blender:dp_translate_popover_description into main 2023-04-03 15:56:09 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -3203,7 +3203,7 @@ void uiItemPopoverPanel_ptr(
pt->draw_header(C, &panel);
}
uiBut *but = ui_item_menu(
layout, name, icon, ui_item_paneltype_func, pt, nullptr, pt->description, true);
layout, name, icon, ui_item_paneltype_func, pt, nullptr, TIP_(pt->description), true);
but->type = UI_BTYPE_POPOVER;
if (!ok) {
but->flag |= UI_BUT_DISABLED;