balibabu Kevin Hu commited on
Commit
4928b00
·
1 Parent(s): 1ca7adb

feat: Translate autosaved #3301 (#3304)

Browse files

### What problem does this PR solve?

[_Briefly describe what this PR aims to solve. Include background
context that will help reviewers understand the purpose of the
PR._](feat: Translate autosaved #3301)

### Type of change


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

Co-authored-by: Kevin Hu <[email protected]>

web/src/locales/en.ts CHANGED
@@ -1036,7 +1036,7 @@ The above is the content you need to summarize.`,
1036
  howUseId: 'How to use agent ID?',
1037
  content: 'Content',
1038
  operationResults: 'Operation Results',
1039
- autosave: 'Automatically saved',
1040
  },
1041
  footer: {
1042
  profile: 'All rights reserved @ React',
 
1036
  howUseId: 'How to use agent ID?',
1037
  content: 'Content',
1038
  operationResults: 'Operation Results',
1039
+ autosaved: 'Autosaved',
1040
  },
1041
  footer: {
1042
  profile: 'All rights reserved @ React',
web/src/locales/zh-traditional.ts CHANGED
@@ -984,7 +984,7 @@ export default {
984
  howUseId: '如何使用Agent ID?',
985
  content: '內容',
986
  operationResults: '運行結果',
987
- autosave: '已自動儲存',
988
  },
989
  footer: {
990
  profile: '“保留所有權利 @ react”',
 
984
  howUseId: '如何使用Agent ID?',
985
  content: '內容',
986
  operationResults: '運行結果',
987
+ autosaved: '已自動儲存',
988
  },
989
  footer: {
990
  profile: '“保留所有權利 @ react”',
web/src/locales/zh.ts CHANGED
@@ -1004,7 +1004,7 @@ export default {
1004
  howUseId: '如何使用Agent ID?',
1005
  content: '内容',
1006
  operationResults: '运行结果',
1007
- autosave: '已自动保存',
1008
  },
1009
  footer: {
1010
  profile: 'All rights reserved @ React',
 
1004
  howUseId: '如何使用Agent ID?',
1005
  content: '内容',
1006
  operationResults: '运行结果',
1007
+ autosaved: '已自动保存',
1008
  },
1009
  footer: {
1010
  profile: 'All rights reserved @ React',
web/src/pages/flow/header/index.tsx CHANGED
@@ -44,7 +44,9 @@ const FlowHeader = ({ showChatDrawer }: IProps) => {
44
  </Link>
45
  <div className="flex flex-col">
46
  <span className="font-semibold text-[18px]">{data.title}</span>
47
- <span className="font-normal text-sm">已自动保存 {time}</span>
 
 
48
  </div>
49
  </Space>
50
  <Space size={'large'}>
 
44
  </Link>
45
  <div className="flex flex-col">
46
  <span className="font-semibold text-[18px]">{data.title}</span>
47
+ <span className="font-normal text-sm">
48
+ {t('autosaved')} {time}
49
+ </span>
50
  </div>
51
  </Space>
52
  <Space size={'large'}>