Skip to content

Commit

Permalink
feat: Translate autosaved infiniflow#3301
Browse files Browse the repository at this point in the history
  • Loading branch information
cike8899 committed Nov 8, 2024
1 parent 74d1eeb commit bcf6554
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion web/src/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ The above is the content you need to summarize.`,
howUseId: 'How to use agent ID?',
content: 'Content',
operationResults: 'Operation Results',
autosave: 'Automatically saved',
autosaved: 'Autosaved',
},
footer: {
profile: 'All rights reserved @ React',
Expand Down
2 changes: 1 addition & 1 deletion web/src/locales/zh-traditional.ts
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ export default {
howUseId: '如何使用Agent ID?',
content: '內容',
operationResults: '運行結果',
autosave: '已自動儲存',
autosaved: '已自動儲存',
},
footer: {
profile: '“保留所有權利 @ react”',
Expand Down
2 changes: 1 addition & 1 deletion web/src/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ export default {
howUseId: '如何使用Agent ID?',
content: '内容',
operationResults: '运行结果',
autosave: '已自动保存',
autosaved: '已自动保存',
},
footer: {
profile: 'All rights reserved @ React',
Expand Down
4 changes: 3 additions & 1 deletion web/src/pages/flow/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ const FlowHeader = ({ showChatDrawer }: IProps) => {
</Link>
<div className="flex flex-col">
<span className="font-semibold text-[18px]">{data.title}</span>
<span className="font-normal text-sm">已自动保存 {time}</span>
<span className="font-normal text-sm">
{t('autosaved')} {time}
</span>
</div>
</Space>
<Space size={'large'}>
Expand Down

0 comments on commit bcf6554

Please sign in to comment.