From de17df9f14a26ac23959fe114463f2f8caae0491 Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Sun, 14 Jul 2024 11:46:25 +0800 Subject: [PATCH] fix: inputbar translation --- src/renderer/src/pages/home/components/Inputbar.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/renderer/src/pages/home/components/Inputbar.tsx b/src/renderer/src/pages/home/components/Inputbar.tsx index 00c71c57ca..e03214eb13 100644 --- a/src/renderer/src/pages/home/components/Inputbar.tsx +++ b/src/renderer/src/pages/home/components/Inputbar.tsx @@ -135,8 +135,7 @@ const Inputbar: FC = ({ assistant, setActiveTopic }) => { description={t('assistant.input.clear.content')} placement="top" onConfirm={clearTopic} - okText="Clear" - cancelText="Cancel"> + okText={t('assistant.input.clear')}>