balibabu commited on
Commit
e094004
·
1 Parent(s): 6d5a4e9

fix: Rename graph to agent #918 (#1785)

Browse files

### What problem does this PR solve?

fix: Rename graph to agent #918

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

web/src/locales/en.ts CHANGED
@@ -57,7 +57,7 @@ export default {
57
  setting: '用户设置',
58
  logout: '登出',
59
  fileManager: 'File Management',
60
- flow: 'Graph',
61
  },
62
  knowledgeList: {
63
  welcome: 'Welcome back',
@@ -574,7 +574,6 @@ The above is the content you need to summarize.`,
574
  messageMsg: 'Please input message or delete this field.',
575
  addField: 'Add field',
576
  loop: 'Loop',
577
- createFlow: 'Create a workflow',
578
  yes: 'Yes',
579
  no: 'No',
580
  key: 'key',
@@ -598,7 +597,7 @@ The above is the content you need to summarize.`,
598
  promptText: `Please summarize the following paragraphs. Be careful with the numbers, do not make things up. Paragraphs as following:
599
  {input}
600
  The above is the content you need to summarize.`,
601
- createGraph: 'Create graph',
602
  createFromTemplates: 'Create from templates',
603
  retrieval: 'Retrieval',
604
  generate: 'Generate',
 
57
  setting: '用户设置',
58
  logout: '登出',
59
  fileManager: 'File Management',
60
+ flow: 'Agent',
61
  },
62
  knowledgeList: {
63
  welcome: 'Welcome back',
 
574
  messageMsg: 'Please input message or delete this field.',
575
  addField: 'Add field',
576
  loop: 'Loop',
 
577
  yes: 'Yes',
578
  no: 'No',
579
  key: 'key',
 
597
  promptText: `Please summarize the following paragraphs. Be careful with the numbers, do not make things up. Paragraphs as following:
598
  {input}
599
  The above is the content you need to summarize.`,
600
+ createGraph: 'Create agent',
601
  createFromTemplates: 'Create from templates',
602
  retrieval: 'Retrieval',
603
  generate: 'Generate',
web/src/locales/zh-traditional.ts CHANGED
@@ -57,7 +57,7 @@ export default {
57
  setting: '用戶設置',
58
  logout: '登出',
59
  fileManager: '文件管理',
60
- flow: '',
61
  },
62
  knowledgeList: {
63
  welcome: '歡迎回來',
@@ -535,7 +535,6 @@ export default {
535
  messageMsg: '請輸入訊息或刪除此欄位。',
536
  addField: '新增字段',
537
  loop: '循環上限',
538
- createFlow: '创建工作流',
539
  yes: '是',
540
  no: '否',
541
  key: 'key',
@@ -560,7 +559,7 @@ export default {
560
  promptText: `請總結以下段落。注意數字,不要胡編亂造。段落如下:
561
  {input}
562
  以上就是你需要總結的內容。`,
563
- createGraph: '建立圖表',
564
  createFromTemplates: '從模板創建',
565
  retrieval: '知識檢索',
566
  generate: '生成回答',
 
57
  setting: '用戶設置',
58
  logout: '登出',
59
  fileManager: '文件管理',
60
+ flow: 'Agent',
61
  },
62
  knowledgeList: {
63
  welcome: '歡迎回來',
 
535
  messageMsg: '請輸入訊息或刪除此欄位。',
536
  addField: '新增字段',
537
  loop: '循環上限',
 
538
  yes: '是',
539
  no: '否',
540
  key: 'key',
 
559
  promptText: `請總結以下段落。注意數字,不要胡編亂造。段落如下:
560
  {input}
561
  以上就是你需要總結的內容。`,
562
+ createGraph: '建立 Agent',
563
  createFromTemplates: '從模板創建',
564
  retrieval: '知識檢索',
565
  generate: '生成回答',
web/src/locales/zh.ts CHANGED
@@ -57,7 +57,7 @@ export default {
57
  setting: '用户设置',
58
  logout: '登出',
59
  fileManager: '文件管理',
60
- flow: '',
61
  },
62
  knowledgeList: {
63
  welcome: '欢迎回来',
@@ -554,7 +554,6 @@ export default {
554
  messageMsg: '请输入消息或删除此字段。',
555
  addField: '新增字段',
556
  loop: '循环上限',
557
- createFlow: '创建工作流',
558
  yes: '是',
559
  no: '否',
560
  key: 'key',
@@ -578,7 +577,7 @@ export default {
578
  promptText: `请总结以下段落。注意数字,不要胡编乱造。段落如下:
579
  {input}
580
  以上就是你需要总结的内容。`,
581
- createGraph: '创建图表',
582
  createFromTemplates: '从模板创建',
583
  retrieval: '知识检索',
584
  generate: '生成回答',
 
57
  setting: '用户设置',
58
  logout: '登出',
59
  fileManager: '文件管理',
60
+ flow: 'Agent',
61
  },
62
  knowledgeList: {
63
  welcome: '欢迎回来',
 
554
  messageMsg: '请输入消息或删除此字段。',
555
  addField: '新增字段',
556
  loop: '循环上限',
 
557
  yes: '是',
558
  no: '否',
559
  key: 'key',
 
577
  promptText: `请总结以下段落。注意数字,不要胡编乱造。段落如下:
578
  {input}
579
  以上就是你需要总结的内容。`,
580
+ createGraph: '创建 Agent',
581
  createFromTemplates: '从模板创建',
582
  retrieval: '知识检索',
583
  generate: '生成回答',
web/src/pages/flow/list/create-flow-modal.tsx CHANGED
@@ -46,7 +46,7 @@ const CreateFlowModal = ({
46
 
47
  return (
48
  <Modal
49
- title={t('createFlow', { keyPrefix: 'flow' })}
50
  open={visible}
51
  onOk={handleOk}
52
  width={600}
 
46
 
47
  return (
48
  <Modal
49
+ title={t('createGraph', { keyPrefix: 'flow' })}
50
  open={visible}
51
  onOk={handleOk}
52
  width={600}