From b2ac6fdda5e6091fe64365947faf880100b1767a Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Thu, 22 Jun 2023 13:50:17 +0800 Subject: [PATCH] args --- Difficult_Rocket/utils/translate.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Difficult_Rocket/utils/translate.py b/Difficult_Rocket/utils/translate.py index 7b7dd31..2f62848 100644 --- a/Difficult_Rocket/utils/translate.py +++ b/Difficult_Rocket/utils/translate.py @@ -154,11 +154,15 @@ class Tr: 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 :param language: Tr 所使用的的语言 :param config: 配置 + :param lang_path: 语言文件夹路径 """ 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')