### What problem does this PR solve? feat: Add component BaiduFanyi #1739 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@@ -646,6 +646,61 @@ export default {
|
||||
gitHub: 'GitHub',
|
||||
githubDescription:
|
||||
'该组件用于从 https://github.com/ 搜索仓库。Top N 指定需要调整的搜索结果数量。',
|
||||
baiduFanyi: '百度翻译',
|
||||
baiduFanyiDescription:
|
||||
'该组件用于从 https://fanyi.baidu.com/ 获取翻译。通常,它提供更专业的翻译结果',
|
||||
appid: 'App id',
|
||||
secretKey: '秘钥',
|
||||
domain: '领域',
|
||||
transType: '翻译类型',
|
||||
baiduSecretKeyOptions: {
|
||||
translate: '通用翻译',
|
||||
fieldtranslate: '领域翻译',
|
||||
},
|
||||
baiduDomainOptions: {
|
||||
it: '信息技术领域',
|
||||
finance: '金融财经领域',
|
||||
machinery: '机械制造领域',
|
||||
senimed: '生物医药领域',
|
||||
novel: '网络文学领域',
|
||||
academic: '学术论文领域',
|
||||
aerospace: '航空航天领域',
|
||||
wiki: '人文社科领域',
|
||||
news: '新闻资讯领域',
|
||||
law: '法律法规领域',
|
||||
contract: '合同领域',
|
||||
},
|
||||
baiduSourceLangOptions: {
|
||||
auto: '自动检测',
|
||||
zh: '中文',
|
||||
en: '英语',
|
||||
yue: '粤语',
|
||||
wyw: '文言文',
|
||||
jp: '日语',
|
||||
kor: '韩语',
|
||||
fra: '法语',
|
||||
spa: '西班牙语',
|
||||
th: '泰语',
|
||||
ara: '阿拉伯语',
|
||||
ru: '俄语',
|
||||
pt: '葡萄牙语',
|
||||
de: '德语',
|
||||
it: '意大利语',
|
||||
el: '希腊语',
|
||||
nl: '荷兰语',
|
||||
pl: '波兰语',
|
||||
bul: '保加利亚语',
|
||||
est: '爱沙尼亚语',
|
||||
dan: '丹麦语',
|
||||
fin: '芬兰语',
|
||||
cs: '捷克语',
|
||||
rom: '罗马尼亚语',
|
||||
slo: '斯洛文尼亚语',
|
||||
swe: '瑞典语',
|
||||
hu: '匈牙利语',
|
||||
cht: '繁体中文',
|
||||
vie: '越南语',
|
||||
},
|
||||
},
|
||||
footer: {
|
||||
profile: 'All rights reserved @ React',
|
||||
|
||||
Reference in New Issue
Block a user