dataset-documents.en.ts 9.8 KB

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