mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Merge branch 'LmeSzinc:master' into master
This commit is contained in:
@@ -23,6 +23,9 @@ def poor_yaml_write_with_lock(data, file, template_file=DEPLOY_TEMPLATE):
|
||||
|
||||
class WebuiConfig:
|
||||
Language = 'zh-CN'
|
||||
WebuiPort = 22267
|
||||
Theme = 'default'
|
||||
Password = None
|
||||
|
||||
def __init__(self, file=DEPLOY_CONFIG):
|
||||
"""
|
||||
|
||||
@@ -59,7 +59,4 @@ def reload():
|
||||
|
||||
for key in dic_lang["ja-JP"].keys():
|
||||
if dic_lang["ja-JP"][key] == key:
|
||||
dic_lang["ja-JP"][key] = dic_lang["en-US"][key]
|
||||
|
||||
global LANG
|
||||
LANG = WebuiConfig().Language
|
||||
dic_lang["ja-JP"][key] = dic_lang["en-US"][key]
|
||||
Reference in New Issue
Block a user