mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
Fix typo: change "未就续" to "未就绪" in module status messages (#4804)
Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: jxxghp <jxxghp@live.cn>
This commit is contained in:
co-authored by
Cursor Agent
jxxghp
parent
1f40663b90
commit
b9521cb3a9
@@ -76,7 +76,7 @@ class SlackModule(_ModuleBase, _MessageBase[Slack]):
|
|||||||
for name, client in self.get_instances().items():
|
for name, client in self.get_instances().items():
|
||||||
state = client.get_state()
|
state = client.get_state()
|
||||||
if not state:
|
if not state:
|
||||||
return False, f"Slack {name} 未就续"
|
return False, f"Slack {name} 未就绪"
|
||||||
return True, ""
|
return True, ""
|
||||||
|
|
||||||
def init_setting(self) -> Tuple[str, Union[str, bool]]:
|
def init_setting(self) -> Tuple[str, Union[str, bool]]:
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ class SynologyChatModule(_ModuleBase, _MessageBase[SynologyChat]):
|
|||||||
for name, client in self.get_instances().items():
|
for name, client in self.get_instances().items():
|
||||||
state = client.get_state()
|
state = client.get_state()
|
||||||
if not state:
|
if not state:
|
||||||
return False, f"Synology Chat {name} 未就续"
|
return False, f"Synology Chat {name} 未就绪"
|
||||||
return True, ""
|
return True, ""
|
||||||
|
|
||||||
def init_setting(self) -> Tuple[str, Union[str, bool]]:
|
def init_setting(self) -> Tuple[str, Union[str, bool]]:
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ class TelegramModule(_ModuleBase, _MessageBase[Telegram]):
|
|||||||
for name, client in self.get_instances().items():
|
for name, client in self.get_instances().items():
|
||||||
state = client.get_state()
|
state = client.get_state()
|
||||||
if not state:
|
if not state:
|
||||||
return False, f"Telegram {name} 未就续"
|
return False, f"Telegram {name} 未就绪"
|
||||||
return True, ""
|
return True, ""
|
||||||
|
|
||||||
def init_setting(self) -> Tuple[str, Union[str, bool]]:
|
def init_setting(self) -> Tuple[str, Union[str, bool]]:
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ class VoceChatModule(_ModuleBase, _MessageBase[VoceChat]):
|
|||||||
for name, client in self.get_instances().items():
|
for name, client in self.get_instances().items():
|
||||||
state = client.get_state()
|
state = client.get_state()
|
||||||
if not state:
|
if not state:
|
||||||
return False, f"VoceChat {name} 未就续"
|
return False, f"VoceChat {name} 未就绪"
|
||||||
return True, ""
|
return True, ""
|
||||||
|
|
||||||
def init_setting(self) -> Tuple[str, Union[str, bool]]:
|
def init_setting(self) -> Tuple[str, Union[str, bool]]:
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ class WechatModule(_ModuleBase, _MessageBase[WeChat]):
|
|||||||
for name, client in self.get_instances().items():
|
for name, client in self.get_instances().items():
|
||||||
state = client.get_state()
|
state = client.get_state()
|
||||||
if not state:
|
if not state:
|
||||||
return False, f"企业微信 {name} 未就续"
|
return False, f"企业微信 {name} 未就绪"
|
||||||
return True, ""
|
return True, ""
|
||||||
|
|
||||||
def init_setting(self) -> Tuple[str, Union[str, bool]]:
|
def init_setting(self) -> Tuple[str, Union[str, bool]]:
|
||||||
|
|||||||
Reference in New Issue
Block a user