### 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:
@@ -670,6 +670,61 @@ The above is the content you need to summarize.`,
|
||||
gitHub: 'GitHub',
|
||||
githubDescription:
|
||||
'This component is used to search the repository from https://github.com/. Top N specifies the number of search results to be adjusted.',
|
||||
baiduFanyi: 'BaiduFanyi',
|
||||
baiduFanyiDescription:
|
||||
'This component is used to get translations from https://fanyi.baidu.com/. Typically, it provides a more specialized translation result',
|
||||
appid: 'App id',
|
||||
secretKey: 'Secret key',
|
||||
domain: 'Domain',
|
||||
transType: 'Translation type',
|
||||
baiduSecretKeyOptions: {
|
||||
translate: 'General translation',
|
||||
fieldtranslate: 'Field translation',
|
||||
},
|
||||
baiduDomainOptions: {
|
||||
it: 'Information technology',
|
||||
finance: 'Financial and economics',
|
||||
machinery: 'Machinery manufacturing',
|
||||
senimed: 'Biomedicine',
|
||||
novel: 'Online literature',
|
||||
academic: 'Academic paper',
|
||||
aerospace: 'Aerospace',
|
||||
wiki: 'Humanities and social sciences',
|
||||
news: 'News and information',
|
||||
law: 'Laws and regulations',
|
||||
contract: 'Contract',
|
||||
},
|
||||
baiduSourceLangOptions: {
|
||||
auto: 'Auto detect',
|
||||
zh: 'Chinese',
|
||||
en: 'English',
|
||||
yue: 'Cantonese',
|
||||
wyw: 'Classical Chinese',
|
||||
jp: 'Japanese',
|
||||
kor: 'Korean',
|
||||
fra: 'French',
|
||||
spa: 'Spanish',
|
||||
th: 'Thai',
|
||||
ara: 'Arabic',
|
||||
ru: 'Russian',
|
||||
pt: 'Portuguese',
|
||||
de: 'German',
|
||||
it: 'Italian',
|
||||
el: 'Greek',
|
||||
nl: 'Dutch',
|
||||
pl: 'Polish',
|
||||
bul: 'Bulgarian',
|
||||
est: 'Estonian',
|
||||
dan: 'Danish',
|
||||
fin: 'Finnish',
|
||||
cs: 'Czech',
|
||||
rom: 'Romanian',
|
||||
slo: 'Slovenian',
|
||||
swe: 'Swedish',
|
||||
hu: 'Hungarian',
|
||||
cht: 'Traditional Chinese',
|
||||
vie: 'Vietnamese',
|
||||
},
|
||||
},
|
||||
footer: {
|
||||
profile: 'All rights reserved @ React',
|
||||
|
||||
Reference in New Issue
Block a user