feat: Update copy button translations in chat component

This commit is contained in:
谨欣
2024-08-23 01:53:14 +08:00
parent 0101e410f5
commit 5556cca553
5 changed files with 5 additions and 3 deletions

View File

@@ -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',

View File

@@ -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;

View File

@@ -18,7 +18,6 @@ export const ChatZh: Resources['translation'] = {
thinking: '正在思考中',
stop_replying: '停止回复',
erase_memory: '清除记忆',
copy: '复制',
copy_success: '复制成功',
copy_failed: '复制失败',
copy_nothing: '内容复制为空',

View File

@@ -324,4 +324,6 @@ export const CommonZh: Resources["translation"] = {
View_details: "查看详情",
All: "全部",
Please_input_prompt_name: "请输入prompt名称",
Copy_Btn: '复制',
Delete_Btn: '删除'
} as const;

View File

@@ -174,7 +174,7 @@ function Database() {
onDelete(item);
}}
>
{t('Delete_Btn')}
</span>
),
},