From bcf6554b45d3641a709ce25d2b332cfb69a61b41 Mon Sep 17 00:00:00 2001 From: bill Date: Fri, 8 Nov 2024 17:40:16 +0800 Subject: [PATCH] feat: Translate autosaved #3301 --- web/src/locales/en.ts | 2 +- web/src/locales/zh-traditional.ts | 2 +- web/src/locales/zh.ts | 2 +- web/src/pages/flow/header/index.tsx | 4 +++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts index aa5ef8df874..dddede0d180 100644 --- a/web/src/locales/en.ts +++ b/web/src/locales/en.ts @@ -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', diff --git a/web/src/locales/zh-traditional.ts b/web/src/locales/zh-traditional.ts index df390fba63a..cfbc7bf08ed 100644 --- a/web/src/locales/zh-traditional.ts +++ b/web/src/locales/zh-traditional.ts @@ -984,7 +984,7 @@ export default { howUseId: '如何使用Agent ID?', content: '內容', operationResults: '運行結果', - autosave: '已自動儲存', + autosaved: '已自動儲存', }, footer: { profile: '“保留所有權利 @ react”', diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts index 41098f4c493..8b29281fa2d 100644 --- a/web/src/locales/zh.ts +++ b/web/src/locales/zh.ts @@ -1004,7 +1004,7 @@ export default { howUseId: '如何使用Agent ID?', content: '内容', operationResults: '运行结果', - autosave: '已自动保存', + autosaved: '已自动保存', }, footer: { profile: 'All rights reserved @ React', diff --git a/web/src/pages/flow/header/index.tsx b/web/src/pages/flow/header/index.tsx index 70ef319ea80..e5de33bfbec 100644 --- a/web/src/pages/flow/header/index.tsx +++ b/web/src/pages/flow/header/index.tsx @@ -44,7 +44,9 @@ const FlowHeader = ({ showChatDrawer }: IProps) => {
{data.title} - 已自动保存 {time} + + {t('autosaved')} {time} +