add more translators: baidu/tencent/deeplfree
This commit is contained in:
@@ -38,7 +38,8 @@ function TestButton({ translator, api }) {
|
||||
text: "hello world",
|
||||
fromLang: "en",
|
||||
toLang: "zh-CN",
|
||||
apiSetting: { ...api, useCache: false },
|
||||
apiSetting: api,
|
||||
useCache: false,
|
||||
});
|
||||
if (!text) {
|
||||
throw new Error("empty reault");
|
||||
|
||||
Reference in New Issue
Block a user