From 663ccbca6febd91449043d67a405fc3806082991 Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 15 Aug 2023 13:49:56 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E6=94=B9=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/locale/zh/LC_MESSAGES/django.po | 4 ++-- apps/terminal/models/applet/host.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/locale/zh/LC_MESSAGES/django.po b/apps/locale/zh/LC_MESSAGES/django.po index d6630142c..39125c86a 100644 --- a/apps/locale/zh/LC_MESSAGES/django.po +++ b/apps/locale/zh/LC_MESSAGES/django.po @@ -5262,13 +5262,13 @@ msgstr "开启验证码,防止机器人登录" #: settings/serializers/security.py:163 msgid "Enable terminal register" -msgstr "终端注册" +msgstr "组件注册" #: settings/serializers/security.py:165 msgid "" "Allow terminal register, after all terminal setup, you should disable this " "for security" -msgstr "是否允许终端注册,当所有终端启动后,为了安全应该关闭" +msgstr "是否允许组件注册,当所有终端启动后,为了安全应该关闭" #: settings/serializers/security.py:169 msgid "Enable watermark" diff --git a/apps/terminal/models/applet/host.py b/apps/terminal/models/applet/host.py index 23af7f5ac..d7f5a9a6a 100644 --- a/apps/terminal/models/applet/host.py +++ b/apps/terminal/models/applet/host.py @@ -147,7 +147,7 @@ class AppletHostDeployment(JMSBaseModel): def start(self, **kwargs): # 重新初始化部署,applet host 关联的终端需要删除 - # 否则 tinker 会因终端注册名称相同,造成冲突,执行任务失败 + # 否则 tinker 会因组件注册名称相同,造成冲突,执行任务失败 if self.host.terminal: terminal = self.host.terminal self.host.terminal = None