diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-03-25 12:29:06 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-03-25 12:29:06 +0400 |
commit | 69265961749780e252e144d1f815c0fdda435b8a (patch) | |
tree | afe54648b63dc0f9746d38cff81de247ca0ddf98 /source/blender/makesrna/intern/rna_controller.c | |
parent | 1b4c9e1ad40142fbf6a2d97303661a78527c134b (diff) |
More new data names translation (most cases should be covered now).
Also done a few cleanup here and there...
Diffstat (limited to 'source/blender/makesrna/intern/rna_controller.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_controller.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_controller.c b/source/blender/makesrna/intern/rna_controller.c index 472cc6e89e6..28a2ca7cb75 100644 --- a/source/blender/makesrna/intern/rna_controller.c +++ b/source/blender/makesrna/intern/rna_controller.c @@ -31,6 +31,8 @@ #include "BLI_utildefines.h" +#include "BLF_translation.h" + #include "RNA_define.h" #include "rna_internal.h" @@ -88,7 +90,8 @@ static void rna_Constroller_name_set(PointerRNA *ptr, const char *value) if (ptr->id.data) { Object *ob = (Object *)ptr->id.data; - BLI_uniquename(&ob->controllers, cont, "Controller", '.', offsetof(bController, name), sizeof(cont->name)); + BLI_uniquename(&ob->controllers, cont, DATA_("Controller"), '.', offsetof(bController, name), + sizeof(cont->name)); } } |