[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:
@@ -303,4 +303,6 @@ export const languageChinese = {
|
||||
tags: "标签",
|
||||
copied: "已复制",
|
||||
useChatCopy: "使用聊天复制",
|
||||
autoTranslateInput: "使用自动翻译输入",
|
||||
enterMessageForTranslateToEnglish: "输入要翻译为英语的消息",
|
||||
}
|
||||
Reference in New Issue
Block a user