Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

dataset-documents.ts 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398
  1. const translation = {
  2. list: {
  3. title: 'Documents',
  4. 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.',
  5. learnMore: 'Learn more',
  6. addFile: 'Add file',
  7. addPages: 'Add Pages',
  8. addUrl: 'Add URL',
  9. table: {
  10. header: {
  11. fileName: 'NAME',
  12. chunkingMode: 'CHUNKING MODE',
  13. words: 'WORDS',
  14. hitCount: 'RETRIEVAL COUNT',
  15. uploadTime: 'UPLOAD TIME',
  16. status: 'STATUS',
  17. action: 'ACTION',
  18. },
  19. rename: 'Rename',
  20. name: 'Name',
  21. },
  22. action: {
  23. uploadFile: 'Upload new file',
  24. settings: 'Chunking Settings',
  25. addButton: 'Add chunk',
  26. add: 'Add a chunk',
  27. batchAdd: 'Batch add',
  28. archive: 'Archive',
  29. unarchive: 'Unarchive',
  30. delete: 'Delete',
  31. enableWarning: 'Archived file cannot be enabled',
  32. sync: 'Sync',
  33. pause: 'Pause',
  34. resume: 'Resume',
  35. },
  36. index: {
  37. enable: 'Enable',
  38. disable: 'Disable',
  39. all: 'All',
  40. enableTip: 'The file can be indexed',
  41. disableTip: 'The file cannot be indexed',
  42. },
  43. status: {
  44. queuing: 'Queuing',
  45. indexing: 'Indexing',
  46. paused: 'Paused',
  47. error: 'Error',
  48. available: 'Available',
  49. enabled: 'Enabled',
  50. disabled: 'Disabled',
  51. archived: 'Archived',
  52. },
  53. empty: {
  54. title: 'There is no documentation yet',
  55. upload: {
  56. tip: 'You can upload files, sync from the website, or from web apps like Notion, GitHub, etc.',
  57. },
  58. sync: {
  59. tip: 'Dify will periodically download files from your Notion and complete processing.',
  60. },
  61. },
  62. delete: {
  63. title: 'Are you sure Delete?',
  64. content: 'If you need to resume processing later, you will continue from where you left off',
  65. },
  66. batchModal: {
  67. title: 'Batch add chunks',
  68. csvUploadTitle: 'Drag and drop your CSV file here, or ',
  69. browse: 'browse',
  70. tip: 'The CSV file must conform to the following structure:',
  71. question: 'question',
  72. answer: 'answer',
  73. contentTitle: 'chunk content',
  74. content: 'content',
  75. template: 'Download the template here',
  76. cancel: 'Cancel',
  77. run: 'Run Batch',
  78. runError: 'Run batch failed',
  79. processing: 'In batch processing',
  80. completed: 'Import completed',
  81. error: 'Import Error',
  82. ok: 'OK',
  83. },
  84. },
  85. metadata: {
  86. title: 'Metadata',
  87. desc: 'Labeling metadata for documents allows AI to access them in a timely manner and exposes the source of references for users.',
  88. dateTimeFormat: 'MMMM D, YYYY hh:mm A',
  89. docTypeSelectTitle: 'Please select a document type',
  90. docTypeChangeTitle: 'Change document type',
  91. docTypeSelectWarning:
  92. 'If the document type is changed, the now filled metadata will no longer be preserved',
  93. firstMetaAction: 'Let\'s go',
  94. placeholder: {
  95. add: 'Add ',
  96. select: 'Select ',
  97. },
  98. source: {
  99. upload_file: 'Upload File',
  100. notion: 'Sync form Notion',
  101. github: 'Sync form Github',
  102. },
  103. type: {
  104. book: 'Book',
  105. webPage: 'Web Page',
  106. paper: 'Paper',
  107. socialMediaPost: 'Social Media Post',
  108. personalDocument: 'Personal Document',
  109. businessDocument: 'Business Document',
  110. IMChat: 'IM Chat',
  111. wikipediaEntry: 'Wikipedia Entry',
  112. notion: 'Sync form Notion',
  113. github: 'Sync form Github',
  114. technicalParameters: 'Technical Parameters',
  115. },
  116. field: {
  117. processRule: {
  118. processDoc: 'Process Document',
  119. segmentRule: 'Chunk Rule',
  120. segmentLength: 'Chunks Length',
  121. processClean: 'Text Process Clean',
  122. },
  123. book: {
  124. title: 'Title',
  125. language: 'Language',
  126. author: 'Author',
  127. publisher: 'Publisher',
  128. publicationDate: 'Publication Date',
  129. ISBN: 'ISBN',
  130. category: 'Category',
  131. },
  132. webPage: {
  133. title: 'Title',
  134. url: 'URL',
  135. language: 'Language',
  136. authorPublisher: 'Author/Publisher',
  137. publishDate: 'Publish Date',
  138. topicKeywords: 'Topic/Keywords',
  139. description: 'Description',
  140. },
  141. paper: {
  142. title: 'Title',
  143. language: 'Language',
  144. author: 'Author',
  145. publishDate: 'Publish Date',
  146. journalConferenceName: 'Journal/Conference Name',
  147. volumeIssuePage: 'Volume/Issue/Page',
  148. DOI: 'DOI',
  149. topicsKeywords: 'Topics/Keywords',
  150. abstract: 'Abstract',
  151. },
  152. socialMediaPost: {
  153. platform: 'Platform',
  154. authorUsername: 'Author/Username',
  155. publishDate: 'Publish Date',
  156. postURL: 'Post URL',
  157. topicsTags: 'Topics/Tags',
  158. },
  159. personalDocument: {
  160. title: 'Title',
  161. author: 'Author',
  162. creationDate: 'Creation Date',
  163. lastModifiedDate: 'Last Modified Date',
  164. documentType: 'Document Type',
  165. tagsCategory: 'Tags/Category',
  166. },
  167. businessDocument: {
  168. title: 'Title',
  169. author: 'Author',
  170. creationDate: 'Creation Date',
  171. lastModifiedDate: 'Last Modified Date',
  172. documentType: 'Document Type',
  173. departmentTeam: 'Department/Team',
  174. },
  175. IMChat: {
  176. chatPlatform: 'Chat Platform',
  177. chatPartiesGroupName: 'Chat Parties/Group Name',
  178. participants: 'Participants',
  179. startDate: 'Start Date',
  180. endDate: 'End Date',
  181. topicsKeywords: 'Topics/Keywords',
  182. fileType: 'File Type',
  183. },
  184. wikipediaEntry: {
  185. title: 'Title',
  186. language: 'Language',
  187. webpageURL: 'Webpage URL',
  188. editorContributor: 'Editor/Contributor',
  189. lastEditDate: 'Last Edit Date',
  190. summaryIntroduction: 'Summary/Introduction',
  191. },
  192. notion: {
  193. title: 'Title',
  194. language: 'Language',
  195. author: 'Author',
  196. createdTime: 'Created Time',
  197. lastModifiedTime: 'Last Modified Time',
  198. url: 'URL',
  199. tag: 'Tag',
  200. description: 'Description',
  201. },
  202. github: {
  203. repoName: 'Repo Name',
  204. repoDesc: 'Repo Description',
  205. repoOwner: 'Repo Owner',
  206. fileName: 'File Name',
  207. filePath: 'File Path',
  208. programmingLang: 'Programming Language',
  209. url: 'URL',
  210. license: 'License',
  211. lastCommitTime: 'Last Commit Time',
  212. lastCommitAuthor: 'Last Commit Author',
  213. },
  214. originInfo: {
  215. originalFilename: 'Original filename',
  216. originalFileSize: 'Original file size',
  217. uploadDate: 'Upload date',
  218. lastUpdateDate: 'Last update date',
  219. source: 'Source',
  220. },
  221. technicalParameters: {
  222. segmentSpecification: 'Chunks specification',
  223. segmentLength: 'Chunks length',
  224. avgParagraphLength: 'Avg. paragraph length',
  225. paragraphs: 'Paragraphs',
  226. hitCount: 'Retrieval count',
  227. embeddingTime: 'Embedding time',
  228. embeddedSpend: 'Embedded spend',
  229. },
  230. },
  231. languageMap: {
  232. zh: 'Chinese',
  233. en: 'English',
  234. es: 'Spanish',
  235. fr: 'French',
  236. de: 'German',
  237. ja: 'Japanese',
  238. ko: 'Korean',
  239. ru: 'Russian',
  240. ar: 'Arabic',
  241. pt: 'Portuguese',
  242. it: 'Italian',
  243. nl: 'Dutch',
  244. pl: 'Polish',
  245. sv: 'Swedish',
  246. tr: 'Turkish',
  247. he: 'Hebrew',
  248. hi: 'Hindi',
  249. da: 'Danish',
  250. fi: 'Finnish',
  251. no: 'Norwegian',
  252. hu: 'Hungarian',
  253. el: 'Greek',
  254. cs: 'Czech',
  255. th: 'Thai',
  256. id: 'Indonesian',
  257. },
  258. categoryMap: {
  259. book: {
  260. fiction: 'Fiction',
  261. biography: 'Biography',
  262. history: 'History',
  263. science: 'Science',
  264. technology: 'Technology',
  265. education: 'Education',
  266. philosophy: 'Philosophy',
  267. religion: 'Religion',
  268. socialSciences: 'SocialSciences',
  269. art: 'Art',
  270. travel: 'Travel',
  271. health: 'Health',
  272. selfHelp: 'SelfHelp',
  273. businessEconomics: 'BusinessEconomics',
  274. cooking: 'Cooking',
  275. childrenYoungAdults: 'ChildrenYoungAdults',
  276. comicsGraphicNovels: 'ComicsGraphicNovels',
  277. poetry: 'Poetry',
  278. drama: 'Drama',
  279. other: 'Other',
  280. },
  281. personalDoc: {
  282. notes: 'Notes',
  283. blogDraft: 'Blog Draft',
  284. diary: 'Diary',
  285. researchReport: 'Research Report',
  286. bookExcerpt: 'Book Excerpt',
  287. schedule: 'Schedule',
  288. list: 'List',
  289. projectOverview: 'Project Overview',
  290. photoCollection: 'Photo Collection',
  291. creativeWriting: 'Creative Writing',
  292. codeSnippet: 'Code Snippet',
  293. designDraft: 'Design Draft',
  294. personalResume: 'Personal Resume',
  295. other: 'Other',
  296. },
  297. businessDoc: {
  298. meetingMinutes: 'Meeting Minutes',
  299. researchReport: 'Research Report',
  300. proposal: 'Proposal',
  301. employeeHandbook: 'Employee Handbook',
  302. trainingMaterials: 'Training Materials',
  303. requirementsDocument: 'Requirements Document',
  304. designDocument: 'Design Document',
  305. productSpecification: 'Product Specification',
  306. financialReport: 'Financial Report',
  307. marketAnalysis: 'Market Analysis',
  308. projectPlan: 'Project Plan',
  309. teamStructure: 'Team Structure',
  310. policiesProcedures: 'Policies & Procedures',
  311. contractsAgreements: 'Contracts & Agreements',
  312. emailCorrespondence: 'Email Correspondence',
  313. other: 'Other',
  314. },
  315. },
  316. },
  317. embedding: {
  318. processing: 'Embedding processing...',
  319. paused: 'Embedding paused',
  320. completed: 'Embedding completed',
  321. error: 'Embedding error',
  322. docName: 'Preprocessing document',
  323. mode: 'Chunking Setting',
  324. segmentLength: 'Maximum Chunk Length',
  325. textCleaning: 'Text Preprocessing Rules',
  326. segments: 'Paragraphs',
  327. highQuality: 'High-quality mode',
  328. economy: 'Economy mode',
  329. estimate: 'Estimated consumption',
  330. stop: 'Stop processing',
  331. pause: 'Pause',
  332. resume: 'Resume',
  333. automatic: 'Automatic',
  334. custom: 'Custom',
  335. hierarchical: 'Parent-child',
  336. previewTip: 'Paragraph preview will be available after embedding is complete',
  337. parentMaxTokens: 'Parent',
  338. childMaxTokens: 'Child',
  339. },
  340. segment: {
  341. paragraphs: 'Paragraphs',
  342. chunks_one: 'CHUNK',
  343. chunks_other: 'CHUNKS',
  344. parentChunks_one: 'PARENT CHUNK',
  345. parentChunks_other: 'PARENT CHUNKS',
  346. childChunks_one: 'CHILD CHUNK',
  347. childChunks_other: 'CHILD CHUNKS',
  348. searchResults_zero: 'RESULT',
  349. searchResults_one: 'RESULT',
  350. searchResults_other: 'RESULTS',
  351. empty: 'No Chunk found',
  352. clearFilter: 'Clear filter',
  353. chunk: 'Chunk',
  354. parentChunk: 'Parent-Chunk',
  355. newChunk: 'New Chunk',
  356. childChunk: 'Child-Chunk',
  357. newChildChunk: 'New Child Chunk',
  358. keywords: 'KEYWORDS',
  359. addKeyWord: 'Add keyword',
  360. keywordEmpty: 'The keyword cannot be empty',
  361. keywordError: 'The maximum length of keyword is 20',
  362. keywordDuplicate: 'The keyword already exists',
  363. characters_one: 'character',
  364. characters_other: 'characters',
  365. hitCount: 'Retrieval count',
  366. vectorHash: 'Vector hash: ',
  367. questionPlaceholder: 'Add question here',
  368. questionEmpty: 'Question can not be empty',
  369. answerPlaceholder: 'Add answer here',
  370. answerEmpty: 'Answer can not be empty',
  371. contentPlaceholder: 'Add content here',
  372. contentEmpty: 'Content can not be empty',
  373. newTextSegment: 'New Text Segment',
  374. newQaSegment: 'New Q&A Segment',
  375. addChunk: 'Add Chunk',
  376. addChildChunk: 'Add Child Chunk',
  377. addAnother: 'Add another',
  378. delete: 'Delete this chunk ?',
  379. chunkAdded: '1 chunk added',
  380. childChunkAdded: '1 child chunk added',
  381. editChunk: 'Edit Chunk',
  382. editParentChunk: 'Edit Parent Chunk',
  383. editChildChunk: 'Edit Child Chunk',
  384. chunkDetail: 'Chunk Detail',
  385. regenerationConfirmTitle: 'Do you want to regenerate child chunks?',
  386. regenerationConfirmMessage: 'Regenerating child chunks will overwrite the current child chunks, including edited chunks and newly added chunks. The regeneration cannot be undone.',
  387. regeneratingTitle: 'Regenerating child chunks',
  388. regeneratingMessage: 'This may take a moment, please wait...',
  389. regenerationSuccessTitle: 'Regeneration completed',
  390. regenerationSuccessMessage: 'You can close this window.',
  391. edited: 'EDITED',
  392. editedAt: 'Edited at',
  393. expandChunks: 'Expand chunks',
  394. collapseChunks: 'Collapse chunks',
  395. },
  396. }
  397. export default translation