From b2ec39c59d4793d0aac69eeb29dad74f7919a6e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=91=E5=B9=BB=E5=A4=A7=E8=84=91?= <47254718+Sci-fiBrain@users.noreply.github.com> Date: Tue, 25 Mar 2025 11:07:29 +0800 Subject: [PATCH] Fix: Resolve FlowSetting not reading Title from .ts files (#6469) ### What problem does this PR solve? Fix: Resolve FlowSetting not reading Title from .ts files ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- web/src/locales/en.ts | 3 +++ web/src/locales/zh.ts | 12 ++++++++++++ web/src/pages/flow/flow-setting/index.tsx | 6 +++--- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts index 915657e50..19c22fcb3 100644 --- a/web/src/locales/en.ts +++ b/web/src/locales/en.ts @@ -1223,6 +1223,9 @@ This delimiter is used to split the input text into several text pieces echo of }, setting: 'Setting', settings: { + agentSetting: 'Agent Setting', + title: 'title', + description: 'description', upload: 'Upload', photo: 'Photo', permissions: 'Permission', diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts index 0264aa605..8faf84daf 100644 --- a/web/src/locales/zh.ts +++ b/web/src/locales/zh.ts @@ -1179,6 +1179,18 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于 categoryName: '分类名称', nextStep: '下一步', insertVariableTip: `输入 / 插入变量`, + setting: '设置', + settings: { + agentSetting: 'Agent设置', + title: '标题', + description: '描述', + upload: '上传', + photo: '照片', + permissions: '权限', + permissionsTip: '你可以在这里设置团队访问权限。', + me: '仅限自己', + team: '团队', + }, }, footer: { profile: 'All rights reserved @ React', diff --git a/web/src/pages/flow/flow-setting/index.tsx b/web/src/pages/flow/flow-setting/index.tsx index a47db1069..d371e3f40 100644 --- a/web/src/pages/flow/flow-setting/index.tsx +++ b/web/src/pages/flow/flow-setting/index.tsx @@ -61,7 +61,7 @@ export const FlowSettingModal = ({ return ( @@ -100,7 +100,7 @@ export const FlowSettingModal = ({ - +