Browse Source

perf: 修改翻译

pull/11275/head
ibuler 1 year ago
parent
commit
663ccbca6f
  1. 4
      apps/locale/zh/LC_MESSAGES/django.po
  2. 2
      apps/terminal/models/applet/host.py

4
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"

2
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

Loading…
Cancel
Save