dataset-documents.en.ts 9.3 KB

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