dataset-documents.en.ts 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. const translation = {
  2. list: {
  3. title: "Documents",
  4. 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.",
  5. addFile: "add file",
  6. table: {
  7. header: {
  8. fileName: "FILE NAME",
  9. words: "WORDS",
  10. hitCount: "HIT COUNT",
  11. uploadTime: "UPLOAD TIME",
  12. status: "STATUS",
  13. action: "ACTION",
  14. },
  15. },
  16. action: {
  17. uploadFile: 'Upload new file',
  18. settings: 'Segment settings',
  19. archive: 'Archive',
  20. delete: "Delete",
  21. enableWarning: 'Archived file cannot be enabled',
  22. },
  23. index: {
  24. enable: 'Enable',
  25. disable: 'Disable',
  26. all: 'All',
  27. enableTip: 'The file can be indexed',
  28. disableTip: 'The file cannot be indexed',
  29. },
  30. status: {
  31. queuing: 'Queuing',
  32. indexing: 'Indexing',
  33. parsed: 'Parsed',
  34. error: 'Error',
  35. available: 'Available',
  36. enabled: 'Enabled',
  37. disabled: 'Disabled',
  38. archived: 'Archived',
  39. },
  40. empty: {
  41. title: "There is no documentation yet",
  42. upload: {
  43. tip: "You can upload files, sync from the website, or from webb apps like Notion, GitHub, etc.",
  44. },
  45. sync: {
  46. tip: "Dify will periodically download files from your Notion and complete processing.",
  47. },
  48. },
  49. delete: {
  50. title: 'Are you sure Delete?',
  51. content: 'If you need to resume processing later, you will continue from where you left off'
  52. }
  53. },
  54. metadata: {
  55. title: "Metadata",
  56. desc: "Labeling metadata for documents allows AI to access them in a timely manner and exposes the source of references for users.",
  57. dateTimeFormat: 'MMMM D, YYYY hh:mm A',
  58. docTypeSelectTitle: "Please select a document type",
  59. docTypeChangeTitle: "Change document type",
  60. docTypeSelectWarning:
  61. "If the document type is changed, the now filled metadata will no longer be preserved",
  62. firstMetaAction: "Let's go",
  63. placeholder: {
  64. add: 'Add ',
  65. select: 'Select ',
  66. },
  67. source: {
  68. upload_file: 'Upload File',
  69. notion: "Sync form Notion",
  70. github: "Sync form Github",
  71. },
  72. type: {
  73. book: "Book",
  74. webPage: "Web Page",
  75. paper: "Paper",
  76. socialMediaPost: "Social Media Post",
  77. personalDocument: "Personal Document",
  78. businessDocument: "Business Document",
  79. IMChat: "IM Chat",
  80. wikipediaEntry: "Wikipedia Entry",
  81. notion: "Sync form Notion",
  82. github: "Sync form Github",
  83. technicalParameters: 'Technical Parameters',
  84. },
  85. field: {
  86. processRule: {
  87. processDoc: 'Process Document',
  88. segmentRule: 'Segment Rule',
  89. segmentLength: 'Segment Length',
  90. processClean: 'Text Process Clean',
  91. },
  92. book: {
  93. title: "Title",
  94. language: "Language",
  95. author: "Author",
  96. publisher: "Publisher",
  97. publicationDate: "Publication Date",
  98. ISBN: "ISBN",
  99. category: "Category",
  100. },
  101. webPage: {
  102. title: "Title",
  103. url: "URL",
  104. language: "Language",
  105. authorPublisher: "Author/Publisher",
  106. publishDate: "Publish Date",
  107. topicsKeywords: "Topics/Keywords",
  108. description: "Description",
  109. },
  110. paper: {
  111. title: "Title",
  112. language: "Language",
  113. author: "Author",
  114. publishDate: "Publish Date",
  115. journalConferenceName: "Journal/Conference Name",
  116. volumeIssuePage: "Volume/Issue/Page",
  117. DOI: "DOI",
  118. topicsKeywords: "Topics/Keywords",
  119. abstract: "Abstract",
  120. },
  121. socialMediaPost: {
  122. platform: "Platform",
  123. authorUsername: "Author/Username",
  124. publishDate: "Publish Date",
  125. postURL: "Post URL",
  126. topicsTags: "Topics/Tags",
  127. },
  128. personalDocument: {
  129. title: "Title",
  130. author: "Author",
  131. creationDate: "Creation Date",
  132. lastModifiedDate: "Last Modified Date",
  133. documentType: "Document Type",
  134. tagsCategory: "Tags/Category",
  135. },
  136. businessDocument: {
  137. title: "Title",
  138. author: "Author",
  139. creationDate: "Creation Date",
  140. lastModifiedDate: "Last Modified Date",
  141. documentType: "Document Type",
  142. departmentTeam: "Department/Team",
  143. },
  144. IMChat: {
  145. chatPlatform: "Chat Platform",
  146. chatPartiesGroupName: "Chat Parties/Group Name",
  147. participants: "Participants",
  148. startDate: "Start Date",
  149. endDate: "End Date",
  150. topicsKeywords: "Topics/Keywords",
  151. fileType: "File Type",
  152. },
  153. wikipediaEntry: {
  154. title: "Title",
  155. language: "Language",
  156. webpageURL: "Webpage URL",
  157. editorContributor: "Editor/Contributor",
  158. lastEditDate: "Last Edit Date",
  159. summaryIntroduction: "Summary/Introduction",
  160. },
  161. notion: {
  162. title: "Title",
  163. language: "Language",
  164. author: "Author",
  165. createdTime: "Created Time",
  166. lastModifiedTime: "Last Modified Time",
  167. url: "URL",
  168. tag: "Tag",
  169. description: "Description",
  170. },
  171. github: {
  172. repoName: "Repo Name",
  173. repoDesc: "Repo Description",
  174. repoOwner: "Repo Owner",
  175. fileName: "File Name",
  176. filePath: "File Path",
  177. programmingLang: "Programming Language",
  178. url: "URL",
  179. license: "License",
  180. lastCommitTime: "Last Commit Time",
  181. lastCommitAuthor: "Last Commit Author",
  182. },
  183. originInfo: {
  184. originalFilename: "Original filename",
  185. originalFileSize: "Original file size",
  186. uploadDate: "Upload date",
  187. lastUpdateDate: "Last update date",
  188. source: "Source",
  189. },
  190. technicalParameters: {
  191. segmentSpecification: 'Segment specification',
  192. segmentLength: 'Segment length',
  193. avgParagraphLength: 'Avg. paragraph length',
  194. paragraphs: 'Paragraphs',
  195. hitCount: 'Hit count',
  196. embeddingTime: 'Embedding time',
  197. embeddedSpend: 'Embedded spend'
  198. }
  199. },
  200. languageMap: {
  201. zh: "Chinese",
  202. en: "English",
  203. es: "Spanish",
  204. fr: "French",
  205. de: "German",
  206. ja: "Japanese",
  207. ko: "Korean",
  208. ru: "Russian",
  209. ar: "Arabic",
  210. pt: "Portuguese",
  211. it: "Italian",
  212. nl: "Dutch",
  213. pl: "Polish",
  214. sv: "Swedish",
  215. tr: "Turkish",
  216. he: "Hebrew",
  217. hi: "Hindi",
  218. da: "Danish",
  219. fi: "Finnish",
  220. no: "Norwegian",
  221. hu: "Hungarian",
  222. el: "Greek",
  223. cs: "Czech",
  224. th: "Thai",
  225. id: "Indonesian",
  226. },
  227. categoryMap: {
  228. book: {
  229. fiction: "Fiction",
  230. biography: "Biography",
  231. history: "History",
  232. science: "Science",
  233. technology: "Technology",
  234. education: "Education",
  235. philosophy: "Philosophy",
  236. religion: "Religion",
  237. socialSciences: "SocialSciences",
  238. art: "Art",
  239. travel: "Travel",
  240. health: "Health",
  241. selfHelp: "SelfHelp",
  242. businessEconomics: "BusinessEconomics",
  243. cooking: "Cooking",
  244. childrenYoungAdults: "ChildrenYoungAdults",
  245. comicsGraphicNovels: "ComicsGraphicNovels",
  246. poetry: "Poetry",
  247. drama: "Drama",
  248. other: "Other",
  249. },
  250. personalDoc: {
  251. notes: "Notes",
  252. blogDraft: "Blog Draft",
  253. diary: "Diary",
  254. researchReport: "Research Report",
  255. bookExcerpt: "Book Excerpt",
  256. schedule: "Schedule",
  257. list: "List",
  258. projectOverview: "Project Overview",
  259. photoCollection: "Photo Collection",
  260. creativeWriting: "Creative Writing",
  261. codeSnippet: "Code Snippet",
  262. designDraft: "Design Draft",
  263. personalResume: "Personal Resume",
  264. other: "Other",
  265. },
  266. businessDoc: {
  267. meetingMinutes: "Meeting Minutes",
  268. researchReport: "Research Report",
  269. proposal: "Proposal",
  270. employeeHandbook: "Employee Handbook",
  271. trainingMaterials: "Training Materials",
  272. requirementsDocument: "Requirements Document",
  273. designDocument: "Design Document",
  274. productSpecification: "Product Specification",
  275. financialReport: "Financial Report",
  276. marketAnalysis: "Market Analysis",
  277. projectPlan: "Project Plan",
  278. teamStructure: "Team Structure",
  279. policiesProcedures: "Policies & Procedures",
  280. contractsAgreements: "Contracts & Agreements",
  281. emailCorrespondence: "Email Correspondence",
  282. other: "Other",
  283. },
  284. },
  285. },
  286. embedding: {
  287. processing: 'Embedding processing...',
  288. paused: 'Embedding paused',
  289. completed: 'Embedding completed',
  290. error: 'Embedding error',
  291. docName: 'Preprocessing document',
  292. mode: 'Segmentation rule',
  293. segmentLength: 'Segmentation length',
  294. textCleaning: 'Text pre-definition and cleaning',
  295. segments: 'Paragraphs',
  296. highQuality: 'High-quality mode',
  297. economy: 'Economy mode',
  298. estimate: 'Estimated consumption',
  299. stop: 'Stop processing',
  300. resume: 'Resume processing',
  301. automatic: 'Automatic',
  302. custom: 'Custom',
  303. previewTip: 'Paragraph preview will be available after embedding is complete'
  304. },
  305. segment: {
  306. paragraphs: 'Paragraphs',
  307. keywords: 'Key Words',
  308. characters: 'characters',
  309. hitCount: 'hit count',
  310. vectorHash: 'Vector hash: ',
  311. }
  312. };
  313. export default translation;