diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-02-13 18:18:19 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-02-13 18:19:09 +0300 |
commit | 10efc54729f054f72377c4a7a16c99d50c2cf81e (patch) | |
tree | ce96cfac030e838ea64f64f9a875e37f72ae7071 | |
parent | a4e81e2dfbdc63e7db3132f81a02cc5ac4985374 (diff) |
Fix NodeTree types UI messages not being properly tagged for translation.
Probably fix first part of T61446.
-rw-r--r-- | source/blender/blenkernel/intern/node.c | 4 | ||||
-rw-r--r-- | source/blender/nodes/composite/node_composite_tree.c | 4 | ||||
-rw-r--r-- | source/blender/nodes/shader/node_shader_tree.c | 4 | ||||
-rw-r--r-- | source/blender/nodes/texture/node_texture_tree.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/blenkernel/intern/node.c b/source/blender/blenkernel/intern/node.c index 8449c506939..7ccff4be808 100644 --- a/source/blender/blenkernel/intern/node.c +++ b/source/blender/blenkernel/intern/node.c @@ -3364,8 +3364,8 @@ static void register_undefined_types(void) */ strcpy(NodeTreeTypeUndefined.idname, "NodeTreeUndefined"); - strcpy(NodeTreeTypeUndefined.ui_name, "Undefined"); - strcpy(NodeTreeTypeUndefined.ui_description, "Undefined Node Tree Type"); + strcpy(NodeTreeTypeUndefined.ui_name, N_("Undefined")); + strcpy(NodeTreeTypeUndefined.ui_description, N_("Undefined Node Tree Type")); node_type_base_custom(&NodeTypeUndefined, "NodeUndefined", "Undefined", 0, 0); NodeTypeUndefined.poll = node_undefined_poll; diff --git a/source/blender/nodes/composite/node_composite_tree.c b/source/blender/nodes/composite/node_composite_tree.c index 16c820f5bb3..bf01504bce7 100644 --- a/source/blender/nodes/composite/node_composite_tree.c +++ b/source/blender/nodes/composite/node_composite_tree.c @@ -194,9 +194,9 @@ void register_node_tree_type_cmp(void) tt->type = NTREE_COMPOSIT; strcpy(tt->idname, "CompositorNodeTree"); - strcpy(tt->ui_name, "Compositing"); + strcpy(tt->ui_name, N_("Compositing")); tt->ui_icon = 0; /* defined in drawnode.c */ - strcpy(tt->ui_description, "Compositing nodes"); + strcpy(tt->ui_description, N_("Compositing nodes")); tt->free_cache = free_cache; tt->free_node_cache = free_node_cache; diff --git a/source/blender/nodes/shader/node_shader_tree.c b/source/blender/nodes/shader/node_shader_tree.c index 4a9e0c6fec2..37036f85361 100644 --- a/source/blender/nodes/shader/node_shader_tree.c +++ b/source/blender/nodes/shader/node_shader_tree.c @@ -176,9 +176,9 @@ void register_node_tree_type_sh(void) tt->type = NTREE_SHADER; strcpy(tt->idname, "ShaderNodeTree"); - strcpy(tt->ui_name, "Shader Editor"); + strcpy(tt->ui_name, N_("Shader Editor")); tt->ui_icon = 0; /* defined in drawnode.c */ - strcpy(tt->ui_description, "Shader nodes"); + strcpy(tt->ui_description, N_("Shader nodes")); tt->foreach_nodeclass = foreach_nodeclass; tt->localize = localize; diff --git a/source/blender/nodes/texture/node_texture_tree.c b/source/blender/nodes/texture/node_texture_tree.c index 1ad784c801f..655c80f347c 100644 --- a/source/blender/nodes/texture/node_texture_tree.c +++ b/source/blender/nodes/texture/node_texture_tree.c @@ -155,9 +155,9 @@ void register_node_tree_type_tex(void) tt->type = NTREE_TEXTURE; strcpy(tt->idname, "TextureNodeTree"); - strcpy(tt->ui_name, "Texture Node Editor"); + strcpy(tt->ui_name, N_("Texture Node Editor")); tt->ui_icon = 0; /* defined in drawnode.c */ - strcpy(tt->ui_description, "Texture nodes"); + strcpy(tt->ui_description, N_("Texture nodes")); tt->foreach_nodeclass = foreach_nodeclass; tt->update = update; |