feat: link zh_TW.json to zh_HK.json & zh_SG.json (#64)

* optimize: 精简未用到的配置项并在特征提取初步引入mps

* add cmd argument: --noautoopen

* fix: i18n

* fix

* fix

* add genlocale workflow

* add unitest

* fix

* fix

* fix

* 优化笔记本

* reintroduce Push changes

* disable genlocale on non-main branch

* 将笔记本checkout改为stable

* 优化代码结构

* make lint happy

* make lint happy

* 优化

* 优化

* 优化

* fix path on windows okey pack

* fix

* fix

* revert

* revert

* revert

* fix: extract locale regex

* feat: link zh_TW.json to zh_HK.json & zh_SG.json

* fix #50: set default language to en_US
This commit is contained in:
源文雨
2023-04-15 21:45:01 +08:00
committed by GitHub
parent 7ee8b206de
commit 71bf6a4156
4 changed files with 7 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ from collections import OrderedDict
standard_file = "zh_CN.json"
# Define the list of supported languages
# zh_HK.json and zh_SG.json is not included in the list
# because they are symbolinks to zh_TW.json
languages = ["zh_TW.json", "ja_JP.json", "en_US.json"]
# Load the standard file