mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-08-03 20:56:49 -04:00
Make generation script sort the resources.
This will avoid unnecessary modification of the qrc file just because of random unsorted order.
This commit is contained in:
parent
42feaa9ac5
commit
ecad664bdf
@ -34,7 +34,7 @@ qresource.tail = "\n"
|
||||
json_files = translation_dir.glob("*.json")
|
||||
|
||||
node = None
|
||||
for json in translation_dir.glob("*.json"):
|
||||
for json in sorted(translation_dir.glob("*.json")):
|
||||
if node is not None:
|
||||
node.tail += " " * 8
|
||||
node = ET.SubElement(qresource, "file")
|
||||
|
Loading…
x
Reference in New Issue
Block a user