[feat][experimental] Add auto-translate input message functionality and language support in chat panel and settings

This commit adds new entries in the language files and UI support for auto-translate messages.

The new feature uses a textarea input field to translate messages as they are typed, and the translated text is shown in a new field. Also, the language settings now provide an option to enable/disable auto message translation.

The code changes include adding a new function to update the input sizes for both input fields and some minor code refactoring to support new functionality.
This commit is contained in:
LL
2023-06-06 18:37:19 +09:00
parent e913a641fa
commit 89dc9c8c80
6 changed files with 97 additions and 7 deletions

View File

@@ -279,4 +279,6 @@ export const languageKorean = {
backgroundHTML: "백그라운드 임베딩",
copied: "복사됨",
useChatCopy: "채팅 메시지 복사 사용",
autoTranslateInput: "입력 자동 번역",
enterMessageForTranslateToEnglish: "영어로 번역할 메시지를 입력해주세요",
}