input box trans

This commit is contained in:
Gabe Yuan
2023-09-14 10:59:50 +08:00
parent 14ca13e31d
commit 76f54461e7
6 changed files with 42 additions and 8 deletions

View File

@@ -199,12 +199,14 @@ export const GLOBLA_RULE = {
textDiyStyle: "",
};
// 输入框翻译
export const DEFAULT_INPUT_SHORTCUT = ["Alt", "i"];
export const DEFAULT_INPUT_RULE = {
transOpen: true,
translator: OPT_TRANS_MICROSOFT,
fromLang: "auto",
toLang: "en",
triggerShortcut: ["Alt", "i"],
triggerShortcut: DEFAULT_INPUT_SHORTCUT,
triggerCount: 1,
};