diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-20 11:39:25 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-20 11:39:25 +0400 |
commit | 6d125e159d2c391fd92d20bd29bc5c8c33b7dcc2 (patch) | |
tree | 408d10d9a473158cf49812a0a229cb51e18ba7b7 /source/blender/blenfont/intern | |
parent | 0e421f429ab9c6a6d041c7feb52e84826abe6c65 (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/blenfont/intern')
-rw-r--r-- | source/blender/blenfont/intern/blf.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c index 9a1c87ea3de..cccecd00bf7 100644 --- a/source/blender/blenfont/intern/blf.c +++ b/source/blender/blenfont/intern/blf.c @@ -34,11 +34,6 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> - -#ifdef INTERNATIONAL -#include <libintl.h> -#endif - #include <math.h> #include <ft2build.h> @@ -304,17 +299,6 @@ void BLF_enable(int fontid, int option) } } -const char* BLF_gettext(const char *msgid) -{ -#ifdef INTERNATIONAL - if( msgid[0] ) - return gettext( msgid ); - return ""; -#else - return msgid; -#endif -} - void BLF_disable(int fontid, int option) { FontBLF *font= BLF_get(fontid); |