From d298d2476f27f43d508a8a9903d74e7247e1420d Mon Sep 17 00:00:00 2001 From: jindou Date: Sun, 23 Aug 2026 14:12:55 +0800 Subject: [PATCH 1/2] fix(docs): repair root-relative README and tool guide links - README.md language switcher used href="/README_CN.md" and href="/README.md"; on GitHub absolute paths resolve against the domain, not the repo, so both 404. Drop the leading slash so they resolve to the sibling files in the repository root. - ui/public/tool/*/detail.md referenced screenshots via /admin/tool/img/*.jpg. The images actually live in ui/public/tool/img/ and the /admin/ prefix is host-absolute: it only happens to work in a default MaxKB deployment (ADMIN_PATH=/admin) and breaks on GitHub or any custom ADMIN_PATH. Replace with relative ../img/ paths that point at the real files in the repo. --- README.md | 2 +- ui/public/tool/bochaai/detail.md | 6 +++--- ui/public/tool/google_search/detail.md | 10 +++++----- ui/public/tool/langsearch/detail.md | 6 +++--- ui/public/tool/mysql/detail.md | 4 ++-- ui/public/tool/postgresql/detail.md | 4 ++-- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index d5177bf8e37..259fa5f868c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Latest release Stars Download
- [中文(简体)] | [English] + [中文(简体)] | [English]


diff --git a/ui/public/tool/bochaai/detail.md b/ui/public/tool/bochaai/detail.md index c744a4ec008..528ede62bed 100644 --- a/ui/public/tool/bochaai/detail.md +++ b/ui/public/tool/bochaai/detail.md @@ -7,10 +7,10 @@ 1. 获取API Key  在[博查开放平台](https://open.bochaai.com/overview) 上申请 API 密钥。 -![API Key](/admin/tool/img/bocha_APIKey.jpg) +![API Key](../img/bocha_APIKey.jpg) 2. 在函数库中配置 在函数库的博查函数面板中,点击 … > 启动参数,填写 API 密钥,并启用该函数。 -![启动参数](/admin/tool/img/bocha_setting.jpg) +![启动参数](../img/bocha_setting.jpg) 3. 在应用中使用 在高级编排应用中,点击添加组件->函数库->博查,设置使用参数。 -![应用中使用](/admin/tool/img/bocha_app_used.jpg) +![应用中使用](../img/bocha_app_used.jpg) diff --git a/ui/public/tool/google_search/detail.md b/ui/public/tool/google_search/detail.md index 6d232ebdd6d..31dd8d82965 100644 --- a/ui/public/tool/google_search/detail.md +++ b/ui/public/tool/google_search/detail.md @@ -6,16 +6,16 @@ Google 搜索工具是一个实时 API,可提取搜索引擎结果,提供来 1. 创建 Google Custom Search Engine 在[Programmable Search Engine](https://programmablesearchengine.google.com/)中 添加 Search Engine -![google 创建引擎](/admin/tool/img/google_AddSearchEngine.jpg) +![google 创建引擎](../img/google_AddSearchEngine.jpg) 2. 获取cx参数 进入添加的引擎详情中,在【基本】菜单中获取搜索引擎的ID,即cx。 -![google cx ](/admin/tool/img/google_cx.jpg) +![google cx ](../img/google_cx.jpg) 3. 获取 API Key 打开 https://developers.google.com/custom-search/v1/overview?hl=zh-cn 获取API Key。 -![google API Key](/admin/tool/img/google_APIKey.jpg) +![google API Key](../img/google_APIKey.jpg) 4. 配置启动参数 在Google 搜索函数的启动参数中填写配置以上参数,并启用该函数。 -![启动参数](/admin/tool/img/google_setting.jpg) +![启动参数](../img/google_setting.jpg) 5. 在应用中使用 在高级编排应用中,点击添加组件->函数库->Google搜索,设置使用参数。 -![应用中使用](/admin/tool/img/google_app_used.jpg) +![应用中使用](../img/google_app_used.jpg) diff --git a/ui/public/tool/langsearch/detail.md b/ui/public/tool/langsearch/detail.md index 6f78ea2b7db..c2f4a686d45 100644 --- a/ui/public/tool/langsearch/detail.md +++ b/ui/public/tool/langsearch/detail.md @@ -7,11 +7,11 @@ LangSearch 是一个提供免费Web Search API和Rerank API的服务,支持新 1. 获取API Key  在[LangSearch](https://langsearch.com/overview) 上申请 API 密钥。 -![API Key](/admin/tool/img/langsearch_APIKey.jpg) +![API Key](../img/langsearch_APIKey.jpg) 2. 在函数库中配置 在函数库的LangSearch函数面板中,点击 … > 启动参数,填写 API 密钥,并启用该函数。 -![启动参数](/admin/tool/img/langsearch_setting.jpg) +![启动参数](../img/langsearch_setting.jpg) 3. 在应用中使用 在高级编排应用中,点击添加组件->函数库->LangSearch,设置使用参数。 -![应用中使用](/admin/tool/img/langsearch_app_used.jpg) +![应用中使用](../img/langsearch_app_used.jpg) \ No newline at end of file diff --git a/ui/public/tool/mysql/detail.md b/ui/public/tool/mysql/detail.md index c5e179db51c..ab41c34b285 100644 --- a/ui/public/tool/mysql/detail.md +++ b/ui/public/tool/mysql/detail.md @@ -7,8 +7,8 @@ MySQL查询是一个连接MySQL数据库执行SQL查询的工具。   1. 在函数库中配置启动参数 在函数库的MySQL函数面板中,点击 … > 启动参数,填写数据库连接参数,并启用该函数。 -![启动参数](/admin/tool/img/MySQL_setting.jpg) +![启动参数](../img/MySQL_setting.jpg) 2. 在应用中使用 在高级编排应用中,点击添加组件->函数库->MySQL查询,设置查询内容。 -![应用中使用](/admin/tool/img/MySQL_app_used.jpg) +![应用中使用](../img/MySQL_app_used.jpg) \ No newline at end of file diff --git a/ui/public/tool/postgresql/detail.md b/ui/public/tool/postgresql/detail.md index aedd5d73867..421a653bf34 100644 --- a/ui/public/tool/postgresql/detail.md +++ b/ui/public/tool/postgresql/detail.md @@ -7,8 +7,8 @@ PostgreSQL查询是一个连接PostgreSQL数据库执行SQL查询的工具。   1. 在函数库中配置启动参数 在函数库的PostgreSQL函数面板中,点击 … > 启动参数,填写数据库连接参数,并启用该函数。 -![启动参数](/admin/tool/img/PostgreSQL_setting.jpg) +![启动参数](../img/PostgreSQL_setting.jpg) 2. 在应用中使用 在高级编排应用中,点击添加组件->函数库->PostgreSQL查询,设置查询内容。 -![应用中使用](/admin/tool/img/PostgreSQL_app_used.jpg) +![应用中使用](../img/PostgreSQL_app_used.jpg) \ No newline at end of file From ece625e81a13db93ac8ebd307b071fd3e3fad2d7 Mon Sep 17 00:00:00 2001 From: simpleqt <89645338+simpleqt@users.noreply.github.com> Date: Sun, 23 Aug 2026 19:26:19 +0800 Subject: [PATCH 2/2] fix(i18n): correct broken keys and mistranslations in en-US/zh-Hant locales MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - workflow.ts (en-US, zh-Hant): the showCondition/hideCondition keys contained an invisible U+200C zero-width non-joiner, so lookups from Constructor.vue fell through and the Visibility Setting dialog rendered the raw key instead of 'Show Condition'/'Hide Condition' - common.ts (en-US): task status STARTED was translated as 'Padding'; zh-CN/zh-Hant say 执行中/執行中 (Running) - workflow.ts (en-US): 'Iniiator' -> 'Initiator'; stray trailing quote in 'Restore Previous Version"' rendered on three workflow pages; 'Wireless loop' -> 'Infinite loop' (无限循环), consistent with infiniteLoop elsewhere in the same file --- ui/src/locales/lang/en-US/common.ts | 2 +- ui/src/locales/lang/en-US/workflow.ts | 10 +++++----- ui/src/locales/lang/zh-Hant/workflow.ts | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ui/src/locales/lang/en-US/common.ts b/ui/src/locales/lang/en-US/common.ts index 1ea8277a81e..406ae8bd959 100644 --- a/ui/src/locales/lang/en-US/common.ts +++ b/ui/src/locales/lang/en-US/common.ts @@ -79,7 +79,7 @@ export default { success: 'Successful', fail: 'Failed', all: 'All', - STARTED: 'Padding', + STARTED: 'Running', REVOKED: 'Cancelled', REVOKE: 'Cancelling', }, diff --git a/ui/src/locales/lang/en-US/workflow.ts b/ui/src/locales/lang/en-US/workflow.ts index f322667c8a3..a8f648368c2 100644 --- a/ui/src/locales/lang/en-US/workflow.ts +++ b/ui/src/locales/lang/en-US/workflow.ts @@ -15,7 +15,7 @@ export default { exportWorkflow: 'Export Workflow', }, setting: { - restoreVersion: 'Restore Previous Version"', + restoreVersion: 'Restore Previous Version', restoreCurrentVersion: 'Restore to This Version', addComponent: 'Add', releaseHistory: 'Release History', @@ -84,7 +84,7 @@ export default { nodeUnavailable: 'Node unavailable', needConnect1: 'The branch of the node needs to be connected', cannotEndNode: 'This node cannot be used as an end node', - loopNodeBreakNodeRequired: 'Wireless loop must have a Break node', + loopNodeBreakNodeRequired: 'Infinite loop must have a Break node', }, nodes: { toolWorlflowNode: { @@ -128,8 +128,8 @@ export default { baseNode: { visibilitySetting: { label: 'Visibility Setting', - showCondition‌: 'Show Condition', - hideCondition‌: 'Hide Condition', + showCondition: 'Show Condition', + hideCondition: 'Hide Condition', }, fileUpload: { label: 'File Upload', @@ -555,6 +555,6 @@ You are a master of problem optimization, adept at accurately inferring user int }, SystemPromptPlaceholder: 'System Prompt, can reference variables in the system, such as', UserPromptPlaceholder: 'User Prompt, can reference variables in the system, such as', - initiator: 'Iniiator', + initiator: 'Initiator', abnormalInformation: 'Abnormal Information', } diff --git a/ui/src/locales/lang/zh-Hant/workflow.ts b/ui/src/locales/lang/zh-Hant/workflow.ts index 6678d4536a7..d6448b1a3c2 100644 --- a/ui/src/locales/lang/zh-Hant/workflow.ts +++ b/ui/src/locales/lang/zh-Hant/workflow.ts @@ -128,8 +128,8 @@ export default { baseNode: { visibilitySetting: { label: '顯隱設置', - showCondition‌: '顯示條件', - hideCondition‌: '隱藏條件', + showCondition: '顯示條件', + hideCondition: '隱藏條件', }, fileUpload: { label: '文件上傳',