diff --git a/liteyuki/liteyuki_main/core.py b/liteyuki/liteyuki_main/core.py index 46fffd40..62a4f470 100644 --- a/liteyuki/liteyuki_main/core.py +++ b/liteyuki/liteyuki_main/core.py @@ -55,7 +55,7 @@ async def _(bot: T_Bot, event: T_MessageEvent): logs = repo.index.diff() reply = "Liteyuki updated!\n" reply += f"```\n{logs}\n```\n" - btn_restart = md.button(ulang.get("liteyuki.restart"), "restart-liteyuki") + btn_restart = md.button(ulang.get("liteyuki.restart_now"), "restart-liteyuki") reply += f"{ulang.get('liteyuki.update_restart', RESTART=btn_restart)}" await send_markdown(reply, bot, event=event, at_sender=False) diff --git a/liteyuki/resources/lang/en.lang b/liteyuki/resources/lang/en.lang index 0555608a..ae1ab62c 100644 --- a/liteyuki/resources/lang/en.lang +++ b/liteyuki/resources/lang/en.lang @@ -7,6 +7,7 @@ log.error=Error log.success=Success liteyuki.restart=Restart +liteyuki.restart_now=Restart now liteyuki.update_restart=Update completely, You can {RESTART} the server now or later main.current_language=Current config language: {LANG} diff --git a/liteyuki/resources/lang/zh-CN.lang b/liteyuki/resources/lang/zh-CN.lang index ce5cd8b4..925bdf33 100644 --- a/liteyuki/resources/lang/zh-CN.lang +++ b/liteyuki/resources/lang/zh-CN.lang @@ -7,6 +7,7 @@ log.error=错误 log.success=成功 liteyuki.restart=重启 +liteyuki.restart_now=立即重启 liteyuki.update_restart=更新完成,你可以立即{RESTART}或稍后手动重启以应用这些更新 main.current_language=当前配置语言为: {LANG}