From 4b6731a1ba27d989d15d4ab01e817e52ff7ef39f 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')}>