Fix #118643: Translation of enum button tooltip not working in cases #118653
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue