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>2011-11-09 19:00:11 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2011-11-09 19:00:11 +0400
commitbc5ec4e69cf3308c2563239c0e8372b853800a78 (patch)
tree408142839defc8314685cfe8d1f9eb00c176040a /source/blender/nodes/texture
parente4269043b492d2fb3ae1b751148d327ff59a26c9 (diff)
Fixed/restored translation of node classes (in foreach_nodeclass funcs)
Diffstat (limited to 'source/blender/nodes/texture')
-rw-r--r--source/blender/nodes/texture/node_texture_tree.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/source/blender/nodes/texture/node_texture_tree.c b/source/blender/nodes/texture/node_texture_tree.c
index 84bb53e2215..e863e9f6e0f 100644
--- a/source/blender/nodes/texture/node_texture_tree.c
+++ b/source/blender/nodes/texture/node_texture_tree.c
@@ -39,6 +39,8 @@
#include "BLI_threads.h"
#include "BLI_utildefines.h"
+#include "BLF_translation.h"
+
#include "BKE_global.h"
#include "BKE_main.h"
#include "BKE_node.h"
@@ -64,15 +66,15 @@ static void foreach_nodetree(Main *main, void *calldata, bNodeTreeCallback func)
static void foreach_nodeclass(Scene *UNUSED(scene), void *calldata, bNodeClassCallback func)
{
- func(calldata, NODE_CLASS_INPUT, "Input");
- func(calldata, NODE_CLASS_OUTPUT, "Output");
- func(calldata, NODE_CLASS_OP_COLOR, "Color");
- func(calldata, NODE_CLASS_PATTERN, "Patterns");
- func(calldata, NODE_CLASS_TEXTURE, "Textures");
- func(calldata, NODE_CLASS_CONVERTOR, "Convertor");
- func(calldata, NODE_CLASS_DISTORT, "Distort");
- func(calldata, NODE_CLASS_GROUP, "Group");
- func(calldata, NODE_CLASS_LAYOUT, "Layout");
+ func(calldata, NODE_CLASS_INPUT, IFACE_("Input"));
+ func(calldata, NODE_CLASS_OUTPUT, IFACE_("Output"));
+ func(calldata, NODE_CLASS_OP_COLOR, IFACE_("Color"));
+ func(calldata, NODE_CLASS_PATTERN, IFACE_("Patterns"));
+ func(calldata, NODE_CLASS_TEXTURE, IFACE_("Textures"));
+ func(calldata, NODE_CLASS_CONVERTOR, IFACE_("Convertor"));
+ func(calldata, NODE_CLASS_DISTORT, IFACE_("Distort"));
+ func(calldata, NODE_CLASS_GROUP, IFACE_("Group"));
+ func(calldata, NODE_CLASS_LAYOUT, IFACE_("Layout"));
}
static void local_sync(bNodeTree *localtree, bNodeTree *ntree)