args
This commit is contained in:
parent
5f3642fd5c
commit
b2ac6fdda5
@ -154,11 +154,15 @@ class Tr:
|
|||||||
GOOD
|
GOOD
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, language: str = None, config: Optional[TranslateConfig] = None, lang_path: Optional[Path] = None):
|
def __init__(self,
|
||||||
|
language: str = None,
|
||||||
|
config: Optional[TranslateConfig] = None,
|
||||||
|
lang_path: Optional[Path] = None):
|
||||||
"""
|
"""
|
||||||
诶嘿,我抄的MCDR
|
诶嘿,我抄的MCDR
|
||||||
:param language: Tr 所使用的的语言
|
:param language: Tr 所使用的的语言
|
||||||
:param config: 配置
|
:param config: 配置
|
||||||
|
:param lang_path: 语言文件夹路径
|
||||||
"""
|
"""
|
||||||
self.language_name = language if language is not None else DR_runtime.language
|
self.language_name = language if language is not None else DR_runtime.language
|
||||||
self.language_path = lang_path if lang_path is not None else Path('configs/lang')
|
self.language_path = lang_path if lang_path is not None else Path('configs/lang')
|
||||||
|
Loading…
Reference in New Issue
Block a user