diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-06-02 23:58:12 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-06-02 23:58:12 +0400 |
commit | 64039bdf44c5c920973915e333de2bcd1c861a8d (patch) | |
tree | 7cb205ae2819c0edde39fc1593064b3ee648410d /source/blender/nodes/texture/nodes/node_texture_distance.c | |
parent | d6128ae3c6f1e6da0ecbe6b519d993745f12980b (diff) |
Fixing most (if not all) remaining issues with nodes UI i18n.
Note that I had to script-tag all sokets' names, as they are currently completely unknown from bpy.types (and hence unreachable for our po generating scripts).
Diffstat (limited to 'source/blender/nodes/texture/nodes/node_texture_distance.c')
-rw-r--r-- | source/blender/nodes/texture/nodes/node_texture_distance.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/nodes/texture/nodes/node_texture_distance.c b/source/blender/nodes/texture/nodes/node_texture_distance.c index a2c1f41c0de..29f08a0ded0 100644 --- a/source/blender/nodes/texture/nodes/node_texture_distance.c +++ b/source/blender/nodes/texture/nodes/node_texture_distance.c @@ -36,13 +36,13 @@ #include "NOD_texture.h" static bNodeSocketTemplate inputs[]= { - { SOCK_VECTOR, 1, "Coordinate 1", 0.0f, 0.0f, 0.0f, 0.0f, -1.0f, 1.0f, PROP_NONE }, - { SOCK_VECTOR, 1, "Coordinate 2", 0.0f, 0.0f, 0.0f, 0.0f, -1.0f, 1.0f, PROP_NONE }, + { SOCK_VECTOR, 1, N_("Coordinate 1"), 0.0f, 0.0f, 0.0f, 0.0f, -1.0f, 1.0f, PROP_NONE }, + { SOCK_VECTOR, 1, N_("Coordinate 2"), 0.0f, 0.0f, 0.0f, 0.0f, -1.0f, 1.0f, PROP_NONE }, { -1, 0, "" } }; static bNodeSocketTemplate outputs[]= { - { SOCK_FLOAT, 0, "Value" }, + { SOCK_FLOAT, 0, N_("Value") }, { -1, 0, "" } }; |