Skip to content

Commit

Permalink
fix: Rename graph to agent infiniflow#918 (infiniflow#1785)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

fix: Rename graph to agent infiniflow#918

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
  • Loading branch information
cike8899 authored Aug 2, 2024
1 parent 834b76b commit 402dbf5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
5 changes: 2 additions & 3 deletions web/src/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default {
setting: '用户设置',
logout: '登出',
fileManager: 'File Management',
flow: 'Graph',
flow: 'Agent',
},
knowledgeList: {
welcome: 'Welcome back',
Expand Down Expand Up @@ -574,7 +574,6 @@ The above is the content you need to summarize.`,
messageMsg: 'Please input message or delete this field.',
addField: 'Add field',
loop: 'Loop',
createFlow: 'Create a workflow',
yes: 'Yes',
no: 'No',
key: 'key',
Expand All @@ -598,7 +597,7 @@ The above is the content you need to summarize.`,
promptText: `Please summarize the following paragraphs. Be careful with the numbers, do not make things up. Paragraphs as following:
{input}
The above is the content you need to summarize.`,
createGraph: 'Create graph',
createGraph: 'Create agent',
createFromTemplates: 'Create from templates',
retrieval: 'Retrieval',
generate: 'Generate',
Expand Down
5 changes: 2 additions & 3 deletions web/src/locales/zh-traditional.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default {
setting: '用戶設置',
logout: '登出',
fileManager: '文件管理',
flow: '',
flow: 'Agent',
},
knowledgeList: {
welcome: '歡迎回來',
Expand Down Expand Up @@ -535,7 +535,6 @@ export default {
messageMsg: '請輸入訊息或刪除此欄位。',
addField: '新增字段',
loop: '循環上限',
createFlow: '创建工作流',
yes: '是',
no: '否',
key: 'key',
Expand All @@ -560,7 +559,7 @@ export default {
promptText: `請總結以下段落。注意數字,不要胡編亂造。段落如下:
{input}
以上就是你需要總結的內容。`,
createGraph: '建立圖表',
createGraph: '建立 Agent',
createFromTemplates: '從模板創建',
retrieval: '知識檢索',
generate: '生成回答',
Expand Down
5 changes: 2 additions & 3 deletions web/src/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default {
setting: '用户设置',
logout: '登出',
fileManager: '文件管理',
flow: '',
flow: 'Agent',
},
knowledgeList: {
welcome: '欢迎回来',
Expand Down Expand Up @@ -554,7 +554,6 @@ export default {
messageMsg: '请输入消息或删除此字段。',
addField: '新增字段',
loop: '循环上限',
createFlow: '创建工作流',
yes: '是',
no: '否',
key: 'key',
Expand All @@ -578,7 +577,7 @@ export default {
promptText: `请总结以下段落。注意数字,不要胡编乱造。段落如下:
{input}
以上就是你需要总结的内容。`,
createGraph: '创建图表',
createGraph: '创建 Agent',
createFromTemplates: '从模板创建',
retrieval: '知识检索',
generate: '生成回答',
Expand Down
2 changes: 1 addition & 1 deletion web/src/pages/flow/list/create-flow-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const CreateFlowModal = ({

return (
<Modal
title={t('createFlow', { keyPrefix: 'flow' })}
title={t('createGraph', { keyPrefix: 'flow' })}
open={visible}
onOk={handleOk}
width={600}
Expand Down

0 comments on commit 402dbf5

Please sign in to comment.