blender/release/scripts
Bastien Montagne d0f4a2396b Actually, UI scripts should not use directly pgettext, but rather the iface or tooltip variants. Added those to bpy.app.translations, and used pgettext_iface.
(Did not add those when I created that module, because I did not thought we would actually need them in usual UI code, but turned out I was wrong).

Also made some optimizations in those py gettext funcs, when i18n is disabled at build time, no need to do pyobject -> cstring -> pyobject conversions!.
2013-02-10 10:29:38 +00:00
..
modules use import rather then assignment for loading '_' into scripts. 2013-02-10 09:56:05 +00:00
presets pep8 cleanup 2013-02-10 08:54:10 +00:00
startup Actually, UI scripts should not use directly pgettext, but rather the iface or tooltip variants. Added those to bpy.app.translations, and used pgettext_iface. 2013-02-10 10:29:38 +00:00
templates_osl OSL Templates: remove unnecessary stdosl.h include. 2012-12-30 10:37:32 +00:00
templates_py Fix uilists showing data names translated (reported on bf-translations ML by Satoshi Yamasaki aka yamyam, thanks!). 2013-02-08 16:01:21 +00:00