Various minor fixes to i18n code (mostly, translation of enum items' tooltips was...
authorBastien Montagne <montagne29@wanadoo.fr>
Tue, 18 Dec 2012 18:25:48 +0000 (18:25 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Tue, 18 Dec 2012 18:25:48 +0000 (18:25 +0000)
commitedf826d9240a1e153329e133f98d6a7243aa0c48
tree8e354c9f81321462028499991041750beb221bb2
parent7e56e5ac949155e93f5defba8be30b272745b503
Various minor fixes to i18n code (mostly, translation of enum items' tooltips was wrongly bound to iface option, not tooltips one, and recent changes in r53119 were incorectly using BLF_pgettext, made them simpler by using CTX_IFACE_ macro).

Also fixed CTX_FOO_ macros when building without i18n, those were kinda wrong.

And hid i18n ui section in userpreferences when built without its support too.
release/scripts/startup/bl_ui/space_userpref.py
source/blender/blenfont/BLF_translation.h
source/blender/blenfont/intern/blf_lang.c
source/blender/editors/interface/interface.c
source/blender/editors/interface/interface_layout.c
source/blender/editors/interface/interface_templates.c
source/blender/makesrna/intern/rna_access.c