mirror of
https://github.com/TriM-Organization/Linglun-Converter.git
synced 2024-11-25 00:25:26 +08:00
可以用了现在
This commit is contained in:
parent
d95b8ad648
commit
1e8ae27fa3
2
.gitignore
vendored
2
.gitignore
vendored
@ -10,6 +10,8 @@ __pycache__/
|
|||||||
*.mcpack
|
*.mcpack
|
||||||
*.bdx
|
*.bdx
|
||||||
*.json
|
*.json
|
||||||
|
/Musicreater
|
||||||
|
/logs
|
||||||
|
|
||||||
# C extensions
|
# C extensions
|
||||||
*.so
|
*.so
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
Copyright © 2023 all the developers of LinglunStudio
|
Copyright © 2023 all the developers of LinglunStudio
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ..utils.io import *
|
from utils.io import *
|
||||||
|
|
||||||
|
|
||||||
DEFAULTLANGUAGE = 'ZH-CN'
|
DEFAULTLANGUAGE = 'ZH-CN'
|
||||||
@ -92,7 +92,7 @@ languages = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def passbt():
|
||||||
|
|
||||||
def __loadLanguage(languageFilename: str):
|
def __loadLanguage(languageFilename: str):
|
||||||
with open(languageFilename, 'r', encoding='utf-8') as languageFile:
|
with open(languageFilename, 'r', encoding='utf-8') as languageFile:
|
||||||
|
@ -43,7 +43,7 @@ osc.version = __version__
|
|||||||
|
|
||||||
|
|
||||||
def go_for_args(
|
def go_for_args(
|
||||||
languageChange: str = "ZH-CN", debugMode: str = False, logfile: str = True
|
languageChange: str = "ZH-CN", debugMode: str = 'False', logfile: str = 'True'
|
||||||
):
|
):
|
||||||
global currentLang
|
global currentLang
|
||||||
global logger
|
global logger
|
||||||
|
Loading…
Reference in New Issue
Block a user