Chore: change dataset's i18n to knowledge (#1629)

This commit is contained in:
Joel
2023-11-27 17:22:16 +08:00
committed by GitHub
parent 80ddb00f10
commit 7bbfac5dba
18 changed files with 256 additions and 256 deletions

View File

@@ -1,7 +1,7 @@
const translation = {
list: {
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.',
desc: 'All files of the Knowledge are shown here, and the entire Knowledge can be linked to Dify citations or indexed via the Chat plugin.',
addFile: 'add file',
addPages: 'Add Pages',
table: {
@@ -17,8 +17,8 @@ const translation = {
action: {
uploadFile: 'Upload new file',
settings: 'Segment settings',
addButton: 'Add segment',
add: 'Add a segment',
addButton: 'Add chunk',
add: 'Add a chunk',
batchAdd: 'Batch add',
archive: 'Archive',
unarchive: 'Unarchive',
@@ -57,13 +57,13 @@ const translation = {
content: 'If you need to resume processing later, you will continue from where you left off',
},
batchModal: {
title: 'Batch add segments',
title: 'Batch add chunks',
csvUploadTitle: 'Drag and drop your CSV file here, or ',
browse: 'browse',
tip: 'The CSV file must conform to the following structure:',
question: 'question',
answer: 'answer',
contentTitle: 'segment content',
contentTitle: 'chunk content',
content: 'content',
template: 'Download the template here',
cancel: 'Cancel',
@@ -109,8 +109,8 @@ const translation = {
field: {
processRule: {
processDoc: 'Process Document',
segmentRule: 'Segment Rule',
segmentLength: 'Segment Length',
segmentRule: 'Chunk Rule',
segmentLength: 'Chunks Length',
processClean: 'Text Process Clean',
},
book: {
@@ -212,8 +212,8 @@ const translation = {
source: 'Source',
},
technicalParameters: {
segmentSpecification: 'Segment specification',
segmentLength: 'Segment length',
segmentSpecification: 'Chunks specification',
segmentLength: 'Chunks length',
avgParagraphLength: 'Avg. paragraph length',
paragraphs: 'Paragraphs',
hitCount: 'Retrieval count',
@@ -314,7 +314,7 @@ const translation = {
error: 'Embedding error',
docName: 'Preprocessing document',
mode: 'Segmentation rule',
segmentLength: 'Segmentation length',
segmentLength: 'Chunks length',
textCleaning: 'Text pre-definition and cleaning',
segments: 'Paragraphs',
highQuality: 'High-quality mode',
@@ -342,7 +342,7 @@ const translation = {
contentEmpty: 'Content can not be empty',
newTextSegment: 'New Text Segment',
newQaSegment: 'New Q&A Segment',
delete: 'Delete this segment ?',
delete: 'Delete this chunk ?',
},
}