diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-02-10 14:29:38 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-02-10 14:29:38 +0400 |
commit | d0f4a2396b38c122b7e56de83532515ae8fa4381 (patch) | |
tree | c10f9983e987090f73ce8a39e368f5d265d670ac /source/blender/compositor/operations/COM_CompositorOperation.cpp | |
parent | 3b8a0f3d674a0da3bb17cbda30f0a2dc19a40e4f (diff) |
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!.
Diffstat (limited to 'source/blender/compositor/operations/COM_CompositorOperation.cpp')
0 files changed, 0 insertions, 0 deletions