blender/scripts/modules/bl_i18n_utils
Bastien Montagne b179378766 Fix (unreported) crash in I18N messages extraction script.
Using `bpy.types.OperatorProperties.__subclasses__()` has become utterly
unreliable now, to the point that it keeps references to freed (aka
unregistered) operators now, leading to crash when accessing them.

This commit refactors quite seriously the `dump_rna_messages` code, by
first listing all 'valid' classes, and then processing them all at once
in a flat iteration.

RNA classes are still generated from class hierarchy rooted on the
'virtual' `rna_struct` one, except for operators. These are now
generated by introspecting `bpy.ops` instead.
2024-06-04 18:42:17 +02:00
..
__init__.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
bl_extract_messages.py Fix (unreported) crash in I18N messages extraction script. 2024-06-04 18:42:17 +02:00
merge_po.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
settings_user.py License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
settings.py Cleanup: spelling in comments 2024-05-28 13:47:43 +10:00
utils_cli.py I18n Py Module: Update settings after move to Weblate. 2023-09-15 18:08:52 +02:00
utils_languages_menu.py Cleanup: unused imports 2024-04-19 16:09:30 +10:00
utils_rtl.py Cleanup: spelling in comments 2023-09-05 11:04:27 +10:00
utils_spell_check.py Fix/tweak UI messages (typos etc.). 2024-03-04 11:17:55 +01:00
utils.py I18n: improve add-on translation tooling 2024-05-27 13:33:49 +02:00