Fix #118643: Translation of enum button tooltip not working in cases #118653

Closed
Philipp Oeser wants to merge 1 commits from lichtwerk/blender:118643 into blender-v4.1-release

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 1 additions and 1 deletions

View File

@ -2039,7 +2039,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);
r_item->description = BLT_translate_do_tooltip(nullptr, r_item->description);
}
return result;