balibabu commited on
Commit
ce16003
·
1 Parent(s): 2962077

feat: translate graph of header #918 (#1428)

Browse files

### What problem does this PR solve?

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


- [x] New Feature (non-breaking change which adds functionality)

web/src/locales/zh-traditional.ts CHANGED
@@ -57,6 +57,7 @@ export default {
57
  setting: '用戶設置',
58
  logout: '登出',
59
  fileManager: '文件管理',
 
60
  },
61
  knowledgeList: {
62
  welcome: '歡迎回來',
 
57
  setting: '用戶設置',
58
  logout: '登出',
59
  fileManager: '文件管理',
60
+ flow: '圖',
61
  },
62
  knowledgeList: {
63
  welcome: '歡迎回來',
web/src/locales/zh.ts CHANGED
@@ -57,6 +57,7 @@ export default {
57
  setting: '用户设置',
58
  logout: '登出',
59
  fileManager: '文件管理',
 
60
  },
61
  knowledgeList: {
62
  welcome: '欢迎回来',
 
57
  setting: '用户设置',
58
  logout: '登出',
59
  fileManager: '文件管理',
60
+ flow: '图',
61
  },
62
  knowledgeList: {
63
  welcome: '欢迎回来',
web/src/pages/flow/categorize-form/dynamic-categorize.tsx CHANGED
@@ -1,6 +1,6 @@
1
  import { useTranslate } from '@/hooks/commonHooks';
2
  import { CloseOutlined } from '@ant-design/icons';
3
- import { Button, Card, Form, Input, Select, Typography } from 'antd';
4
  import { useUpdateNodeInternals } from 'reactflow';
5
  import { Operator } from '../constant';
6
  import {
@@ -95,13 +95,13 @@ const DynamicCategorize = ({ nodeId }: IProps) => {
95
  }}
96
  </Form.List>
97
 
98
- <Form.Item noStyle shouldUpdate>
99
  {() => (
100
  <Typography>
101
  <pre>{JSON.stringify(form.getFieldsValue(), null, 2)}</pre>
102
  </Typography>
103
  )}
104
- </Form.Item>
105
  </>
106
  );
107
  };
 
1
  import { useTranslate } from '@/hooks/commonHooks';
2
  import { CloseOutlined } from '@ant-design/icons';
3
+ import { Button, Card, Form, Input, Select } from 'antd';
4
  import { useUpdateNodeInternals } from 'reactflow';
5
  import { Operator } from '../constant';
6
  import {
 
95
  }}
96
  </Form.List>
97
 
98
+ {/* <Form.Item noStyle shouldUpdate>
99
  {() => (
100
  <Typography>
101
  <pre>{JSON.stringify(form.getFieldsValue(), null, 2)}</pre>
102
  </Typography>
103
  )}
104
+ </Form.Item> */}
105
  </>
106
  );
107
  };