feat: 添加了语言设置界面

This commit is contained in:
2024-03-22 13:39:01 +08:00
parent 1aacceecf0
commit bcc5cb77ad
11 changed files with 144 additions and 36 deletions

View File

@ -0,0 +1,2 @@
def detect_lang(input_str: str) -> str:
return "zh-CN" if input_str == "zh" else "en"