feat: support firecrawl frontend code (#5226)
This commit is contained in:
parent
8d1386df0f
commit
28554350de
51 changed files with 1979 additions and 145 deletions
|
|
@ -11,6 +11,12 @@ const translation = {
|
|||
error: {
|
||||
unavailable: '该知识库不可用',
|
||||
},
|
||||
firecrawl: {
|
||||
configFirecrawl: '配置 🔥Firecrawl',
|
||||
apiKeyPlaceholder: '从 firecrawl.dev 获取 API Key,以 "fc-" 开头',
|
||||
apiKeyFormatError: 'API Key 应以 "fc-" 开头',
|
||||
getApiKeyLinkText: '从 firecrawl.dev 获取您的 API Key',
|
||||
},
|
||||
stepOne: {
|
||||
filePreview: '文件预览',
|
||||
pagePreview: '页面预览',
|
||||
|
|
@ -50,6 +56,30 @@ const translation = {
|
|||
confirmButton: '创建',
|
||||
failed: '创建失败',
|
||||
},
|
||||
website: {
|
||||
fireCrawlNotConfigured: 'Firecrawl 未配置',
|
||||
fireCrawlNotConfiguredDescription: '请配置 Firecrawl 的 API 密钥以使用它。',
|
||||
configure: '配置',
|
||||
run: '运行',
|
||||
firecrawlTitle: '使用 🔥Firecrawl 提取网页内容',
|
||||
firecrawlDoc: 'Firecrawl 文档',
|
||||
firecrawlDocLink: 'https://docs.dify.ai/v/zh-hans/guides/knowledge-base/sync_from_website',
|
||||
options: '选项',
|
||||
crawlSubPage: '爬取子页面',
|
||||
limit: '限制数量',
|
||||
maxDepth: '最大深度',
|
||||
excludePaths: '排除路径',
|
||||
includeOnlyPaths: '仅包含路径',
|
||||
extractOnlyMainContent: '仅提取主要内容(无标题、导航、页脚等)',
|
||||
exceptionErrorTitle: '运行 Firecrawl 时发生异常:',
|
||||
unknownError: '未知错误',
|
||||
totalPageScraped: '抓取页面总数:',
|
||||
selectAll: '全选',
|
||||
resetAll: '重置全部',
|
||||
scrapTimeInfo: '总共在 {{time}}秒 内抓取了 {{total}} 个页面',
|
||||
preview: '预览',
|
||||
maxDepthTooltip: '最大抓取深度。深度 1 表示 Base URL,深度 2 表示 Base URL及其直接子页面,依此类推。',
|
||||
},
|
||||
},
|
||||
stepTwo: {
|
||||
segmentation: '分段设置',
|
||||
|
|
@ -86,9 +116,11 @@ const translation = {
|
|||
calculating: '计算中...',
|
||||
fileSource: '预处理文档',
|
||||
notionSource: '预处理页面',
|
||||
websiteSource: '预处理页面',
|
||||
other: '和其他 ',
|
||||
fileUnit: ' 个文件',
|
||||
notionUnit: ' 个页面',
|
||||
webpageUnit: ' 个页面',
|
||||
previousStep: '上一步',
|
||||
nextStep: '保存并处理',
|
||||
save: '保存并处理',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue