feat: mutual translation effect with the target language

This commit is contained in:
Gabe Yuan
2023-12-11 15:54:54 +08:00
parent 95d19417c3
commit bdd5ed7fc7
5 changed files with 54 additions and 2 deletions

View File

@@ -215,6 +215,14 @@ export const I18N = {
zh: `目标语言`,
en: `Target Language`,
},
to_lang2: {
zh: `第二目标语言`,
en: `Target Language 2`,
},
to_lang2_helper: {
zh: `设定后,与目标语言产生互译效果,但依赖远程语言识别。`,
en: `After setting, it will produce mutual translation effect with the target language, but it relies on remote language recognition.`,
},
text_style: {
zh: `文字样式`,
en: `Text Style`,

View File

@@ -345,6 +345,7 @@ export const DEFAULT_TRANBOX_SETTING = {
translator: OPT_TRANS_MICROSOFT,
fromLang: "auto",
toLang: "zh-CN",
toLang2: "en",
tranboxShortcut: DEFAULT_TRANBOX_SHORTCUT,
btnOffsetX: 10,
btnOffsetY: 10,