diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-10-04 13:38:40 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-10-04 13:39:06 +0300 |
commit | a22af1a84b3f15e300a1099cf4cc958d8abcc3dd (patch) | |
tree | 5d951f3976ead34bcc50974b81646ad5509e9b1f /release | |
parent | b22b2c783daa22198b1268b0e4045c76877b5a35 (diff) |
Fix i18n messages extraction script, and a few more UI messages...
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/modules/bl_i18n_utils/bl_extract_messages.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/bl_extract_messages.py b/release/scripts/modules/bl_i18n_utils/bl_extract_messages.py index 3b7eff6db9c..bbeb1780355 100644 --- a/release/scripts/modules/bl_i18n_utils/bl_extract_messages.py +++ b/release/scripts/modules/bl_i18n_utils/bl_extract_messages.py @@ -227,6 +227,8 @@ def dump_rna_messages(msgs, reports, settings, verbose=False): # More builtin classes we don't need to parse. blacklist_rna_class |= {cls for cls in bpy.types.Property.__subclasses__()} + # None of this seems needed anymore, and it's broken anyway with current master (blender 2.79.1)... + """ _rna = {getattr(bpy.types, cls) for cls in dir(bpy.types)} # Classes which are attached to collections can be skipped too, these are api access only. @@ -276,6 +278,7 @@ def dump_rna_messages(msgs, reports, settings, verbose=False): #op = get_instance(idname) #if 'INTERNAL' in path_resolve(op, "bl_options"): #blacklist_rna_class.add(idname) + """ return blacklist_rna_class |