refactor: update docs url (#9038)

This commit is contained in:
2025-06-12 15:34:40 +08:00 committed by GitHub
parent 254a6e6dbf
commit c6d70f4dc8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 41 additions and 22 deletions

View file

@ -2800,7 +2800,7 @@ const message = {
list: 'Daemon process', list: 'Daemon process',
config: 'Supervisor configuration', config: 'Supervisor configuration',
primaryConfig: 'Main configuration file location', primaryConfig: 'Main configuration file location',
notSupportCrl: `The supervisorctl isn't detected. Refer to the official document to install.`, notSupportCtl: `The supervisorctl isn't detected, please go to the script library page to install it manually`,
user: 'User', user: 'User',
command: 'Command', command: 'Command',
dir: 'Directory', dir: 'Directory',
@ -2811,7 +2811,8 @@ const message = {
uptime: 'Running time', uptime: 'Running time',
notStartWarn: `Supervisor isn't started. Start it first.`, notStartWarn: `Supervisor isn't started. Start it first.`,
serviceName: 'Service name', serviceName: 'Service name',
initHelper: 'Supervisor service detected but not initialized, please refer to the configuration guide', initHelper:
'Supervisor service is detected but not initialized. Please click the initialization button in the top status bar to configure it.',
serviceNameHelper: 'Supervisor service name managed by systemctl, usually supervisor or supervisord', serviceNameHelper: 'Supervisor service name managed by systemctl, usually supervisor or supervisord',
restartHelper: restartHelper:
'This will restart the service after initialization, which causes all the existing daemon processes to stop.', 'This will restart the service after initialization, which causes all the existing daemon processes to stop.',

View file

@ -2678,7 +2678,7 @@ const message = {
list: 'デーモンプロセス|デーモンプロセス', list: 'デーモンプロセス|デーモンプロセス',
config: 'スーパーバイザー構成', config: 'スーパーバイザー構成',
primaryConfig: 'メイン構成ファイルの場所', primaryConfig: 'メイン構成ファイルの場所',
notSupportCrl: `Supervisorctlは検出されません。インストールする公式ドキュメントを参照してください。`, notSupportCtl: `supervisorctlは検出されません。スクリプトライブラリページに移動して手動でインストールしてください。`,
user: 'ユーザー', user: 'ユーザー',
command: '指示', command: '指示',
dir: 'ディレクトリ', dir: 'ディレクトリ',
@ -2689,7 +2689,8 @@ const message = {
uptime: '実行時間', uptime: '実行時間',
notStartWarn: `スーパーバイザーは開始されません。最初に開始します。`, notStartWarn: `スーパーバイザーは開始されません。最初に開始します。`,
serviceName: 'サービス名', serviceName: 'サービス名',
initHelper: 'Supervisor サービスは検出されましたが初期化されていません設定ガイドを参照してください', initHelper:
'Supervisor サービスが検出されましたが初期化されていません上部のステータスバーにある初期化ボタンをクリックして設定してください',
serviceNameHelper: 'Systemctlが管理するスーパーバイザーサービス名通常は監督者または監督者', serviceNameHelper: 'Systemctlが管理するスーパーバイザーサービス名通常は監督者または監督者',
restartHelper: 'これにより初期化後にサービスが再起動され既存のすべてのデーモンプロセスが停止します', restartHelper: 'これにより初期化後にサービスが再起動され既存のすべてのデーモンプロセスが停止します',
RUNNING: 'ランニング', RUNNING: 'ランニング',

View file

@ -2632,7 +2632,7 @@ const message = {
list: '데몬 프로세스 | 데몬 프로세스들', list: '데몬 프로세스 | 데몬 프로세스들',
config: 'Supervisor 설정', config: 'Supervisor 설정',
primaryConfig: ' 설정 파일 위치', primaryConfig: ' 설정 파일 위치',
notSupportCrl: `supervisorctl 이 감지되지 않았습니다. 설치하려면 공식 문서를 참조하세요.`, notSupportCtl: `supervisorctl 이 감지되지 않았습니다. 스크립트 라이브러리 페이지에서 수동으로 설치하세요.`,
user: '사용자', user: '사용자',
command: '명령어', command: '명령어',
dir: '디렉토리', dir: '디렉토리',
@ -2643,7 +2643,8 @@ const message = {
uptime: '운영 시간', uptime: '운영 시간',
notStartWarn: `Supervisor 가 시작되지 않았습니다. 먼저 시작하세요.`, notStartWarn: `Supervisor 가 시작되지 않았습니다. 먼저 시작하세요.`,
serviceName: '서비스 이름', serviceName: '서비스 이름',
initHelper: 'Supervisor 서비스가 감지되었지만 초기화되지 않았습니다. 구성 가이드를 참고하세요', initHelper:
'Supervisor 서비스가 감지되었지만 초기화되지 않았습니다. 상단 상태 표시줄의 초기화 버튼을 클릭하여 구성하세요.',
serviceNameHelper: 'systemctl 관리되는 Supervisor 서비스 이름, 보통 supervisor 또는 supervisord입니다.', serviceNameHelper: 'systemctl 관리되는 Supervisor 서비스 이름, 보통 supervisor 또는 supervisord입니다.',
restartHelper: restartHelper:
' 작업은 초기화 서비스를 재시작합니다. 이로 인해 기존의 모든 데몬 프로세스가 중지됩니다.', ' 작업은 초기화 서비스를 재시작합니다. 이로 인해 기존의 모든 데몬 프로세스가 중지됩니다.',

View file

@ -2737,7 +2737,7 @@ const message = {
list: 'Proses Daemon | Proses Daemon', list: 'Proses Daemon | Proses Daemon',
config: 'Konfigurasi Supervisor', config: 'Konfigurasi Supervisor',
primaryConfig: 'Lokasi fail konfigurasi utama', primaryConfig: 'Lokasi fail konfigurasi utama',
notSupportCrl: 'supervisorctl tidak dikesan. Rujuk dokumen rasmi untuk pemasangan.', notSupportCtl: 'supervisorctl tidak dikesan. Sila pergi ke halaman pustaka skrip untuk pemasangan manual.',
user: 'Pengguna', user: 'Pengguna',
command: 'Perintah', command: 'Perintah',
dir: 'Direktori', dir: 'Direktori',
@ -2748,7 +2748,8 @@ const message = {
uptime: 'Masa berjalan', uptime: 'Masa berjalan',
notStartWarn: 'Supervisor belum dimulakan. Mulakan dahulu.', notStartWarn: 'Supervisor belum dimulakan. Mulakan dahulu.',
serviceName: 'Nama perkhidmatan', serviceName: 'Nama perkhidmatan',
initHelper: 'Perkhidmatan Supervisor dikesan tetapi belum dimulakan. Sila rujuk panduan konfigurasi', initHelper:
'Perkhidmatan Supervisor dikesan tetapi belum dimulakan. Sila klik butang permulaan di bar status atas untuk konfigurasi.',
serviceNameHelper: serviceNameHelper:
'Nama perkhidmatan Supervisor yang diuruskan oleh systemctl, biasanya supervisor atau supervisord', 'Nama perkhidmatan Supervisor yang diuruskan oleh systemctl, biasanya supervisor atau supervisord',
restartHelper: restartHelper:

View file

@ -2737,7 +2737,7 @@ const message = {
list: 'Processo daemon | Processos daemon', list: 'Processo daemon | Processos daemon',
config: 'Configuração do Supervisor', config: 'Configuração do Supervisor',
primaryConfig: 'Localização do arquivo de configuração principal', primaryConfig: 'Localização do arquivo de configuração principal',
notSupportCrl: `O supervisorctl não foi detectado. Consulte o documento oficial para instalação.`, notSupportCtl: `O supervisorctl não foi detectado. Vá para a página da biblioteca de scripts para instalar manualmente.`,
user: 'Usuário', user: 'Usuário',
command: 'Comando', command: 'Comando',
dir: 'Diretório', dir: 'Diretório',
@ -2748,7 +2748,8 @@ const message = {
uptime: 'Tempo de execução', uptime: 'Tempo de execução',
notStartWarn: `O Supervisor não foi iniciado. Inicie-o primeiro.`, notStartWarn: `O Supervisor não foi iniciado. Inicie-o primeiro.`,
serviceName: 'Nome do serviço', serviceName: 'Nome do serviço',
initHelper: 'Serviço Supervisor detectado, mas não inicializado. Consulte o guia de configuração', initHelper:
'O serviço Supervisor foi detectado, mas não está inicializado. Clique no botão de inicialização na barra de status superior para configurá-lo.',
serviceNameHelper: serviceNameHelper:
'Nome do serviço do Supervisor gerenciado pelo systemctl, geralmente supervisor ou supervisord', 'Nome do serviço do Supervisor gerenciado pelo systemctl, geralmente supervisor ou supervisord',
restartHelper: restartHelper:

View file

@ -2731,7 +2731,8 @@ const message = {
list: 'Демон-процесс | Демон-процессы', list: 'Демон-процесс | Демон-процессы',
config: 'Конфигурация Supervisor', config: 'Конфигурация Supervisor',
primaryConfig: 'Расположение основного конфигурационного файла', primaryConfig: 'Расположение основного конфигурационного файла',
notSupportCrl: 'Supervisorctl не обнаружен. Обратитесь к официальной документации для установки.', notSupportCtl:
'supervisorctl не обнаружен. Перейдите на страницу библиотеки скриптов для ручной установки.',
user: 'Пользователь', user: 'Пользователь',
command: 'Команда', command: 'Команда',
dir: 'Директория', dir: 'Директория',
@ -2742,7 +2743,8 @@ const message = {
uptime: 'Время работы', uptime: 'Время работы',
notStartWarn: 'Supervisor не запущен. Сначала запустите его.', notStartWarn: 'Supervisor не запущен. Сначала запустите его.',
serviceName: 'Имя службы', serviceName: 'Имя службы',
initHelper: 'Служба Supervisor обнаружена, но не инициализирована. См. руководство по настройке', initHelper:
'Обнаружен сервис Supervisor, но он не инициализирован. Нажмите кнопку инициализации в верхней панели состояния для настройки.',
serviceNameHelper: 'Имя службы Supervisor, управляемой systemctl, обычно supervisor или supervisord', serviceNameHelper: 'Имя службы Supervisor, управляемой systemctl, обычно supervisor или supervisord',
restartHelper: restartHelper:
'Это перезапустит службу после инициализации, что приведет к остановке всех существующих демон-процессов.', 'Это перезапустит службу после инициализации, что приведет к остановке всех существующих демон-процессов.',

View file

@ -2610,7 +2610,7 @@ const message = {
list: '守護進程', list: '守護進程',
config: 'Supervisor 配置', config: 'Supervisor 配置',
primaryConfig: '主配置文件位置', primaryConfig: '主配置文件位置',
notSupportCrl: '未檢測到 supervisorctl請參考官方文檔進行安裝', notSupportCtl: '未檢測到 supervisorctl請前往腳本庫頁面手動安裝',
user: '啟動用戶', user: '啟動用戶',
command: '啟動命令', command: '啟動命令',
dir: '運行目錄', dir: '運行目錄',
@ -2621,7 +2621,7 @@ const message = {
uptime: '運行時長', uptime: '運行時長',
notStartWarn: 'Supervisor 未啟動請先啟動', notStartWarn: 'Supervisor 未啟動請先啟動',
serviceName: '服務名稱', serviceName: '服務名稱',
initHelper: '檢測到 Supervisor 服務未初始化具體配寘參攷', initHelper: '偵測到 Supervisor 服務尚未初始化請點擊上方狀態列的初始化按鈕進行設定',
serviceNameHelper: 'systemctl 管理的 Supervisor 服務名稱一般為 supervisor supervisord', serviceNameHelper: 'systemctl 管理的 Supervisor 服務名稱一般為 supervisor supervisord',
restartHelper: '初始化會重啟服務導致原有的守護進程全部關閉', restartHelper: '初始化會重啟服務導致原有的守護進程全部關閉',
RUNNING: '運行中', RUNNING: '運行中',

View file

@ -2599,7 +2599,7 @@ const message = {
list: '守护进程', list: '守护进程',
config: 'Supervisor 配置', config: 'Supervisor 配置',
primaryConfig: '主配置文件位置', primaryConfig: '主配置文件位置',
notSupportCrl: '未检测到 supervisorctl请参考官方文档进行安装', notSupportCtl: '未检测到 supervisorctl请前往脚本库页面手动安装',
user: '启动用户', user: '启动用户',
command: '启动命令', command: '启动命令',
dir: '运行目录', dir: '运行目录',
@ -2610,7 +2610,7 @@ const message = {
uptime: '运行时长', uptime: '运行时长',
notStartWarn: '当前未开启 Supervisor 请先启动', notStartWarn: '当前未开启 Supervisor 请先启动',
serviceName: '服务名称', serviceName: '服务名称',
initHelper: '检测到 Supervisor 服务未初始化具体配置参考', initHelper: '检测到 Supervisor 服务未初始化请点击顶部状态栏的初始化按钮进行配置',
serviceNameHelper: 'systemctl 管理的 Supervisor 服务名称一般为 supervisorsupervisord', serviceNameHelper: 'systemctl 管理的 Supervisor 服务名称一般为 supervisorsupervisord',
restartHelper: '初始化会重启服务导致原有的守护进程全部关闭', restartHelper: '初始化会重启服务导致原有的守护进程全部关闭',
RUNNING: '运行中', RUNNING: '运行中',

View file

@ -4,6 +4,16 @@
<span>{{ $t('tool.supervisor.notStartWarn') }}</span> <span>{{ $t('tool.supervisor.notStartWarn') }}</span>
</el-card> </el-card>
<LayoutContent :title="$t('tool.supervisor.list', 2)" v-loading="loading"> <LayoutContent :title="$t('tool.supervisor.list', 2)" v-loading="loading">
<template #prompt>
<el-alert type="info" :closable="false">
<template #title>
{{ $t('toolbox.common.toolboxHelper') }}
<el-link class="ml-1 text-xs" @click="toDoc()" type="primary">
{{ $t('commons.button.helpDoc') }}
</el-link>
</template>
</el-alert>
</template>
<template #app> <template #app>
<SuperVisorStatus <SuperVisorStatus
@setting="setting" @setting="setting"
@ -340,6 +350,10 @@ const buttons = [
}, },
]; ];
const toDoc = () => {
window.open(globalStore.docsUrl + '/user_manual/toolbox/supervisor/', '_blank', 'noopener,noreferrer');
};
onMounted(() => { onMounted(() => {
search(); search();
}); });

View file

@ -46,17 +46,15 @@
</template> </template>
<template v-else-if="!data.ctlExist"> <template v-else-if="!data.ctlExist">
<span>{{ $t('tool.supervisor.notSupportCrl') }}</span> <span>{{ $t('tool.supervisor.notSupportCtl') }}</span>
<el-link class="ml-1 text-xs" @click="toDoc()" type="primary">
{{ $t('commons.button.helpDoc') }}
</el-link>
</template> </template>
<template v-else-if="data.init"> <template v-else-if="data.init">
<span>{{ $t('tool.supervisor.initHelper') }}</span> <span>{{ $t('tool.supervisor.initHelper') }}</span>
<el-link class="ml-1 text-xs" @click="toDoc()" type="primary"> <span class="flex items-center justify-center gap-0.5" @click="toDoc()">
<el-icon><Position /></el-icon>
{{ $t('commons.button.helpDoc') }} {{ $t('commons.button.helpDoc') }}
</el-link> </span>
</template> </template>
<span <span
@click="toLibrary()" @click="toLibrary()"