Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Translate autosaved #3301 #3304

Merged
merged 2 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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