From 8552e81022826f24cb8bdb2ab36d3261708b15d5 Mon Sep 17 00:00:00 2001 From: ManishMadan2882 Date: Fri, 9 May 2025 21:39:54 +0530 Subject: [PATCH] (fix:input) sync with translations --- frontend/src/components/MessageInput.tsx | 6 +++--- frontend/src/locale/en.json | 5 +++++ frontend/src/locale/es.json | 5 +++++ frontend/src/locale/jp.json | 7 ++++++- frontend/src/locale/ru.json | 7 ++++++- frontend/src/locale/zh-TW.json | 5 +++++ frontend/src/locale/zh.json | 7 ++++++- 7 files changed, 36 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/MessageInput.tsx b/frontend/src/components/MessageInput.tsx index 7f617673..e8291519 100644 --- a/frontend/src/components/MessageInput.tsx +++ b/frontend/src/components/MessageInput.tsx @@ -272,11 +272,11 @@ export default function MessageInput({ dispatch(removeAttachment(attachment.id)); } }} - aria-label="Remove attachment" + aria-label={t('conversation.attachments.remove')} > Remove @@ -394,7 +394,7 @@ export default function MessageInput({ className="mr-1 h-3.5 w-3.5 sm:mr-1.5 sm:h-4 sm:w-4" /> - Attach + {t('conversation.attachments.attach')}