Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-04-28 23:11:26 +0300
committerHans Goudey <h.goudey@me.com>2022-04-28 23:11:26 +0300
commit810f33d434c2f63df9a6c9cc42893e0ff540ae4c (patch)
tree20ded503d5ac384f87da56a5d22ffb652822ca7d /source/blender/editors/space_node/node_draw.cc
parent708fabe3d7a4bfd7821472a98125a2fdc7eb2f0a (diff)
Fix: Missing translation in node socket inspection
Diffstat (limited to 'source/blender/editors/space_node/node_draw.cc')
-rw-r--r--source/blender/editors/space_node/node_draw.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_draw.cc b/source/blender/editors/space_node/node_draw.cc
index 0e02013f527..9076b17a926 100644
--- a/source/blender/editors/space_node/node_draw.cc
+++ b/source/blender/editors/space_node/node_draw.cc
@@ -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();