optimize: 优化代码结构 (#66)

* update

* 纠正了多余的内容

* update

* Change the location of the comments (or revert) to improve readability.

* revert

* Update extract_locale.py

* Update i18n.py

* fix HK & SG

---------

Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
This commit is contained in:
唐澤 克幸
2023-04-16 15:29:01 +09:00
committed by GitHub
parent eebbacba8c
commit 6fb458a754
18 changed files with 225 additions and 30 deletions

View File

@@ -26,5 +26,5 @@ print("processing gui.py")
process("gui.py")
# Save as a JSON file
with open("./locale/zh_CN.json", "w", encoding="utf-8") as f:
with open("./i18n/zh_CN.json", "w", encoding="utf-8") as f:
json.dump(data, f, ensure_ascii=False, indent=4)