Fix #117672: Translation of enum button tooltips broken #117693

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:117672 into main 2024-01-31 14:56:34 +01:00
1 changed files with 1 additions and 0 deletions

View File

@ -2035,6 +2035,7 @@ bool RNA_property_enum_item_from_value_gettexted(
if (result && !(prop->flag & PROP_ENUM_NO_TRANSLATE)) {
r_item->name = BLT_translate_do_iface(prop->translation_context, r_item->name);
r_item->description = BLT_translate_do_tooltip(prop->translation_context, r_item->description);
}
return result;