Skip to content

Commit

Permalink
feat: translate graph of header infiniflow#918 (infiniflow#1428)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

feat: translate graph of header infiniflow#918
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
  • Loading branch information
cike8899 authored Jul 8, 2024
1 parent 07ca44c commit c349c8d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions web/src/locales/zh-traditional.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export default {
setting: '用戶設置',
logout: '登出',
fileManager: '文件管理',
flow: '圖',
},
knowledgeList: {
welcome: '歡迎回來',
Expand Down
1 change: 1 addition & 0 deletions web/src/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export default {
setting: '用户设置',
logout: '登出',
fileManager: '文件管理',
flow: '图',
},
knowledgeList: {
welcome: '欢迎回来',
Expand Down
6 changes: 3 additions & 3 deletions web/src/pages/flow/categorize-form/dynamic-categorize.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useTranslate } from '@/hooks/commonHooks';
import { CloseOutlined } from '@ant-design/icons';
import { Button, Card, Form, Input, Select, Typography } from 'antd';
import { Button, Card, Form, Input, Select } from 'antd';
import { useUpdateNodeInternals } from 'reactflow';
import { Operator } from '../constant';
import {
Expand Down Expand Up @@ -95,13 +95,13 @@ const DynamicCategorize = ({ nodeId }: IProps) => {
}}
</Form.List>

<Form.Item noStyle shouldUpdate>
{/* <Form.Item noStyle shouldUpdate>
{() => (
<Typography>
<pre>{JSON.stringify(form.getFieldsValue(), null, 2)}</pre>
</Typography>
)}
</Form.Item>
</Form.Item> */}
</>
);
};
Expand Down

0 comments on commit c349c8d

Please sign in to comment.