feat: export word & translation

This commit is contained in:
Gabe Yuan
2024-04-16 16:29:59 +08:00
parent b416e72820
commit bf3a16f96d
8 changed files with 278 additions and 189 deletions

View File

@@ -463,6 +463,10 @@ export const I18N = {
zh: `导出`,
en: `Export`,
},
export_translation: {
zh: `导出释义`,
en: `Export Translation`,
},
error_cant_be_blank: {
zh: `不能为空`,
en: `Can not be blank`,

View File

@@ -407,6 +407,10 @@ export const DEFAULT_INPUT_RULE = {
};
// 划词翻译
export const PHONIC_MAP = {
en_phonic: ["英", "uk"],
us_phonic: ["美", "en"],
};
export const OPT_TRANBOX_TRIGGER_CLICK = "click";
export const OPT_TRANBOX_TRIGGER_HOVER = "hover";
export const OPT_TRANBOX_TRIGGER_SELECT = "select";