From 712f3792266051f99acc396f3c80c779e28fbe45 Mon Sep 17 00:00:00 2001 From: paisley <8197966+su8su@users.noreply.github.com> Date: Fri, 13 Feb 2026 11:19:56 +0800 Subject: [PATCH] fix(setup): translate docsUrl before opening in browser (#70) --- src/i18n/locales/en/cron.json | 1 + src/i18n/locales/ja/cron.json | 1 + src/i18n/locales/zh/cron.json | 1 + src/pages/Setup/index.tsx | 9 +++++++-- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/i18n/locales/en/cron.json b/src/i18n/locales/en/cron.json index 82edb08f7..210135a01 100644 --- a/src/i18n/locales/en/cron.json +++ b/src/i18n/locales/en/cron.json @@ -2,6 +2,7 @@ "title": "Scheduled Tasks", "subtitle": "Automate AI workflows with scheduled tasks", "newTask": "New Task", + "refresh": "Refresh", "gatewayWarning": "Gateway is not running. Scheduled tasks cannot be managed without an active Gateway.", "stats": { "total": "Total Tasks", diff --git a/src/i18n/locales/ja/cron.json b/src/i18n/locales/ja/cron.json index 82bf5fa2b..bc5cd8cb3 100644 --- a/src/i18n/locales/ja/cron.json +++ b/src/i18n/locales/ja/cron.json @@ -2,6 +2,7 @@ "title": "定期タスク", "subtitle": "定期タスクでAIワークフローを自動化", "newTask": "新規タスク", + "refresh": "更新", "gatewayWarning": "ゲートウェイが稼働していません。アクティブなゲートウェイがないと定期タスクを管理できません。", "stats": { "total": "タスク合計", diff --git a/src/i18n/locales/zh/cron.json b/src/i18n/locales/zh/cron.json index 278f0d798..efbd5b777 100644 --- a/src/i18n/locales/zh/cron.json +++ b/src/i18n/locales/zh/cron.json @@ -2,6 +2,7 @@ "title": "定时任务", "subtitle": "通过定时任务自动化 AI 工作流", "newTask": "新建任务", + "refresh": "刷新", "gatewayWarning": "网关未运行。没有活跃的网关,无法管理定时任务。", "stats": { "total": "任务总数", diff --git a/src/pages/Setup/index.tsx b/src/pages/Setup/index.tsx index a06447d6c..e0f575a71 100644 --- a/src/pages/Setup/index.tsx +++ b/src/pages/Setup/index.tsx @@ -1158,9 +1158,14 @@ function SetupChannelContent() {