Skip to content

Commit

Permalink
feat(#15): support English, adjust UI, refactor and more
Browse files Browse the repository at this point in the history
* 1、重构配置文件功能;

* 1、初步的多语言支持

* 使用LANGUAGE_LIST统一各py代码中的语言代号

* Merge branch 'master' into master

* 同步更新内容

* 去掉多余空格

* 按钮宽度自适应文本内容并保持对齐
  • Loading branch information
GSCmax authored Mar 4, 2024
1 parent 164ee67 commit 79b9ed4
Show file tree
Hide file tree
Showing 3 changed files with 231 additions and 92 deletions.
2 changes: 1 addition & 1 deletion const_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FIRMWARE_VERSION_LIST = ['萝狮虎', '萝狮虎扩容', '其他']
EEPROM_SIZE = ['8KiB (原厂)', '128KiB (1M)', '256KiB (2M)', '384KiB (3M)', '512KiB (4M)']

LANGUAGE_LIST = ['简体中文', 'en-US']

class FontType(Enum):
GB2312_COMPRESSED = '压缩GB2312'
Expand Down
Loading

0 comments on commit 79b9ed4

Please sign in to comment.