feat: Add component BaiduFanyi #1739 (#1874)

### 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:
balibabu
2024-08-08 17:52:45 +08:00
committed by GitHub
parent 6ccfbca204
commit ffb3fc4bf5
9 changed files with 308 additions and 0 deletions

View File

@ -628,6 +628,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: '“保留所有權利 @ react”',