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:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-09-20 11:39:25 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-09-20 11:39:25 +0400
commit6d125e159d2c391fd92d20bd29bc5c8c33b7dcc2 (patch)
tree408d10d9a473158cf49812a0a229cb51e18ba7b7 /source/blender/makesrna
parent0e421f429ab9c6a6d041c7feb52e84826abe6c65 (diff)
i18n: code clean-up
- Move all translation-related declarations to BLF_translation.h - Reverted some changes to match trunk svn rev40365
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/RNA_access.h3
-rw-r--r--source/blender/makesrna/intern/rna_access.c1
-rw-r--r--source/blender/makesrna/intern/rna_userdef.c2
3 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h
index 691e3aa6e20..26bae68d5a4 100644
--- a/source/blender/makesrna/RNA_access.h
+++ b/source/blender/makesrna/RNA_access.h
@@ -587,9 +587,6 @@ extern StructRNA RNA_WorldTextureSlot;
extern StructRNA RNA_XnorController;
extern StructRNA RNA_XorController;
-/* make every name and description field surrounded by gettext */
-EnumPropertyItem* RNA_enum_items_gettexted(EnumPropertyItem *item);
-
/* Pointer
*
* These functions will fill in RNA pointers, this can be done in three ways:
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index e3dc2779e9d..b7709416a75 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -44,6 +44,7 @@
#include "BLI_ghash.h"
#include "BLF_api.h"
+#include "BLF_translation.h"
#include "BKE_animsys.h"
#include "BKE_context.h"
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index de1445a2b29..b9a53acd6f4 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -44,7 +44,7 @@
#include "WM_types.h"
#include "BLI_utildefines.h"
-#include "BLF_api.h"
+#include "BLF_translation.h"
#include "BKE_sound.h"