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:
authorBastien Montagne <montagne29@wanadoo.fr>2019-02-13 18:18:19 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-02-13 18:19:09 +0300
commit10efc54729f054f72377c4a7a16c99d50c2cf81e (patch)
treece96cfac030e838ea64f64f9a875e37f72ae7071 /source/blender/nodes
parenta4e81e2dfbdc63e7db3132f81a02cc5ac4985374 (diff)
Fix NodeTree types UI messages not being properly tagged for translation.
Probably fix first part of T61446.
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/composite/node_composite_tree.c4
-rw-r--r--source/blender/nodes/shader/node_shader_tree.c4
-rw-r--r--source/blender/nodes/texture/node_texture_tree.c4
3 files changed, 6 insertions, 6 deletions
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;