mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-11 22:09:44 +00:00
feat: Update copy button translations in chat component
This commit is contained in:
@@ -10,7 +10,6 @@ export const ChatEn = {
|
|||||||
thinking: 'Thinking',
|
thinking: 'Thinking',
|
||||||
stop_replying: 'Stop replying',
|
stop_replying: 'Stop replying',
|
||||||
erase_memory: 'Erase Memory',
|
erase_memory: 'Erase Memory',
|
||||||
copy: 'Copy',
|
|
||||||
copy_nothing: 'Content copied is empty',
|
copy_nothing: 'Content copied is empty',
|
||||||
copy_success: 'Copy success',
|
copy_success: 'Copy success',
|
||||||
copy_failed: 'Copy failed',
|
copy_failed: 'Copy failed',
|
||||||
|
@@ -322,4 +322,6 @@ export const CommonEn = {
|
|||||||
View_details: "View details",
|
View_details: "View details",
|
||||||
All: "All",
|
All: "All",
|
||||||
Please_input_prompt_name: "Please input prompt name",
|
Please_input_prompt_name: "Please input prompt name",
|
||||||
|
Copy_Btn: 'Copy',
|
||||||
|
Delete_Btn: 'Delete'
|
||||||
} as const;
|
} as const;
|
||||||
|
@@ -18,7 +18,6 @@ export const ChatZh: Resources['translation'] = {
|
|||||||
thinking: '正在思考中',
|
thinking: '正在思考中',
|
||||||
stop_replying: '停止回复',
|
stop_replying: '停止回复',
|
||||||
erase_memory: '清除记忆',
|
erase_memory: '清除记忆',
|
||||||
copy: '复制',
|
|
||||||
copy_success: '复制成功',
|
copy_success: '复制成功',
|
||||||
copy_failed: '复制失败',
|
copy_failed: '复制失败',
|
||||||
copy_nothing: '内容复制为空',
|
copy_nothing: '内容复制为空',
|
||||||
|
@@ -324,4 +324,6 @@ export const CommonZh: Resources["translation"] = {
|
|||||||
View_details: "查看详情",
|
View_details: "查看详情",
|
||||||
All: "全部",
|
All: "全部",
|
||||||
Please_input_prompt_name: "请输入prompt名称",
|
Please_input_prompt_name: "请输入prompt名称",
|
||||||
|
Copy_Btn: '复制',
|
||||||
|
Delete_Btn: '删除'
|
||||||
} as const;
|
} as const;
|
||||||
|
@@ -174,7 +174,7 @@ function Database() {
|
|||||||
onDelete(item);
|
onDelete(item);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
删除
|
{t('Delete_Btn')}
|
||||||
</span>
|
</span>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user