Fix: Missing translation in node socket inspection

This commit is contained in:
Hans Goudey 2022-04-28 15:11:26 -05:00
parent 708fabe3d7
commit 810f33d434
1 changed files with 2 additions and 1 deletions

View File

@ -781,7 +781,8 @@ struct SocketTooltipData {
static void create_inspection_string_for_generic_value(const GPointer value, std::stringstream &ss)
{
auto id_to_inspection_string = [&](const ID *id, const short idcode) {
ss << (id ? id->name + 2 : TIP_("None")) << " (" << BKE_idtype_idcode_to_name(idcode) << ")";
ss << (id ? id->name + 2 : TIP_("None")) << " (" << TIP_(BKE_idtype_idcode_to_name(idcode))
<< ")";
};
const CPPType &type = *value.type();