mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 16:26:25 +08:00
Feat/dataset notion import (#392)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com> Co-authored-by: JzoNg <jzongcode@gmail.com>
This commit is contained in:
@@ -87,6 +87,7 @@ const translation = {
|
||||
integrations: 'Integrations',
|
||||
language: 'Language',
|
||||
provider: 'Model Provider',
|
||||
dataSource: 'Data Source',
|
||||
},
|
||||
account: {
|
||||
avatar: 'Avatar',
|
||||
@@ -172,6 +173,29 @@ const translation = {
|
||||
back: ' technology.',
|
||||
},
|
||||
},
|
||||
dataSource: {
|
||||
add: 'Add a data source',
|
||||
connect: 'Connect',
|
||||
notion: {
|
||||
title: 'Notion',
|
||||
description: 'Using Notion as a data source for the dataset.',
|
||||
connectedWorkspace: 'Connected workspace',
|
||||
addWorkspace: 'Add workspace',
|
||||
connected: 'Connected',
|
||||
disconnected: 'Disconnected',
|
||||
changeAuthorizedPages: 'Change authorized pages',
|
||||
pagesAuthorized: 'Pages authorized',
|
||||
sync: 'Sync',
|
||||
remove: 'Remove',
|
||||
selector: {
|
||||
pageSelected: 'Pages Selected',
|
||||
searchPages: 'Search pages...',
|
||||
noSearchResult: 'No search resluts',
|
||||
addPages: 'Add pages',
|
||||
preview: 'PREVIEW',
|
||||
},
|
||||
},
|
||||
},
|
||||
about: {
|
||||
changeLog: 'Changlog',
|
||||
updateNow: 'Update now',
|
||||
|
||||
@@ -87,6 +87,7 @@ const translation = {
|
||||
integrations: '集成',
|
||||
language: '语言',
|
||||
provider: '模型供应商',
|
||||
dataSource: '数据来源',
|
||||
},
|
||||
account: {
|
||||
avatar: '头像',
|
||||
@@ -173,6 +174,29 @@ const translation = {
|
||||
back: ' 技术进行加密和存储。',
|
||||
},
|
||||
},
|
||||
dataSource: {
|
||||
add: '添加数据源',
|
||||
connect: '绑定',
|
||||
notion: {
|
||||
title: 'Notion',
|
||||
description: '使用 Notion 作为数据集的数据源。',
|
||||
connectedWorkspace: '已绑定工作空间',
|
||||
addWorkspace: '添加工作空间',
|
||||
connected: '已绑定',
|
||||
disconnected: '未绑定',
|
||||
changeAuthorizedPages: '更改授权页面',
|
||||
pagesAuthorized: '已授权页面',
|
||||
sync: '同步',
|
||||
remove: '删除',
|
||||
selector: {
|
||||
pageSelected: '已选页面',
|
||||
searchPages: '搜索页面...',
|
||||
noSearchResult: '无搜索结果',
|
||||
addPages: '添加页面',
|
||||
preview: '预览',
|
||||
},
|
||||
},
|
||||
},
|
||||
about: {
|
||||
changeLog: '更新日志',
|
||||
updateNow: '现在更新',
|
||||
|
||||
@@ -13,6 +13,7 @@ const translation = {
|
||||
},
|
||||
stepOne: {
|
||||
filePreview: 'File Preview',
|
||||
pagePreview: 'Page Preview',
|
||||
dataSourceType: {
|
||||
file: 'Import from text file',
|
||||
notion: 'Sync from Notion',
|
||||
@@ -32,6 +33,9 @@ const translation = {
|
||||
change: 'Change',
|
||||
failed: 'Upload failed',
|
||||
},
|
||||
notionSyncTitle: 'Notion is not connected',
|
||||
notionSyncTip: 'To sync with Notion, connection to Notion must be established first.',
|
||||
connect: 'Go to connect',
|
||||
button: 'next',
|
||||
emptyDatasetCreation: 'I want to create an empty dataset',
|
||||
modal: {
|
||||
@@ -73,7 +77,11 @@ const translation = {
|
||||
emstimateSegment: 'Estimated segments',
|
||||
segmentCount: 'segments',
|
||||
calculating: 'Calculating...',
|
||||
fileName: 'Preprocess document',
|
||||
fileSource: 'Preprocess documents',
|
||||
notionSource: 'Preprocess pages',
|
||||
other: 'and other ',
|
||||
fileUnit: ' files',
|
||||
notionUnit: ' pages',
|
||||
lastStep: 'Last step',
|
||||
nextStep: 'Save & Process',
|
||||
save: 'Save & Process',
|
||||
|
||||
@@ -13,6 +13,7 @@ const translation = {
|
||||
},
|
||||
stepOne: {
|
||||
filePreview: '文件预览',
|
||||
pagePreview: '页面预览',
|
||||
dataSourceType: {
|
||||
file: '导入已有文本',
|
||||
notion: '同步自 Notion 内容',
|
||||
@@ -32,6 +33,9 @@ const translation = {
|
||||
change: '更改文件',
|
||||
failed: '上传失败',
|
||||
},
|
||||
notionSyncTitle: 'Notion 未绑定',
|
||||
notionSyncTip: '同步 Notion 内容前,须先绑定 Notion 空间',
|
||||
connect: '去绑定',
|
||||
button: '下一步',
|
||||
emptyDatasetCreation: '创建一个空数据集',
|
||||
modal: {
|
||||
@@ -73,7 +77,11 @@ const translation = {
|
||||
emstimateSegment: '预估分段数',
|
||||
segmentCount: '段',
|
||||
calculating: '计算中...',
|
||||
fileName: '预处理文档',
|
||||
fileSource: '预处理文档',
|
||||
notionSource: '预处理页面',
|
||||
other: '和其他 ',
|
||||
fileUnit: ' 个文件',
|
||||
notionUnit: ' 个页面',
|
||||
lastStep: '上一步',
|
||||
nextStep: '保存并处理',
|
||||
save: '保存并处理',
|
||||
|
||||
@@ -3,6 +3,7 @@ const translation = {
|
||||
title: 'Documents',
|
||||
desc: 'All files of the dataset are shown here, and the entire dataset can be linked to Dify citations or indexed via the Chat plugin.',
|
||||
addFile: 'add file',
|
||||
addPages: 'Add Pages',
|
||||
table: {
|
||||
header: {
|
||||
fileName: 'FILE NAME',
|
||||
@@ -19,6 +20,7 @@ const translation = {
|
||||
archive: 'Archive',
|
||||
delete: 'Delete',
|
||||
enableWarning: 'Archived file cannot be enabled',
|
||||
sync: 'Sync',
|
||||
},
|
||||
index: {
|
||||
enable: 'Enable',
|
||||
|
||||
@@ -3,6 +3,7 @@ const translation = {
|
||||
title: '文档',
|
||||
desc: '数据集的所有文件都在这里显示,整个数据集都可以链接到 Dify 引用或通过 Chat 插件进行索引。',
|
||||
addFile: '添加文件',
|
||||
addPages: '添加页面',
|
||||
table: {
|
||||
header: {
|
||||
fileName: '文件名',
|
||||
@@ -19,6 +20,7 @@ const translation = {
|
||||
archive: '归档',
|
||||
delete: '删除',
|
||||
enableWarning: '归档的文件无法启用',
|
||||
sync: '同步',
|
||||
},
|
||||
index: {
|
||||
enable: '启用中',
|
||||
|
||||
Reference in New Issue
Block a user