sort TRANSLATION()'s

This commit is contained in:
Dan Halbert 2023-08-11 13:36:03 -04:00
parent 10b94796c0
commit 8a89a3d425

View File

@ -393,7 +393,7 @@ def print_qstr_data(qcfgs, qstrs, i18ns):
print(
"// Enumerate translated texts but don't actually include translations. Instead, the linker will link them in."
)
for i, original in enumerate(i18ns):
for i, original in enumerate(sorted(i18ns)):
print('TRANSLATION("{}", {})'.format(original, i))
print()