|
@@ -1,23 +1,23 @@
|
|
|
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.",
|
|
|
- addFile: "add file",
|
|
|
+ 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',
|
|
|
table: {
|
|
|
header: {
|
|
|
- fileName: "FILE NAME",
|
|
|
- words: "WORDS",
|
|
|
- hitCount: "HIT COUNT",
|
|
|
- uploadTime: "UPLOAD TIME",
|
|
|
- status: "STATUS",
|
|
|
- action: "ACTION",
|
|
|
+ fileName: 'FILE NAME',
|
|
|
+ words: 'WORDS',
|
|
|
+ hitCount: 'HIT COUNT',
|
|
|
+ uploadTime: 'UPLOAD TIME',
|
|
|
+ status: 'STATUS',
|
|
|
+ action: 'ACTION',
|
|
|
},
|
|
|
},
|
|
|
action: {
|
|
|
uploadFile: 'Upload new file',
|
|
|
settings: 'Segment settings',
|
|
|
archive: 'Archive',
|
|
|
- delete: "Delete",
|
|
|
+ delete: 'Delete',
|
|
|
enableWarning: 'Archived file cannot be enabled',
|
|
|
},
|
|
|
index: {
|
|
@@ -38,48 +38,48 @@ const translation = {
|
|
|
archived: 'Archived',
|
|
|
},
|
|
|
empty: {
|
|
|
- title: "There is no documentation yet",
|
|
|
+ title: 'There is no documentation yet',
|
|
|
upload: {
|
|
|
- tip: "You can upload files, sync from the website, or from webb apps like Notion, GitHub, etc.",
|
|
|
+ tip: 'You can upload files, sync from the website, or from webb apps like Notion, GitHub, etc.',
|
|
|
},
|
|
|
sync: {
|
|
|
- tip: "Dify will periodically download files from your Notion and complete processing.",
|
|
|
+ tip: 'Dify will periodically download files from your Notion and complete processing.',
|
|
|
},
|
|
|
},
|
|
|
delete: {
|
|
|
title: 'Are you sure Delete?',
|
|
|
- content: 'If you need to resume processing later, you will continue from where you left off'
|
|
|
- }
|
|
|
+ content: 'If you need to resume processing later, you will continue from where you left off',
|
|
|
+ },
|
|
|
},
|
|
|
metadata: {
|
|
|
- title: "Metadata",
|
|
|
- desc: "Labeling metadata for documents allows AI to access them in a timely manner and exposes the source of references for users.",
|
|
|
+ title: 'Metadata',
|
|
|
+ desc: 'Labeling metadata for documents allows AI to access them in a timely manner and exposes the source of references for users.',
|
|
|
dateTimeFormat: 'MMMM D, YYYY hh:mm A',
|
|
|
- docTypeSelectTitle: "Please select a document type",
|
|
|
- docTypeChangeTitle: "Change document type",
|
|
|
+ docTypeSelectTitle: 'Please select a document type',
|
|
|
+ docTypeChangeTitle: 'Change document type',
|
|
|
docTypeSelectWarning:
|
|
|
- "If the document type is changed, the now filled metadata will no longer be preserved",
|
|
|
- firstMetaAction: "Let's go",
|
|
|
+ 'If the document type is changed, the now filled metadata will no longer be preserved',
|
|
|
+ firstMetaAction: 'Let\'s go',
|
|
|
placeholder: {
|
|
|
add: 'Add ',
|
|
|
select: 'Select ',
|
|
|
},
|
|
|
source: {
|
|
|
upload_file: 'Upload File',
|
|
|
- notion: "Sync form Notion",
|
|
|
- github: "Sync form Github",
|
|
|
+ notion: 'Sync form Notion',
|
|
|
+ github: 'Sync form Github',
|
|
|
},
|
|
|
type: {
|
|
|
- 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",
|
|
|
+ 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',
|
|
|
technicalParameters: 'Technical Parameters',
|
|
|
},
|
|
|
field: {
|
|
@@ -90,102 +90,102 @@ const translation = {
|
|
|
processClean: 'Text Process Clean',
|
|
|
},
|
|
|
book: {
|
|
|
- title: "Title",
|
|
|
- language: "Language",
|
|
|
- author: "Author",
|
|
|
- publisher: "Publisher",
|
|
|
- publicationDate: "Publication Date",
|
|
|
- ISBN: "ISBN",
|
|
|
- category: "Category",
|
|
|
+ title: 'Title',
|
|
|
+ language: 'Language',
|
|
|
+ author: 'Author',
|
|
|
+ publisher: 'Publisher',
|
|
|
+ publicationDate: 'Publication Date',
|
|
|
+ ISBN: 'ISBN',
|
|
|
+ category: 'Category',
|
|
|
},
|
|
|
webPage: {
|
|
|
- title: "Title",
|
|
|
- url: "URL",
|
|
|
- language: "Language",
|
|
|
- authorPublisher: "Author/Publisher",
|
|
|
- publishDate: "Publish Date",
|
|
|
- topicsKeywords: "Topics/Keywords",
|
|
|
- description: "Description",
|
|
|
+ title: 'Title',
|
|
|
+ url: 'URL',
|
|
|
+ language: 'Language',
|
|
|
+ authorPublisher: 'Author/Publisher',
|
|
|
+ publishDate: 'Publish Date',
|
|
|
+ topicsKeywords: 'Topics/Keywords',
|
|
|
+ description: 'Description',
|
|
|
},
|
|
|
paper: {
|
|
|
- title: "Title",
|
|
|
- language: "Language",
|
|
|
- author: "Author",
|
|
|
- publishDate: "Publish Date",
|
|
|
- journalConferenceName: "Journal/Conference Name",
|
|
|
- volumeIssuePage: "Volume/Issue/Page",
|
|
|
- DOI: "DOI",
|
|
|
- topicsKeywords: "Topics/Keywords",
|
|
|
- abstract: "Abstract",
|
|
|
+ title: 'Title',
|
|
|
+ language: 'Language',
|
|
|
+ author: 'Author',
|
|
|
+ publishDate: 'Publish Date',
|
|
|
+ journalConferenceName: 'Journal/Conference Name',
|
|
|
+ volumeIssuePage: 'Volume/Issue/Page',
|
|
|
+ DOI: 'DOI',
|
|
|
+ topicsKeywords: 'Topics/Keywords',
|
|
|
+ abstract: 'Abstract',
|
|
|
},
|
|
|
socialMediaPost: {
|
|
|
- platform: "Platform",
|
|
|
- authorUsername: "Author/Username",
|
|
|
- publishDate: "Publish Date",
|
|
|
- postURL: "Post URL",
|
|
|
- topicsTags: "Topics/Tags",
|
|
|
+ platform: 'Platform',
|
|
|
+ authorUsername: 'Author/Username',
|
|
|
+ publishDate: 'Publish Date',
|
|
|
+ postURL: 'Post URL',
|
|
|
+ topicsTags: 'Topics/Tags',
|
|
|
},
|
|
|
personalDocument: {
|
|
|
- title: "Title",
|
|
|
- author: "Author",
|
|
|
- creationDate: "Creation Date",
|
|
|
- lastModifiedDate: "Last Modified Date",
|
|
|
- documentType: "Document Type",
|
|
|
- tagsCategory: "Tags/Category",
|
|
|
+ title: 'Title',
|
|
|
+ author: 'Author',
|
|
|
+ creationDate: 'Creation Date',
|
|
|
+ lastModifiedDate: 'Last Modified Date',
|
|
|
+ documentType: 'Document Type',
|
|
|
+ tagsCategory: 'Tags/Category',
|
|
|
},
|
|
|
businessDocument: {
|
|
|
- title: "Title",
|
|
|
- author: "Author",
|
|
|
- creationDate: "Creation Date",
|
|
|
- lastModifiedDate: "Last Modified Date",
|
|
|
- documentType: "Document Type",
|
|
|
- departmentTeam: "Department/Team",
|
|
|
+ title: 'Title',
|
|
|
+ author: 'Author',
|
|
|
+ creationDate: 'Creation Date',
|
|
|
+ lastModifiedDate: 'Last Modified Date',
|
|
|
+ documentType: 'Document Type',
|
|
|
+ departmentTeam: 'Department/Team',
|
|
|
},
|
|
|
IMChat: {
|
|
|
- chatPlatform: "Chat Platform",
|
|
|
- chatPartiesGroupName: "Chat Parties/Group Name",
|
|
|
- participants: "Participants",
|
|
|
- startDate: "Start Date",
|
|
|
- endDate: "End Date",
|
|
|
- topicsKeywords: "Topics/Keywords",
|
|
|
- fileType: "File Type",
|
|
|
+ chatPlatform: 'Chat Platform',
|
|
|
+ chatPartiesGroupName: 'Chat Parties/Group Name',
|
|
|
+ participants: 'Participants',
|
|
|
+ startDate: 'Start Date',
|
|
|
+ endDate: 'End Date',
|
|
|
+ topicsKeywords: 'Topics/Keywords',
|
|
|
+ fileType: 'File Type',
|
|
|
},
|
|
|
wikipediaEntry: {
|
|
|
- title: "Title",
|
|
|
- language: "Language",
|
|
|
- webpageURL: "Webpage URL",
|
|
|
- editorContributor: "Editor/Contributor",
|
|
|
- lastEditDate: "Last Edit Date",
|
|
|
- summaryIntroduction: "Summary/Introduction",
|
|
|
+ title: 'Title',
|
|
|
+ language: 'Language',
|
|
|
+ webpageURL: 'Webpage URL',
|
|
|
+ editorContributor: 'Editor/Contributor',
|
|
|
+ lastEditDate: 'Last Edit Date',
|
|
|
+ summaryIntroduction: 'Summary/Introduction',
|
|
|
},
|
|
|
notion: {
|
|
|
- title: "Title",
|
|
|
- language: "Language",
|
|
|
- author: "Author",
|
|
|
- createdTime: "Created Time",
|
|
|
- lastModifiedTime: "Last Modified Time",
|
|
|
- url: "URL",
|
|
|
- tag: "Tag",
|
|
|
- description: "Description",
|
|
|
+ title: 'Title',
|
|
|
+ language: 'Language',
|
|
|
+ author: 'Author',
|
|
|
+ createdTime: 'Created Time',
|
|
|
+ lastModifiedTime: 'Last Modified Time',
|
|
|
+ url: 'URL',
|
|
|
+ tag: 'Tag',
|
|
|
+ description: 'Description',
|
|
|
},
|
|
|
github: {
|
|
|
- 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",
|
|
|
+ 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',
|
|
|
},
|
|
|
originInfo: {
|
|
|
- originalFilename: "Original filename",
|
|
|
- originalFileSize: "Original file size",
|
|
|
- uploadDate: "Upload date",
|
|
|
- lastUpdateDate: "Last update date",
|
|
|
- source: "Source",
|
|
|
+ originalFilename: 'Original filename',
|
|
|
+ originalFileSize: 'Original file size',
|
|
|
+ uploadDate: 'Upload date',
|
|
|
+ lastUpdateDate: 'Last update date',
|
|
|
+ source: 'Source',
|
|
|
},
|
|
|
technicalParameters: {
|
|
|
segmentSpecification: 'Segment specification',
|
|
@@ -194,92 +194,92 @@ const translation = {
|
|
|
paragraphs: 'Paragraphs',
|
|
|
hitCount: 'Hit count',
|
|
|
embeddingTime: 'Embedding time',
|
|
|
- embeddedSpend: 'Embedded spend'
|
|
|
- }
|
|
|
+ embeddedSpend: 'Embedded spend',
|
|
|
+ },
|
|
|
},
|
|
|
languageMap: {
|
|
|
- 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",
|
|
|
+ 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',
|
|
|
},
|
|
|
categoryMap: {
|
|
|
book: {
|
|
|
- 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",
|
|
|
+ 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',
|
|
|
},
|
|
|
personalDoc: {
|
|
|
- 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",
|
|
|
+ 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',
|
|
|
},
|
|
|
businessDoc: {
|
|
|
- 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",
|
|
|
+ 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',
|
|
|
},
|
|
|
},
|
|
|
},
|
|
@@ -300,7 +300,7 @@ const translation = {
|
|
|
resume: 'Resume processing',
|
|
|
automatic: 'Automatic',
|
|
|
custom: 'Custom',
|
|
|
- previewTip: 'Paragraph preview will be available after embedding is complete'
|
|
|
+ previewTip: 'Paragraph preview will be available after embedding is complete',
|
|
|
},
|
|
|
segment: {
|
|
|
paragraphs: 'Paragraphs',
|
|
@@ -308,7 +308,7 @@ const translation = {
|
|
|
characters: 'characters',
|
|
|
hitCount: 'hit count',
|
|
|
vectorHash: 'Vector hash: ',
|
|
|
- }
|
|
|
-};
|
|
|
+ },
|
|
|
+}
|
|
|
|
|
|
-export default translation;
|
|
|
+export default translation
|