diff options
author | Xiao Xiangquan <xiaoxiangquan@gmail.com> | 2011-06-10 08:36:51 +0400 |
---|---|---|
committer | Xiao Xiangquan <xiaoxiangquan@gmail.com> | 2011-06-10 08:36:51 +0400 |
commit | 34a22b3b78b6c577fdb048751f58cce89f68a2d9 (patch) | |
tree | 7568693b918cdaf882b4830ace931f00403bd6c3 /source/blender/blenfont/BLF_api.h | |
parent | aac6369e681d8d713264b2234ac30a5e90b07be0 (diff) |
Add i18n support for C code, and most menu items can be translated, now
Diffstat (limited to 'source/blender/blenfont/BLF_api.h')
-rw-r--r-- | source/blender/blenfont/BLF_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h index ed86cf7fa3d..e305345d6bc 100644 --- a/source/blender/blenfont/BLF_api.h +++ b/source/blender/blenfont/BLF_api.h @@ -223,6 +223,6 @@ extern int blf_mono_font_render; // dont mess drawing with render threads. // XXX, me, too extern int blf_unifont; extern int blf_unifont_render; // dont mess drawing with render threads. -#define _(msgid) (msgid) +#define _(msgid) BLF_gettext(msgid) #endif /* BLF_API_H */ |