blender/release/scripts/modules/bl_i18n_utils
Bastien Montagne 337b718695 Fix T47371 - add access to 'static' enum items.
Some dynamic enums, which do not need a valid context pointer, have their 'itemf'
callback always called. This is annoying for introspection tools (like the ones generating
translations, or API documentation), because it means they never have access to all possible
options (enum items).

So now, there is also an `enum_items_static` accessor to get only statically-defined
enum items.

Note: only i18n tools take advantage of this currently, others are still to be updated.

Reviewers: campbellbarton, sergey

Differential Revision: https://developer.blender.org/D1782
2016-02-09 12:51:07 +01:00
..
__init__.py rename module to something less generic. 2012-07-03 11:32:42 +00:00
bl_extract_messages.py Fix T47371 - add access to 'static' enum items. 2016-02-09 12:51:07 +01:00
merge_po.py cleanup: py imports 2015-01-28 16:50:51 +11:00
settings_user.py Some renaming/cleanup in i18n tools. 2013-03-19 08:33:24 +00:00
settings.py Usual i18n/UI message fixes... 2016-02-02 20:40:23 +01:00
utils_languages_menu.py Translations utils: add needed bits to update git repo together with svn trunk. 2015-06-13 11:42:54 +02:00
utils_rtl.py Code cleanup: style 2014-02-13 08:52:12 +11:00
utils_spell_check.py Usual i18n/UI messages tweaks. 2016-01-19 20:31:06 +01:00
utils.py Translations utils: add needed bits to update git repo together with svn trunk. 2015-06-13 11:42:54 +02:00