From 65b8d473109d0d9b0d1300a0400a1c34902bcadd Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Wed, 9 Aug 2023 15:42:12 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BF=AE=E6=94=B9=20Supervisor=20?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E7=9A=84=E6=8F=90=E7=A4=BA=E6=96=87?= =?UTF-8?q?=E5=AD=97=20(#1890)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lang/modules/en.ts | 2 +- frontend/src/lang/modules/tw.ts | 2 +- frontend/src/lang/modules/zh.ts | 2 +- frontend/src/views/host/tool/supervisor/config/basic/index.vue | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 710f59fad..d4bce5ab6 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -1680,7 +1680,7 @@ const message = { serviceName: 'Service name', initHelper: 'The initialization process will modify the configuration file, causing all existing processes to stop, please confirm the risk in advance', - serviceNameHelper: 'Currently only supports the Supervisor service managed by systemctl', + serviceNameHelper: 'Supervisor service name managed by systemctl, usually supervisor or supervisord', restartHelper: 'Initialization will restart the service, causing all the original daemon processes to close', msg: 'Message', diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts index f54493ef1..864bebeca 100644 --- a/frontend/src/lang/modules/tw.ts +++ b/frontend/src/lang/modules/tw.ts @@ -1593,7 +1593,7 @@ const message = { notStartWarn: 'Supervisor 未啟動,請先啟動', serviceName: '服務名稱', initHelper: '尚未初始化 Supervisor ,請先初始化', - serviceNameHelper: '當前僅支持 systemctl 管理的 Supervisor 服務', + serviceNameHelper: 'systemctl 管理的 Supervisor 服務名稱,一般為 supervisor 或 supervisord', restartHelper: '初始化會重啟服務,導致原有的守護進程全部關閉', msg: '信息', }, diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index ca19140e4..b53a4258b 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -1595,7 +1595,7 @@ const message = { notStartWarn: '当前未开启 Supervisor ,请先启动', serviceName: '服务名称', initHelper: '尚未初始化 Supervisor ,请先初始化', - serviceNameHelper: '当前仅支持 systemctl 管理的 Supervisor 服务', + serviceNameHelper: 'systemctl 管理的 Supervisor 服务名称,一般为 supervisor、supervisord', restartHelper: '初始化会重启服务,导致原有的守护进程全部关闭', msg: '信息', }, diff --git a/frontend/src/views/host/tool/supervisor/config/basic/index.vue b/frontend/src/views/host/tool/supervisor/config/basic/index.vue index 53e01cdf5..f0cbd3651 100644 --- a/frontend/src/views/host/tool/supervisor/config/basic/index.vue +++ b/frontend/src/views/host/tool/supervisor/config/basic/index.vue @@ -7,6 +7,7 @@ + {{ $t('tool.supervisor.serviceNameHelper') }}