style: 修改 Supervisor 初始化的提示文字 (#1890)

This commit is contained in:
zhengkunwang 2023-08-09 15:42:12 +08:00 committed by GitHub
parent ca586bb766
commit 65b8d47310
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View file

@ -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',

View file

@ -1593,7 +1593,7 @@ const message = {
notStartWarn: 'Supervisor 未啟動請先啟動',
serviceName: '服務名稱',
initHelper: '尚未初始化 Supervisor 請先初始化',
serviceNameHelper: '當前僅支持 systemctl 管理的 Supervisor 服務',
serviceNameHelper: 'systemctl 管理的 Supervisor 服務名稱一般為 supervisor supervisord',
restartHelper: '初始化會重啟服務導致原有的守護進程全部關閉',
msg: '信息',
},

View file

@ -1595,7 +1595,7 @@ const message = {
notStartWarn: '当前未开启 Supervisor 请先启动',
serviceName: '服务名称',
initHelper: '尚未初始化 Supervisor 请先初始化',
serviceNameHelper: '当前仅支持 systemctl 管理的 Supervisor 服务',
serviceNameHelper: 'systemctl 管理的 Supervisor 服务名称一般为 supervisorsupervisord',
restartHelper: '初始化会重启服务导致原有的守护进程全部关闭',
msg: '信息',
},

View file

@ -7,6 +7,7 @@
</el-form-item>
<el-form-item :label="$t('tool.supervisor.serviceName')" prop="serviceName">
<el-input v-model.trim="data.serviceName"></el-input>
<span class="input-help">{{ $t('tool.supervisor.serviceNameHelper') }}</span>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="submit(initForm)" :disabled="loading">