dify/web/i18n/en-US/dataset-documents.ts

352 lines
10 KiB
TypeScript
Raw Normal View History

2023-05-15 08:51:32 +08:00
const translation = {
list: {
2023-06-08 15:23:38 +08:00
title: 'Documents',
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.',
2023-06-08 15:23:38 +08:00
addFile: 'add file',
addPages: 'Add Pages',
2023-05-15 08:51:32 +08:00
table: {
header: {
2023-06-08 15:23:38 +08:00
fileName: 'FILE NAME',
words: 'WORDS',
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
},
rename: 'Rename',
name: 'Name',
2023-05-15 08:51:32 +08:00
},
action: {
uploadFile: 'Upload new file',
settings: 'Segment settings',
addButton: 'Add chunk',
add: 'Add a chunk',
batchAdd: 'Batch add',
2023-05-15 08:51:32 +08:00
archive: 'Archive',
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',
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',
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',
},
batchModal: {
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: 'chunk content',
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',
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: {
segmentSpecification: 'Chunks specification',
segmentLength: 'Chunks length',
2023-05-15 08:51:32 +08:00
avgParagraphLength: 'Avg. paragraph length',
paragraphs: 'Paragraphs',
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',
mode: 'Segmentation rule',
segmentLength: 'Chunks length',
2023-05-15 08:51:32 +08:00
textCleaning: 'Text pre-definition and cleaning',
segments: 'Paragraphs',
highQuality: 'High-quality mode',
economy: 'Economy mode',
estimate: 'Estimated consumption',
stop: 'Stop processing',
resume: 'Resume processing',
automatic: 'Automatic',
custom: 'Custom',
2023-06-08 15:23:38 +08:00
previewTip: 'Paragraph preview will be available after embedding is complete',
2023-05-15 08:51:32 +08:00
},
segment: {
paragraphs: 'Paragraphs',
keywords: 'Key Words',
2023-08-18 17:18:58 +08:00
addKeyWord: 'Add key word',
keywordError: 'The maximum length of keyword is 20',
2023-05-15 08:51:32 +08:00
characters: 'characters',
hitCount: 'Retrieval count',
2023-05-15 08:51:32 +08:00
vectorHash: 'Vector hash: ',
questionPlaceholder: 'add question here',
questionEmpty: 'Question can not be empty',
answerPlaceholder: 'add answer here',
answerEmpty: 'Answer can not be empty',
contentPlaceholder: 'add content here',
contentEmpty: 'Content can not be empty',
newTextSegment: 'New Text Segment',
newQaSegment: 'New Q&A Segment',
delete: 'Delete this chunk ?',
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