From c6d70f4dc80a46b05e81366eac39d18c7d5c4b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=98=AD?= <81747598+lan-yonghui@users.noreply.github.com> Date: Thu, 12 Jun 2025 15:34:40 +0800 Subject: [PATCH] refactor: update docs url (#9038) --- frontend/src/lang/modules/en.ts | 5 +++-- frontend/src/lang/modules/ja.ts | 5 +++-- frontend/src/lang/modules/ko.ts | 5 +++-- frontend/src/lang/modules/ms.ts | 5 +++-- frontend/src/lang/modules/pt-br.ts | 5 +++-- frontend/src/lang/modules/ru.ts | 6 ++++-- frontend/src/lang/modules/zh-Hant.ts | 4 ++-- frontend/src/lang/modules/zh.ts | 4 ++-- frontend/src/views/toolbox/supervisor/index.vue | 14 ++++++++++++++ .../src/views/toolbox/supervisor/status/index.vue | 10 ++++------ 10 files changed, 41 insertions(+), 22 deletions(-) diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index b25e03825..d8ea23af7 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -2800,7 +2800,7 @@ const message = { list: 'Daemon process', config: 'Supervisor configuration', 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', command: 'Command', dir: 'Directory', @@ -2811,7 +2811,8 @@ const message = { uptime: 'Running time', notStartWarn: `Supervisor isn't started. Start it first.`, 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', restartHelper: 'This will restart the service after initialization, which causes all the existing daemon processes to stop.', diff --git a/frontend/src/lang/modules/ja.ts b/frontend/src/lang/modules/ja.ts index cc33e8c2c..83304ed34 100644 --- a/frontend/src/lang/modules/ja.ts +++ b/frontend/src/lang/modules/ja.ts @@ -2678,7 +2678,7 @@ const message = { list: 'デーモンプロセス|デーモンプロセス', config: 'スーパーバイザー構成', primaryConfig: 'メイン構成ファイルの場所', - notSupportCrl: `Supervisorctlは検出されません。インストールする公式ドキュメントを参照してください。`, + notSupportCtl: `supervisorctlは検出されません。スクリプトライブラリページに移動して手動でインストールしてください。`, user: 'ユーザー', command: '指示', dir: 'ディレクトリ', @@ -2689,7 +2689,8 @@ const message = { uptime: '実行時間', notStartWarn: `スーパーバイザーは開始されません。最初に開始します。`, serviceName: 'サービス名', - initHelper: 'Supervisor サービスは検出されましたが、初期化されていません。設定ガイドを参照してください', + initHelper: + 'Supervisor サービスが検出されましたが、初期化されていません。上部のステータスバーにある初期化ボタンをクリックして設定してください。', serviceNameHelper: 'Systemctlが管理するスーパーバイザーサービス名、通常は監督者または監督者', restartHelper: 'これにより、初期化後にサービスが再起動され、既存のすべてのデーモンプロセスが停止します。', RUNNING: 'ランニング', diff --git a/frontend/src/lang/modules/ko.ts b/frontend/src/lang/modules/ko.ts index 52cb71b36..0f163b8cc 100644 --- a/frontend/src/lang/modules/ko.ts +++ b/frontend/src/lang/modules/ko.ts @@ -2632,7 +2632,7 @@ const message = { list: '데몬 프로세스 | 데몬 프로세스들', config: 'Supervisor 설정', primaryConfig: '주 설정 파일 위치', - notSupportCrl: `supervisorctl 이 감지되지 않았습니다. 설치하려면 공식 문서를 참조하세요.`, + notSupportCtl: `supervisorctl 이 감지되지 않았습니다. 스크립트 라이브러리 페이지에서 수동으로 설치하세요.`, user: '사용자', command: '명령어', dir: '디렉토리', @@ -2643,7 +2643,8 @@ const message = { uptime: '운영 시간', notStartWarn: `Supervisor 가 시작되지 않았습니다. 먼저 시작하세요.`, serviceName: '서비스 이름', - initHelper: 'Supervisor 서비스가 감지되었지만 초기화되지 않았습니다. 구성 가이드를 참고하세요', + initHelper: + 'Supervisor 서비스가 감지되었지만 초기화되지 않았습니다. 상단 상태 표시줄의 초기화 버튼을 클릭하여 구성하세요.', serviceNameHelper: 'systemctl 로 관리되는 Supervisor 서비스 이름, 보통 supervisor 또는 supervisord입니다.', restartHelper: '이 작업은 초기화 후 서비스를 재시작합니다. 이로 인해 기존의 모든 데몬 프로세스가 중지됩니다.', diff --git a/frontend/src/lang/modules/ms.ts b/frontend/src/lang/modules/ms.ts index 9b964c4d8..44ec51c7a 100644 --- a/frontend/src/lang/modules/ms.ts +++ b/frontend/src/lang/modules/ms.ts @@ -2737,7 +2737,7 @@ const message = { list: 'Proses Daemon | Proses Daemon', config: 'Konfigurasi Supervisor', 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', command: 'Perintah', dir: 'Direktori', @@ -2748,7 +2748,8 @@ const message = { uptime: 'Masa berjalan', notStartWarn: 'Supervisor belum dimulakan. Mulakan dahulu.', 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: 'Nama perkhidmatan Supervisor yang diuruskan oleh systemctl, biasanya supervisor atau supervisord', restartHelper: diff --git a/frontend/src/lang/modules/pt-br.ts b/frontend/src/lang/modules/pt-br.ts index 8e67228a6..49f7d6a0e 100644 --- a/frontend/src/lang/modules/pt-br.ts +++ b/frontend/src/lang/modules/pt-br.ts @@ -2737,7 +2737,7 @@ const message = { list: 'Processo daemon | Processos daemon', config: 'Configuração do Supervisor', 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', command: 'Comando', dir: 'Diretório', @@ -2748,7 +2748,8 @@ const message = { uptime: 'Tempo de execução', notStartWarn: `O Supervisor não foi iniciado. Inicie-o primeiro.`, 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: 'Nome do serviço do Supervisor gerenciado pelo systemctl, geralmente supervisor ou supervisord', restartHelper: diff --git a/frontend/src/lang/modules/ru.ts b/frontend/src/lang/modules/ru.ts index 034062c7d..c4da29c43 100644 --- a/frontend/src/lang/modules/ru.ts +++ b/frontend/src/lang/modules/ru.ts @@ -2731,7 +2731,8 @@ const message = { list: 'Демон-процесс | Демон-процессы', config: 'Конфигурация Supervisor', primaryConfig: 'Расположение основного конфигурационного файла', - notSupportCrl: 'Supervisorctl не обнаружен. Обратитесь к официальной документации для установки.', + notSupportCtl: + 'supervisorctl не обнаружен. Перейдите на страницу библиотеки скриптов для ручной установки.', user: 'Пользователь', command: 'Команда', dir: 'Директория', @@ -2742,7 +2743,8 @@ const message = { uptime: 'Время работы', notStartWarn: 'Supervisor не запущен. Сначала запустите его.', serviceName: 'Имя службы', - initHelper: 'Служба Supervisor обнаружена, но не инициализирована. См. руководство по настройке', + initHelper: + 'Обнаружен сервис Supervisor, но он не инициализирован. Нажмите кнопку инициализации в верхней панели состояния для настройки.', serviceNameHelper: 'Имя службы Supervisor, управляемой systemctl, обычно supervisor или supervisord', restartHelper: 'Это перезапустит службу после инициализации, что приведет к остановке всех существующих демон-процессов.', diff --git a/frontend/src/lang/modules/zh-Hant.ts b/frontend/src/lang/modules/zh-Hant.ts index 3505370eb..16bbcb827 100644 --- a/frontend/src/lang/modules/zh-Hant.ts +++ b/frontend/src/lang/modules/zh-Hant.ts @@ -2610,7 +2610,7 @@ const message = { list: '守護進程', config: 'Supervisor 配置', primaryConfig: '主配置文件位置', - notSupportCrl: '未檢測到 supervisorctl,請參考官方文檔進行安裝', + notSupportCtl: '未檢測到 supervisorctl,請前往腳本庫頁面手動安裝', user: '啟動用戶', command: '啟動命令', dir: '運行目錄', @@ -2621,7 +2621,7 @@ const message = { uptime: '運行時長', notStartWarn: 'Supervisor 未啟動,請先啟動', serviceName: '服務名稱', - initHelper: '檢測到 Supervisor 服務未初始化,具體配寘參攷', + initHelper: '偵測到 Supervisor 服務尚未初始化,請點擊上方狀態列的初始化按鈕進行設定。', serviceNameHelper: 'systemctl 管理的 Supervisor 服務名稱,一般為 supervisor 或 supervisord', restartHelper: '初始化會重啟服務,導致原有的守護進程全部關閉', RUNNING: '運行中', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 7d0a1e774..b2f55cf36 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -2599,7 +2599,7 @@ const message = { list: '守护进程', config: 'Supervisor 配置', primaryConfig: '主配置文件位置', - notSupportCrl: '未检测到 supervisorctl,请参考官方文档进行安装', + notSupportCtl: '未检测到 supervisorctl,请前往脚本库页面手动安装', user: '启动用户', command: '启动命令', dir: '运行目录', @@ -2610,7 +2610,7 @@ const message = { uptime: '运行时长', notStartWarn: '当前未开启 Supervisor ,请先启动', serviceName: '服务名称', - initHelper: '检测到 Supervisor 服务未初始化,具体配置参考', + initHelper: '检测到 Supervisor 服务未初始化,请点击顶部状态栏的初始化按钮进行配置', serviceNameHelper: 'systemctl 管理的 Supervisor 服务名称,一般为 supervisor、supervisord', restartHelper: '初始化会重启服务,导致原有的守护进程全部关闭', RUNNING: '运行中', diff --git a/frontend/src/views/toolbox/supervisor/index.vue b/frontend/src/views/toolbox/supervisor/index.vue index da67894c0..c89dde919 100644 --- a/frontend/src/views/toolbox/supervisor/index.vue +++ b/frontend/src/views/toolbox/supervisor/index.vue @@ -4,6 +4,16 @@ {{ $t('tool.supervisor.notStartWarn') }} +