WIP: I18n: add per-label translation contexts for nodes #105690
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include "BLI_assert.h"
|
||||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "GPU_material.h"
|
||||
|
||||
#include "COM_shader_node.hh"
|
||||
|
@ -35,7 +37,7 @@ static void node_cmp_combsep_color_label(const ListBase *sockets, CMPNodeCombSep
|
|||
case CMP_NODE_COMBSEP_COLOR_HSV:
|
||||
node_sock_label(sock1, "Hue");
|
||||
node_sock_label(sock2, "Saturation");
|
||||
node_sock_label(sock3, "Value");
|
||||
node_sock_label(sock3, "Value", BLT_I18NCONTEXT_COLOR);
|
||||
break;
|
||||
case CMP_NODE_COMBSEP_COLOR_HSL:
|
||||
node_sock_label(sock1, "Hue");
|
||||
|
|
|
@ -268,7 +268,7 @@ void node_combsep_color_label(const ListBase *sockets, NodeCombSepColorMode mode
|
|||
case NODE_COMBSEP_COLOR_HSV:
|
||||
node_sock_label(sock1, "Hue");
|
||||
node_sock_label(sock2, "Saturation");
|
||||
node_sock_label(sock3, "Value");
|
||||
node_sock_label(sock3, "Value", BLT_I18NCONTEXT_COLOR);
|
||||
break;
|
||||
default: {
|
||||
BLI_assert_unreachable();
|
||||
|
|
Loading…
Reference in New Issue