mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
I18n: Sort sockets in translation extraction, for stable .po files
Socket names and descriptions were not sorted, which could result in changes between invocations of the translation extraction script.
This commit is contained in:
parent
78db22fd27
commit
86ea2bd1ce
1 changed files with 1 additions and 1 deletions
|
|
@ -1107,7 +1107,7 @@ def dump_asset_messages(msgs, reports, settings):
|
|||
)
|
||||
|
||||
if "sockets" in asset:
|
||||
for socket_name, socket_description in asset["sockets"]:
|
||||
for socket_name, socket_description in sorted(asset["sockets"]):
|
||||
msgsrc = f"Socket name from node group {name}, file {asset_file}"
|
||||
process_msg(
|
||||
msgs, settings.DEFAULT_CONTEXT, socket_name, msgsrc,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue