diff --git a/web/locales/en/chat.ts b/web/locales/en/chat.ts index 6c6171e28..d11061cee 100644 --- a/web/locales/en/chat.ts +++ b/web/locales/en/chat.ts @@ -10,7 +10,6 @@ export const ChatEn = { thinking: 'Thinking', stop_replying: 'Stop replying', erase_memory: 'Erase Memory', - copy: 'Copy', copy_nothing: 'Content copied is empty', copy_success: 'Copy success', copy_failed: 'Copy failed', diff --git a/web/locales/en/common.ts b/web/locales/en/common.ts index 2f3c05227..acb87747a 100644 --- a/web/locales/en/common.ts +++ b/web/locales/en/common.ts @@ -322,4 +322,6 @@ export const CommonEn = { View_details: "View details", All: "All", Please_input_prompt_name: "Please input prompt name", + Copy_Btn: 'Copy', + Delete_Btn: 'Delete' } as const; diff --git a/web/locales/zh/chat.ts b/web/locales/zh/chat.ts index 97ef1555d..cce78acc1 100644 --- a/web/locales/zh/chat.ts +++ b/web/locales/zh/chat.ts @@ -18,7 +18,6 @@ export const ChatZh: Resources['translation'] = { thinking: '正在思考中', stop_replying: '停止回复', erase_memory: '清除记忆', - copy: '复制', copy_success: '复制成功', copy_failed: '复制失败', copy_nothing: '内容复制为空', diff --git a/web/locales/zh/common.ts b/web/locales/zh/common.ts index fc3ed6cf1..b641eebc8 100644 --- a/web/locales/zh/common.ts +++ b/web/locales/zh/common.ts @@ -324,4 +324,6 @@ export const CommonZh: Resources["translation"] = { View_details: "查看详情", All: "全部", Please_input_prompt_name: "请输入prompt名称", + Copy_Btn: '复制', + Delete_Btn: '删除' } as const; diff --git a/web/pages/construct/database.tsx b/web/pages/construct/database.tsx index 525d0e6d4..6e7cfe609 100644 --- a/web/pages/construct/database.tsx +++ b/web/pages/construct/database.tsx @@ -174,7 +174,7 @@ function Database() { onDelete(item); }} > - 删除 + {t('Delete_Btn')} ), },