2023-05-15 08:51:32 +08:00
const translation = {
list : {
2023-06-08 15:23:38 +08:00
title : 'Documents' ,
2023-11-27 17:22:16 +08:00
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.' ,
2024-12-26 12:01:51 +08:00
learnMore : 'Learn more' ,
2024-06-14 22:02:41 +08:00
addFile : 'Add file' ,
2023-06-16 21:47:51 +08:00
addPages : 'Add Pages' ,
2024-06-14 22:02:41 +08:00
addUrl : 'Add URL' ,
2023-05-15 08:51:32 +08:00
table : {
header : {
2024-12-26 12:01:51 +08:00
fileName : 'NAME' ,
chunkingMode : 'CHUNKING MODE' ,
2023-06-08 15:23:38 +08:00
words : 'WORDS' ,
2023-11-18 11:53:35 +08:00
hitCount : 'RETRIEVAL COUNT' ,
2023-06-08 15:23:38 +08:00
uploadTime : 'UPLOAD TIME' ,
status : 'STATUS' ,
action : 'ACTION' ,
2023-05-15 08:51:32 +08:00
} ,
2024-06-04 15:10:34 +08:00
rename : 'Rename' ,
name : 'Name' ,
2023-05-15 08:51:32 +08:00
} ,
action : {
uploadFile : 'Upload new file' ,
2024-12-26 12:01:51 +08:00
settings : 'Chunking Settings' ,
2023-11-27 17:22:16 +08:00
addButton : 'Add chunk' ,
add : 'Add a chunk' ,
2023-08-18 17:37:31 +08:00
batchAdd : 'Batch add' ,
2023-05-15 08:51:32 +08:00
archive : 'Archive' ,
2023-08-18 17:37:31 +08:00
unarchive : 'Unarchive' ,
2023-06-08 15:23:38 +08:00
delete : 'Delete' ,
2023-05-15 08:51:32 +08:00
enableWarning : 'Archived file cannot be enabled' ,
2023-06-16 21:47:51 +08:00
sync : 'Sync' ,
2023-05-15 08:51:32 +08:00
} ,
index : {
enable : 'Enable' ,
disable : 'Disable' ,
all : 'All' ,
enableTip : 'The file can be indexed' ,
disableTip : 'The file cannot be indexed' ,
} ,
status : {
queuing : 'Queuing' ,
indexing : 'Indexing' ,
2023-07-06 10:51:30 +08:00
paused : 'Paused' ,
2023-05-15 08:51:32 +08:00
error : 'Error' ,
available : 'Available' ,
enabled : 'Enabled' ,
disabled : 'Disabled' ,
archived : 'Archived' ,
} ,
empty : {
2023-06-08 15:23:38 +08:00
title : 'There is no documentation yet' ,
2023-05-15 08:51:32 +08:00
upload : {
2023-06-08 15:23:38 +08:00
tip : 'You can upload files, sync from the website, or from webb apps like Notion, GitHub, etc.' ,
2023-05-15 08:51:32 +08:00
} ,
sync : {
2023-06-08 15:23:38 +08:00
tip : 'Dify will periodically download files from your Notion and complete processing.' ,
2023-05-15 08:51:32 +08:00
} ,
} ,
delete : {
title : 'Are you sure Delete?' ,
2023-06-08 15:23:38 +08:00
content : 'If you need to resume processing later, you will continue from where you left off' ,
} ,
2023-08-18 17:37:31 +08:00
batchModal : {
2023-11-27 17:22:16 +08:00
title : 'Batch add chunks' ,
2023-08-18 17:37:31 +08:00
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' ,
2023-11-27 17:22:16 +08:00
contentTitle : 'chunk content' ,
2023-08-18 17:37:31 +08:00
content : 'content' ,
template : 'Download the template here' ,
cancel : 'Cancel' ,
run : 'Run Batch' ,
runError : 'Run batch failed' ,
processing : 'In batch processing' ,
completed : 'Import completed' ,
error : 'Import Error' ,
ok : 'OK' ,
} ,
2023-05-15 08:51:32 +08:00
} ,
metadata : {
2023-06-08 15:23:38 +08:00
title : 'Metadata' ,
desc : 'Labeling metadata for documents allows AI to access them in a timely manner and exposes the source of references for users.' ,
2023-05-15 08:51:32 +08:00
dateTimeFormat : 'MMMM D, YYYY hh:mm A' ,
2023-06-08 15:23:38 +08:00
docTypeSelectTitle : 'Please select a document type' ,
docTypeChangeTitle : 'Change document type' ,
2023-05-15 08:51:32 +08:00
docTypeSelectWarning :
2023-06-08 15:23:38 +08:00
'If the document type is changed, the now filled metadata will no longer be preserved' ,
firstMetaAction : 'Let\'s go' ,
2023-05-15 08:51:32 +08:00
placeholder : {
add : 'Add ' ,
select : 'Select ' ,
} ,
source : {
upload_file : 'Upload File' ,
2023-06-08 15:23:38 +08:00
notion : 'Sync form Notion' ,
github : 'Sync form Github' ,
2023-05-15 08:51:32 +08:00
} ,
type : {
2023-06-08 15:23:38 +08:00
book : 'Book' ,
webPage : 'Web Page' ,
paper : 'Paper' ,
socialMediaPost : 'Social Media Post' ,
personalDocument : 'Personal Document' ,
businessDocument : 'Business Document' ,
IMChat : 'IM Chat' ,
wikipediaEntry : 'Wikipedia Entry' ,
notion : 'Sync form Notion' ,
github : 'Sync form Github' ,
2023-05-15 08:51:32 +08:00
technicalParameters : 'Technical Parameters' ,
} ,
field : {
processRule : {
processDoc : 'Process Document' ,
2023-11-27 17:22:16 +08:00
segmentRule : 'Chunk Rule' ,
segmentLength : 'Chunks Length' ,
2023-05-15 08:51:32 +08:00
processClean : 'Text Process Clean' ,
} ,
book : {
2023-06-08 15:23:38 +08:00
title : 'Title' ,
language : 'Language' ,
author : 'Author' ,
publisher : 'Publisher' ,
publicationDate : 'Publication Date' ,
ISBN : 'ISBN' ,
category : 'Category' ,
2023-05-15 08:51:32 +08:00
} ,
webPage : {
2023-06-08 15:23:38 +08:00
title : 'Title' ,
url : 'URL' ,
language : 'Language' ,
authorPublisher : 'Author/Publisher' ,
publishDate : 'Publish Date' ,
topicsKeywords : 'Topics/Keywords' ,
description : 'Description' ,
2023-05-15 08:51:32 +08:00
} ,
paper : {
2023-06-08 15:23:38 +08:00
title : 'Title' ,
language : 'Language' ,
author : 'Author' ,
publishDate : 'Publish Date' ,
journalConferenceName : 'Journal/Conference Name' ,
volumeIssuePage : 'Volume/Issue/Page' ,
DOI : 'DOI' ,
topicsKeywords : 'Topics/Keywords' ,
abstract : 'Abstract' ,
2023-05-15 08:51:32 +08:00
} ,
socialMediaPost : {
2023-06-08 15:23:38 +08:00
platform : 'Platform' ,
authorUsername : 'Author/Username' ,
publishDate : 'Publish Date' ,
postURL : 'Post URL' ,
topicsTags : 'Topics/Tags' ,
2023-05-15 08:51:32 +08:00
} ,
personalDocument : {
2023-06-08 15:23:38 +08:00
title : 'Title' ,
author : 'Author' ,
creationDate : 'Creation Date' ,
lastModifiedDate : 'Last Modified Date' ,
documentType : 'Document Type' ,
tagsCategory : 'Tags/Category' ,
2023-05-15 08:51:32 +08:00
} ,
businessDocument : {
2023-06-08 15:23:38 +08:00
title : 'Title' ,
author : 'Author' ,
creationDate : 'Creation Date' ,
lastModifiedDate : 'Last Modified Date' ,
documentType : 'Document Type' ,
departmentTeam : 'Department/Team' ,
2023-05-15 08:51:32 +08:00
} ,
IMChat : {
2023-06-08 15:23:38 +08:00
chatPlatform : 'Chat Platform' ,
chatPartiesGroupName : 'Chat Parties/Group Name' ,
participants : 'Participants' ,
startDate : 'Start Date' ,
endDate : 'End Date' ,
topicsKeywords : 'Topics/Keywords' ,
fileType : 'File Type' ,
2023-05-15 08:51:32 +08:00
} ,
wikipediaEntry : {
2023-06-08 15:23:38 +08:00
title : 'Title' ,
language : 'Language' ,
webpageURL : 'Webpage URL' ,
editorContributor : 'Editor/Contributor' ,
lastEditDate : 'Last Edit Date' ,
summaryIntroduction : 'Summary/Introduction' ,
2023-05-15 08:51:32 +08:00
} ,
notion : {
2023-06-08 15:23:38 +08:00
title : 'Title' ,
language : 'Language' ,
author : 'Author' ,
createdTime : 'Created Time' ,
lastModifiedTime : 'Last Modified Time' ,
url : 'URL' ,
tag : 'Tag' ,
description : 'Description' ,
2023-05-15 08:51:32 +08:00
} ,
github : {
2023-06-08 15:23:38 +08:00
repoName : 'Repo Name' ,
repoDesc : 'Repo Description' ,
repoOwner : 'Repo Owner' ,
fileName : 'File Name' ,
filePath : 'File Path' ,
programmingLang : 'Programming Language' ,
url : 'URL' ,
license : 'License' ,
lastCommitTime : 'Last Commit Time' ,
lastCommitAuthor : 'Last Commit Author' ,
2023-05-15 08:51:32 +08:00
} ,
originInfo : {
2023-06-08 15:23:38 +08:00
originalFilename : 'Original filename' ,
originalFileSize : 'Original file size' ,
uploadDate : 'Upload date' ,
lastUpdateDate : 'Last update date' ,
source : 'Source' ,
2023-05-15 08:51:32 +08:00
} ,
technicalParameters : {
2023-11-27 17:22:16 +08:00
segmentSpecification : 'Chunks specification' ,
segmentLength : 'Chunks length' ,
2023-05-15 08:51:32 +08:00
avgParagraphLength : 'Avg. paragraph length' ,
paragraphs : 'Paragraphs' ,
2023-11-18 11:53:35 +08:00
hitCount : 'Retrieval count' ,
2023-05-15 08:51:32 +08:00
embeddingTime : 'Embedding time' ,
2023-06-08 15:23:38 +08:00
embeddedSpend : 'Embedded spend' ,
} ,
2023-05-15 08:51:32 +08:00
} ,
languageMap : {
2023-06-08 15:23:38 +08:00
zh : 'Chinese' ,
en : 'English' ,
es : 'Spanish' ,
fr : 'French' ,
de : 'German' ,
ja : 'Japanese' ,
ko : 'Korean' ,
ru : 'Russian' ,
ar : 'Arabic' ,
pt : 'Portuguese' ,
it : 'Italian' ,
nl : 'Dutch' ,
pl : 'Polish' ,
sv : 'Swedish' ,
tr : 'Turkish' ,
he : 'Hebrew' ,
hi : 'Hindi' ,
da : 'Danish' ,
fi : 'Finnish' ,
no : 'Norwegian' ,
hu : 'Hungarian' ,
el : 'Greek' ,
cs : 'Czech' ,
th : 'Thai' ,
id : 'Indonesian' ,
2023-05-15 08:51:32 +08:00
} ,
categoryMap : {
book : {
2023-06-08 15:23:38 +08:00
fiction : 'Fiction' ,
biography : 'Biography' ,
history : 'History' ,
science : 'Science' ,
technology : 'Technology' ,
education : 'Education' ,
philosophy : 'Philosophy' ,
religion : 'Religion' ,
socialSciences : 'SocialSciences' ,
art : 'Art' ,
travel : 'Travel' ,
health : 'Health' ,
selfHelp : 'SelfHelp' ,
businessEconomics : 'BusinessEconomics' ,
cooking : 'Cooking' ,
childrenYoungAdults : 'ChildrenYoungAdults' ,
comicsGraphicNovels : 'ComicsGraphicNovels' ,
poetry : 'Poetry' ,
drama : 'Drama' ,
other : 'Other' ,
2023-05-15 08:51:32 +08:00
} ,
personalDoc : {
2023-06-08 15:23:38 +08:00
notes : 'Notes' ,
blogDraft : 'Blog Draft' ,
diary : 'Diary' ,
researchReport : 'Research Report' ,
bookExcerpt : 'Book Excerpt' ,
schedule : 'Schedule' ,
list : 'List' ,
projectOverview : 'Project Overview' ,
photoCollection : 'Photo Collection' ,
creativeWriting : 'Creative Writing' ,
codeSnippet : 'Code Snippet' ,
designDraft : 'Design Draft' ,
personalResume : 'Personal Resume' ,
other : 'Other' ,
2023-05-15 08:51:32 +08:00
} ,
businessDoc : {
2023-06-08 15:23:38 +08:00
meetingMinutes : 'Meeting Minutes' ,
researchReport : 'Research Report' ,
proposal : 'Proposal' ,
employeeHandbook : 'Employee Handbook' ,
trainingMaterials : 'Training Materials' ,
requirementsDocument : 'Requirements Document' ,
designDocument : 'Design Document' ,
productSpecification : 'Product Specification' ,
financialReport : 'Financial Report' ,
marketAnalysis : 'Market Analysis' ,
projectPlan : 'Project Plan' ,
teamStructure : 'Team Structure' ,
policiesProcedures : 'Policies & Procedures' ,
contractsAgreements : 'Contracts & Agreements' ,
emailCorrespondence : 'Email Correspondence' ,
other : 'Other' ,
2023-05-15 08:51:32 +08:00
} ,
} ,
} ,
embedding : {
processing : 'Embedding processing...' ,
paused : 'Embedding paused' ,
completed : 'Embedding completed' ,
error : 'Embedding error' ,
docName : 'Preprocessing document' ,
2024-12-26 12:01:51 +08:00
mode : 'Chunking Setting' ,
segmentLength : 'Maximum Chunk Length' ,
textCleaning : 'Text Preprocessing Rules' ,
2023-05-15 08:51:32 +08:00
segments : 'Paragraphs' ,
highQuality : 'High-quality mode' ,
economy : 'Economy mode' ,
estimate : 'Estimated consumption' ,
stop : 'Stop processing' ,
2024-12-26 12:01:51 +08:00
pause : 'Pause' ,
resume : 'Resume' ,
2023-05-15 08:51:32 +08:00
automatic : 'Automatic' ,
custom : 'Custom' ,
2024-12-26 12:01:51 +08:00
hierarchical : 'Parent-child' ,
2023-06-08 15:23:38 +08:00
previewTip : 'Paragraph preview will be available after embedding is complete' ,
2024-12-26 12:01:51 +08:00
parentMaxTokens : 'Parent' ,
childMaxTokens : 'Child' ,
2023-05-15 08:51:32 +08:00
} ,
segment : {
paragraphs : 'Paragraphs' ,
2024-12-26 12:01:51 +08:00
chunks_one : 'CHUNK' ,
chunks_other : 'CHUNKS' ,
parentChunks_one : 'PARENT CHUNK' ,
parentChunks_other : 'PARENT CHUNKS' ,
childChunks_one : 'CHILD CHUNK' ,
childChunks_other : 'CHILD CHUNKS' ,
searchResults_zero : 'RESULT' ,
searchResults_one : 'RESULT' ,
searchResults_other : 'RESULTS' ,
empty : 'No Chunk found' ,
clearFilter : 'Clear filter' ,
chunk : 'Chunk' ,
parentChunk : 'Parent-Chunk' ,
newChunk : 'New Chunk' ,
childChunk : 'Child-Chunk' ,
newChildChunk : 'New Child Chunk' ,
keywords : 'KEYWORDS' ,
addKeyWord : 'Add keyword' ,
2023-08-18 17:18:58 +08:00
keywordError : 'The maximum length of keyword is 20' ,
2024-12-26 12:01:51 +08:00
characters_one : 'character' ,
characters_other : 'characters' ,
2023-11-18 11:53:35 +08:00
hitCount : 'Retrieval count' ,
2023-05-15 08:51:32 +08:00
vectorHash : 'Vector hash: ' ,
2024-12-26 12:01:51 +08:00
questionPlaceholder : 'Add question here' ,
2023-07-28 20:47:15 +08:00
questionEmpty : 'Question can not be empty' ,
2024-12-26 12:01:51 +08:00
answerPlaceholder : 'Add answer here' ,
2023-07-28 20:47:15 +08:00
answerEmpty : 'Answer can not be empty' ,
2024-12-26 12:01:51 +08:00
contentPlaceholder : 'Add content here' ,
2023-07-28 20:47:15 +08:00
contentEmpty : 'Content can not be empty' ,
newTextSegment : 'New Text Segment' ,
newQaSegment : 'New Q&A Segment' ,
2024-12-26 12:01:51 +08:00
addChunk : 'Add Chunk' ,
addChildChunk : 'Add Child Chunk' ,
addAnother : 'Add another' ,
2023-11-27 17:22:16 +08:00
delete : 'Delete this chunk ?' ,
2024-12-26 12:01:51 +08:00
chunkAdded : '1 chunk added' ,
childChunkAdded : '1 child chunk added' ,
editChunk : 'Edit Chunk' ,
editParentChunk : 'Edit Parent Chunk' ,
editChildChunk : 'Edit Child Chunk' ,
chunkDetail : 'Chunk Detail' ,
regenerationConfirmTitle : 'Do you want to regenerate child chunks?' ,
regenerationConfirmMessage : 'Regenerating child chunks will overwrite the current child chunks, including edited chunks and newly added chunks. The regeneration cannot be undone.' ,
regeneratingTitle : 'Regenerating child chunks' ,
regeneratingMessage : 'This may take a moment, please wait...' ,
regenerationSuccessTitle : 'Regeneration completed' ,
regenerationSuccessMessage : 'You can close this window.' ,
edited : 'EDITED' ,
editedAt : 'Edited at' ,
expandChunks : 'Expand chunks' ,
collapseChunks : 'Collapse chunks' ,
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