I18n: extract UILayout headings with context

Some UI elements (row and column) can define a heading text.
Optionally, this text can use a custom translation context specified
through `heading_text`. This changes allows extraction of those
headings using the appropriate context instead of the default one.

Pull Request: https://projects.blender.org/blender/blender/pulls/122326
This commit is contained in:
Damien Picard 2024-05-27 18:52:17 +02:00 committed by Gitea
parent 3ccb84fee6
commit 8b8d58a7e5

@ -590,7 +590,7 @@ def dump_py_messages_from_files(msgs, reports, files, settings):
"msgid": ((("msgctxt",), _ctxt_to_ctxt),
),
"message": (),
"heading": (),
"heading": ((("heading_ctxt",), _ctxt_to_ctxt),),
"placeholder": ((("text_ctxt",), _ctxt_to_ctxt),),
}