mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2024-12-29 19:15: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
|
||||
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")
|
||||
|
Loading…
Reference in New Issue
Block a user