Merge branch 'blender-v4.0-release'
This commit is contained in:
@@ -588,6 +588,7 @@ def dump_py_messages_from_files(msgs, reports, files, settings):
|
||||
),
|
||||
"message": (),
|
||||
"heading": (),
|
||||
"placeholder": ((("text_ctxt",), _ctxt_to_ctxt),),
|
||||
}
|
||||
|
||||
context_kw_set = {}
|
||||
@@ -621,7 +622,8 @@ def dump_py_messages_from_files(msgs, reports, files, settings):
|
||||
for arg_pos, (arg_kw, arg) in enumerate(func.parameters.items()):
|
||||
if (not arg.is_output) and (arg.type == 'STRING'):
|
||||
for msgid, msgctxts in context_kw_set.items():
|
||||
if arg_kw in msgctxts:
|
||||
# The msgid can be missing if it is used in only some UILayout functions but not all
|
||||
if arg_kw in msgctxts and msgid in func_translate_args[func_id]:
|
||||
func_translate_args[func_id][msgid][1][arg_kw] = arg_pos
|
||||
# The report() func of operators.
|
||||
for func_id, func in bpy.types.Operator.bl_rna.functions.items():
|
||||
|
||||
Reference in New Issue
Block a user