mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-01-04 05:55:04 +08:00
optimize: sort keys
This commit is contained in:
parent
473c20c264
commit
3829cd1ff2
@ -41,5 +41,5 @@ for lang_file in languages:
|
|||||||
|
|
||||||
# Save the updated language file
|
# Save the updated language file
|
||||||
with open(lang_file, "w", encoding="utf-8") as f:
|
with open(lang_file, "w", encoding="utf-8") as f:
|
||||||
json.dump(lang_data, f, ensure_ascii=False, indent=4)
|
json.dump(lang_data, f, ensure_ascii=False, indent=4, sort_keys=True)
|
||||||
f.write("\n")
|
f.write("\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user