feat: support youdao dict

This commit is contained in:
Gabe
2025-10-03 18:28:50 +08:00
parent 65e8fabe7d
commit 171dbb7509
19 changed files with 631 additions and 228 deletions

View File

@@ -8,7 +8,7 @@ export default function Playgound() {
const { setting } = useSetting();
const { transApis, langDetector, tranboxSetting } =
setting || DEFAULT_SETTING;
const { apiSlugs, fromLang, toLang, toLang2, enDict } =
const { apiSlugs, fromLang, toLang, toLang2, enDict, enSug } =
tranboxSetting || DEFAULT_TRANBOX_SETTING;
return (
<TranForm
@@ -22,6 +22,7 @@ export default function Playgound() {
simpleStyle={false}
langDetector={langDetector}
enDict={enDict}
enSug={enSug}
isPlaygound={true}
/>
);