1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-22 02:29:16 +08:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
Ala
2021-12-18 13:58:27 +08:00
5 changed files with 35 additions and 20 deletions

View File

@@ -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):
"""

View File

@@ -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]