Selaa lähdekoodia

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)
tags/v0.18.0
科幻大脑 7 kuukautta sitten
vanhempi
commit
b2ec39c59d
No account linked to committer's email address
3 muutettua tiedostoa jossa 18 lisäystä ja 3 poistoa
  1. 3
    0
      web/src/locales/en.ts
  2. 12
    0
      web/src/locales/zh.ts
  3. 3
    3
      web/src/pages/flow/flow-setting/index.tsx

+ 3
- 0
web/src/locales/en.ts Näytä tiedosto

@@ -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',

+ 12
- 0
web/src/locales/zh.ts Näytä tiedosto

@@ -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',

+ 3
- 3
web/src/pages/flow/flow-setting/index.tsx Näytä tiedosto

@@ -61,7 +61,7 @@ export const FlowSettingModal = ({
return (
<Modal
confirmLoading={loading}
title={'Agent Setting'}
title={t('agentSetting')}
open={visible}
onCancel={hideModal}
onOk={handleSubmit}
@@ -77,7 +77,7 @@ export const FlowSettingModal = ({
>
<Form.Item
name="title"
label="Title"
label={t('title')}
rules={[{ required: true, message: 'Please input a title!' }]}
>
<Input />
@@ -100,7 +100,7 @@ export const FlowSettingModal = ({
</button>
</Upload>
</Form.Item>
<Form.Item name="description" label="Description">
<Form.Item name="description" label={t('description')}>
<Input.TextArea rows={4} />
</Form.Item>


Loading…
Peruuta
Tallenna