2023-05-15 08:51:32 +08:00
|
|
|
|
const translation = {
|
|
|
|
|
list: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
title: '文档',
|
|
|
|
|
desc: '数据集的所有文件都在这里显示,整个数据集都可以链接到 Dify 引用或通过 Chat 插件进行索引。',
|
|
|
|
|
addFile: '添加文件',
|
2023-06-16 21:47:51 +08:00
|
|
|
|
addPages: '添加页面',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
table: {
|
|
|
|
|
header: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
fileName: '文件名',
|
|
|
|
|
words: '字符数',
|
|
|
|
|
hitCount: '命中次数',
|
|
|
|
|
uploadTime: '上传时间',
|
|
|
|
|
status: '状态',
|
|
|
|
|
action: '操作',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
action: {
|
|
|
|
|
uploadFile: '上传新文件',
|
|
|
|
|
settings: '分段设置',
|
|
|
|
|
archive: '归档',
|
2023-06-08 15:23:38 +08:00
|
|
|
|
delete: '删除',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
enableWarning: '归档的文件无法启用',
|
2023-06-16 21:47:51 +08:00
|
|
|
|
sync: '同步',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
index: {
|
|
|
|
|
enable: '启用中',
|
|
|
|
|
disable: '禁用中',
|
|
|
|
|
all: '全部',
|
|
|
|
|
enableTip: '该文件可以被索引',
|
|
|
|
|
disableTip: '该文件无法被索引',
|
|
|
|
|
},
|
|
|
|
|
status: {
|
|
|
|
|
queuing: '排队中',
|
|
|
|
|
indexing: '索引中',
|
|
|
|
|
parsed: '已解析',
|
|
|
|
|
error: '错误',
|
|
|
|
|
available: '可用',
|
|
|
|
|
enabled: '已启用',
|
|
|
|
|
disabled: '已禁用',
|
|
|
|
|
archived: '已归档',
|
|
|
|
|
},
|
|
|
|
|
empty: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
title: '还没有文档',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
upload: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
tip: '您可以上传文件,从网站同步,或者从网络应用程序(如概念、GitHub 等)同步。',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
sync: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
tip: 'Dify 会定期从您的 Notion 中下载文件并完成处理。',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
delete: {
|
|
|
|
|
title: '确定删除吗?',
|
2023-06-08 15:23:38 +08:00
|
|
|
|
content: '如果您需要稍后恢复处理,您将从您离开的地方继续',
|
|
|
|
|
},
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
metadata: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
title: '元数据',
|
|
|
|
|
desc: '标记文档的元数据允许 AI 及时访问它们并为用户公开参考来源。',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
dateTimeFormat: 'YYYY-MM-DD HH:mm',
|
2023-06-08 15:23:38 +08:00
|
|
|
|
docTypeSelectTitle: '请选择一种文档类型',
|
|
|
|
|
docTypeChangeTitle: '更换文档类型',
|
|
|
|
|
docTypeSelectWarning: '如果更改文档类型,将不再保留现在填充的元数据',
|
|
|
|
|
firstMetaAction: '开始',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
placeholder: {
|
|
|
|
|
add: '输入',
|
|
|
|
|
select: '选择',
|
|
|
|
|
},
|
|
|
|
|
source: {
|
|
|
|
|
upload_file: '文件上传',
|
2023-06-08 15:23:38 +08:00
|
|
|
|
notion: '从 Notion 同步的文档',
|
|
|
|
|
github: '从 Github 同步的代码',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
type: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
book: '书籍',
|
|
|
|
|
webPage: '网页',
|
|
|
|
|
paper: '论文',
|
|
|
|
|
socialMediaPost: '社交媒体帖子',
|
|
|
|
|
personalDocument: '个人文档',
|
|
|
|
|
businessDocument: '商务文档',
|
|
|
|
|
IMChat: 'IM 聊天记录',
|
|
|
|
|
wikipediaEntry: '维基百科条目',
|
|
|
|
|
notion: '从 Notion 同步的文档',
|
|
|
|
|
github: '从 Github 同步的代码',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
technicalParameters: '技术参数',
|
|
|
|
|
},
|
|
|
|
|
field: {
|
|
|
|
|
processRule: {
|
|
|
|
|
processDoc: '预处理文档',
|
|
|
|
|
segmentRule: '分段规则',
|
|
|
|
|
segmentLength: '分段长度',
|
|
|
|
|
processClean: '文本预处理与清洗',
|
|
|
|
|
},
|
|
|
|
|
book: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
title: '标题',
|
|
|
|
|
language: '语言',
|
|
|
|
|
author: '作者',
|
|
|
|
|
publisher: '出版商',
|
|
|
|
|
publicationDate: '出版日期',
|
|
|
|
|
ISBN: 'ISBN',
|
|
|
|
|
category: '类别',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
webPage: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
title: '标题',
|
|
|
|
|
url: '网址',
|
|
|
|
|
language: '语言',
|
|
|
|
|
authorPublisher: '作者/出版商',
|
|
|
|
|
publishDate: '发布日期',
|
|
|
|
|
topicsKeywords: '主题/关键词',
|
|
|
|
|
description: '描述',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
paper: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
title: '标题',
|
|
|
|
|
language: '语言',
|
|
|
|
|
author: '作者',
|
|
|
|
|
publishDate: '发布日期',
|
|
|
|
|
journalConferenceName: '期刊/会议名称',
|
|
|
|
|
volumeIssuePage: '卷/期/页码',
|
|
|
|
|
DOI: 'DOI',
|
|
|
|
|
topicsKeywords: '主题/关键词',
|
|
|
|
|
abstract: '摘要',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
socialMediaPost: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
platform: '平台',
|
|
|
|
|
authorUsername: '作者/用户名',
|
|
|
|
|
publishDate: '发布日期',
|
|
|
|
|
postURL: '帖子网址',
|
|
|
|
|
topicsTags: '主题/标签',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
personalDocument: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
title: '标题',
|
|
|
|
|
author: '作者',
|
|
|
|
|
creationDate: '创建日期',
|
|
|
|
|
lastModifiedDate: '最后修改日期',
|
|
|
|
|
documentType: '文档类型',
|
|
|
|
|
tagsCategory: '标签/类别',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
businessDocument: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
title: '标题',
|
|
|
|
|
author: '作者',
|
|
|
|
|
creationDate: '创建日期',
|
|
|
|
|
lastModifiedDate: '最后修改日期',
|
|
|
|
|
documentType: '文档类型',
|
|
|
|
|
departmentTeam: '部门/团队',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
IMChat: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
chatPlatform: '聊天平台',
|
|
|
|
|
chatPartiesGroupName: '聊天参与方/群组名称',
|
|
|
|
|
participants: '参与者',
|
|
|
|
|
startDate: '开始日期',
|
|
|
|
|
endDate: '结束日期',
|
|
|
|
|
topicsKeywords: '主题/关键词',
|
|
|
|
|
fileType: '文件类型',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
wikipediaEntry: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
title: '标题',
|
|
|
|
|
language: '语言',
|
|
|
|
|
webpageURL: '网页网址',
|
|
|
|
|
editorContributor: '编辑/贡献者',
|
|
|
|
|
lastEditDate: '最后编辑日期',
|
|
|
|
|
summaryIntroduction: '摘要/介绍',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
notion: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
title: '标题',
|
|
|
|
|
language: '语言',
|
|
|
|
|
author: '作者',
|
|
|
|
|
createdTime: '创建时间',
|
|
|
|
|
lastModifiedTime: '最后修改时间',
|
|
|
|
|
url: '网址',
|
|
|
|
|
tag: '标签',
|
|
|
|
|
description: '描述',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
github: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
repoName: '仓库名',
|
|
|
|
|
repoDesc: '仓库描述',
|
|
|
|
|
repoOwner: '仓库所有者',
|
|
|
|
|
fileName: '文件名',
|
|
|
|
|
filePath: '文件路径',
|
|
|
|
|
programmingLang: '编程语言',
|
|
|
|
|
url: '网址',
|
|
|
|
|
license: '许可证',
|
|
|
|
|
lastCommitTime: '最后提交时间',
|
|
|
|
|
lastCommitAuthor: '最后提交者',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
originInfo: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
originalFilename: '原始文件名称',
|
|
|
|
|
originalFileSize: '原始文件大小',
|
|
|
|
|
uploadDate: '上传日期',
|
|
|
|
|
lastUpdateDate: '最后更新日期',
|
|
|
|
|
source: '来源',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
technicalParameters: {
|
|
|
|
|
segmentSpecification: '分段规则',
|
|
|
|
|
segmentLength: '段落长度',
|
|
|
|
|
avgParagraphLength: '平均段落长度',
|
|
|
|
|
paragraphs: '段落数量',
|
|
|
|
|
hitCount: '命中次数',
|
|
|
|
|
embeddingTime: '嵌入时间',
|
|
|
|
|
embeddedSpend: '嵌入花费',
|
2023-06-08 15:23:38 +08:00
|
|
|
|
},
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
languageMap: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
zh: '中文',
|
|
|
|
|
en: '英文',
|
|
|
|
|
es: '西班牙语',
|
|
|
|
|
fr: '法语',
|
|
|
|
|
de: '德语',
|
|
|
|
|
ja: '日语',
|
|
|
|
|
ko: '韩语',
|
|
|
|
|
ru: '俄语',
|
|
|
|
|
ar: '阿拉伯语',
|
|
|
|
|
pt: '葡萄牙语',
|
|
|
|
|
it: '意大利语',
|
|
|
|
|
nl: '荷兰语',
|
|
|
|
|
pl: '波兰语',
|
|
|
|
|
sv: '瑞典语',
|
|
|
|
|
tr: '土耳其语',
|
|
|
|
|
he: '希伯来语',
|
|
|
|
|
hi: '印地语',
|
|
|
|
|
da: '丹麦语',
|
|
|
|
|
fi: '芬兰语',
|
|
|
|
|
no: '挪威语',
|
|
|
|
|
hu: '匈牙利语',
|
|
|
|
|
el: '希腊语',
|
|
|
|
|
cs: '捷克语',
|
|
|
|
|
th: '泰语',
|
|
|
|
|
id: '印度尼西亚语',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
categoryMap: {
|
|
|
|
|
book: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
fiction: '小说',
|
|
|
|
|
biography: '传记',
|
|
|
|
|
history: '历史',
|
|
|
|
|
science: '科学',
|
|
|
|
|
technology: '技术',
|
|
|
|
|
education: '教育',
|
|
|
|
|
philosophy: '哲学',
|
|
|
|
|
religion: '宗教',
|
|
|
|
|
socialSciences: '社会科学',
|
|
|
|
|
art: '艺术',
|
|
|
|
|
travel: '旅行',
|
|
|
|
|
health: '健康',
|
|
|
|
|
selfHelp: '自助',
|
|
|
|
|
businessEconomics: '商业/经济',
|
|
|
|
|
cooking: '烹饪',
|
|
|
|
|
childrenYoungAdults: '儿童/青少年',
|
|
|
|
|
comicsGraphicNovels: '漫画/图形小说',
|
|
|
|
|
poetry: '诗歌',
|
|
|
|
|
drama: '戏剧',
|
|
|
|
|
other: '其他',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
personalDoc: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
notes: '笔记',
|
|
|
|
|
blogDraft: '博客草稿',
|
|
|
|
|
diary: '日记',
|
|
|
|
|
researchReport: '研究报告',
|
|
|
|
|
bookExcerpt: '书籍摘录',
|
|
|
|
|
schedule: '日程安排',
|
|
|
|
|
list: '列表',
|
|
|
|
|
projectOverview: '项目概述',
|
|
|
|
|
photoCollection: '照片集',
|
|
|
|
|
creativeWriting: '创意写作',
|
|
|
|
|
codeSnippet: '代码片段',
|
|
|
|
|
designDraft: '设计草稿',
|
|
|
|
|
personalResume: '个人简历',
|
|
|
|
|
other: '其他',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
businessDoc: {
|
2023-06-08 15:23:38 +08:00
|
|
|
|
meetingMinutes: '会议纪要',
|
|
|
|
|
researchReport: '研究报告',
|
|
|
|
|
proposal: '提案',
|
|
|
|
|
employeeHandbook: '员工手册',
|
|
|
|
|
trainingMaterials: '培训材料',
|
|
|
|
|
requirementsDocument: '需求文档',
|
|
|
|
|
designDocument: '设计文档',
|
|
|
|
|
productSpecification: '产品规格',
|
|
|
|
|
financialReport: '财务报告',
|
|
|
|
|
marketAnalysis: '市场分析',
|
|
|
|
|
projectPlan: '项目计划',
|
|
|
|
|
teamStructure: '团队结构',
|
|
|
|
|
policiesProcedures: '政策和流程',
|
|
|
|
|
contractsAgreements: '合同和协议',
|
|
|
|
|
emailCorrespondence: '邮件往来',
|
|
|
|
|
other: '其他',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
embedding: {
|
|
|
|
|
processing: '嵌入处理中...',
|
|
|
|
|
paused: '嵌入已停止',
|
|
|
|
|
completed: '嵌入已完成',
|
|
|
|
|
error: '嵌入发生错误',
|
|
|
|
|
docName: '预处理文档',
|
|
|
|
|
mode: '分段规则',
|
|
|
|
|
segmentLength: '分段长度',
|
|
|
|
|
textCleaning: '文本预定义与清洗',
|
|
|
|
|
segments: '段落',
|
|
|
|
|
highQuality: '高质量模式',
|
|
|
|
|
economy: '经济模式',
|
|
|
|
|
estimate: '预估消耗',
|
|
|
|
|
stop: '停止处理',
|
|
|
|
|
resume: '恢复处理',
|
|
|
|
|
automatic: '自动',
|
|
|
|
|
custom: '自定义',
|
2023-06-08 15:23:38 +08:00
|
|
|
|
previewTip: '段落预览将在嵌入完成后可用',
|
2023-05-15 08:51:32 +08:00
|
|
|
|
},
|
|
|
|
|
segment: {
|
|
|
|
|
paragraphs: '段落',
|
|
|
|
|
keywords: '关键词',
|
|
|
|
|
characters: '字符',
|
|
|
|
|
hitCount: '命中次数',
|
|
|
|
|
vectorHash: '向量哈希:',
|
2023-06-08 15:23:38 +08:00
|
|
|
|
},
|
|
|
|
|
}
|
2023-05-15 08:51:32 +08:00
|
|
|
|
|
2023-06-08 15:23:38 +08:00
|
|
|
|
export default translation
|