fix: gen-locale

This commit is contained in:
源文雨 2023-07-13 14:39:34 +08:00 committed by GitHub
parent 9739f3085d
commit c40d522e2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -22,8 +22,11 @@ def process(fn: str):
print("processing infer-web.py")
process("infer-web.py")
print("processing gui.py")
process("gui.py")
print("processing gui_v0.py")
process("gui_v0.py")
print("processing gui_v1.py")
process("gui_v1.py")
# Save as a JSON file
with open("./i18n/zh_CN.json", "w", encoding="utf-8") as f: