input box trans

This commit is contained in:
Gabe Yuan
2023-09-15 20:44:01 +08:00
parent 6e8158bb34
commit 9293f422f3
5 changed files with 39 additions and 20 deletions

View File

@@ -568,13 +568,17 @@ export const I18N = {
en: `Trigger Translation Shortcut Keys`,
},
trigger_trans_shortcut_help: {
zh: `不设则默认为单击快捷键“Alt+i”`,
en: `If not set, the default is to click the shortcut key "Alt+i"`,
zh: `默认为单击“Alt+i”`,
en: `Default is "Alt+i"`,
},
shortcut_press_count: {
zh: `快捷键连击次数`,
en: `Shortcut Press Number`,
},
combo_timeout: {
zh: `连击超时时间 (10-1000ms)`,
en: `Combo Timeout (10-1000ms)`,
},
input_trans_start_sign: {
zh: `翻译起始标识`,
en: `Translation Start Sign`,

View File

@@ -209,6 +209,7 @@ export const DEFAULT_INPUT_RULE = {
toLang: "en",
triggerShortcut: DEFAULT_INPUT_SHORTCUT,
triggerCount: 1,
triggerTime: 200,
transSign: OPT_INPUT_TRANS_SIGNS[0],
};