mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix i18n messages extraction tool after update to support py 3.10.
The new defferred approach broke existing way to access items from struct definition... See T85872.
This commit is contained in:
parent
06212759bc
commit
623ddc4aa6
1 changed files with 1 additions and 1 deletions
|
|
@ -862,7 +862,7 @@ def dump_messages(do_messages, do_checks, settings):
|
|||
dump_src_messages(msgs, reports, settings)
|
||||
|
||||
# Get strings from addons' categories.
|
||||
for uid, label, tip in bpy.types.WindowManager.addon_filter[1]['items'](bpy.context.window_manager, bpy.context):
|
||||
for uid, label, tip in bpy.types.WindowManager.addon_filter.keywords['items'](bpy.context.window_manager, bpy.context):
|
||||
process_msg(msgs, settings.DEFAULT_CONTEXT, label, "Add-ons' categories", reports, None, settings)
|
||||
if tip:
|
||||
process_msg(msgs, settings.DEFAULT_CONTEXT, tip, "Add-ons' categories", reports, None, settings)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue