common.en.ts 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. const translation = {
  2. api: {
  3. success: 'Success',
  4. saved: 'Saved',
  5. create: 'Created',
  6. remove: 'Removed',
  7. },
  8. operation: {
  9. create: 'Create',
  10. confirm: 'Confirm',
  11. cancel: 'Cancel',
  12. clear: 'Clear',
  13. save: 'Save',
  14. edit: 'Edit',
  15. add: 'Add',
  16. refresh: 'Restart',
  17. search: 'Search',
  18. change: 'Change',
  19. remove: 'Remove',
  20. send: 'Send',
  21. copy: 'Copy',
  22. lineBreak: 'Line break',
  23. sure: 'I\'m sure',
  24. },
  25. placeholder: {
  26. input: 'Please enter',
  27. select: 'Please select',
  28. },
  29. unit: {
  30. char: 'chars',
  31. },
  32. actionMsg: {
  33. modifiedSuccessfully: 'Modified successfully',
  34. modificationFailed: 'Modification failed',
  35. copySuccessfully: 'Copied successfully',
  36. },
  37. model: {
  38. params: {
  39. temperature: 'Temperature',
  40. temperatureTip:
  41. 'Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.',
  42. topP: 'Top P',
  43. topPTip:
  44. 'Controls diversity via nucleus sampling: 0.5 means half of all likelihood-weighted options are considered.',
  45. presencePenalty: 'Presence penalty',
  46. presencePenaltyTip:
  47. 'How much to penalize new tokens based on whether they appear in the text so far. Increases the model\'s likelihood to talk about new topics.',
  48. frequencyPenalty: 'Frequency penalty',
  49. frequencyPenaltyTip:
  50. 'How much to penalize new tokens based on their existing frequency in the text so far. Decreases the model\'s likelihood to repeat the same line verbatim.',
  51. maxToken: 'Max token',
  52. maxTokenTip:
  53. 'Max tokens depending on the model. Prompt and completion share this limit. One token is roughly 1 English character.',
  54. setToCurrentModelMaxTokenTip: 'Max token is updated to the maximum token of the current model 4,000.',
  55. },
  56. tone: {
  57. Creative: 'Creative',
  58. Balanced: 'Balanced',
  59. Precise: 'Precise',
  60. Custom: 'Custom',
  61. },
  62. },
  63. menus: {
  64. status: 'beta',
  65. explore: 'Explore',
  66. apps: 'Build Apps',
  67. plugins: 'Plugins',
  68. pluginsTips: 'Integrate third-party plugins or create ChatGPT-compatible AI-Plugins.',
  69. datasets: 'Datasets',
  70. datasetsTips: 'COMING SOON: Import your own text data or write data in real-time via Webhook for LLM context enhancement.',
  71. newApp: 'New App',
  72. newDataset: 'Create dataset',
  73. },
  74. userProfile: {
  75. settings: 'Settings',
  76. workspace: 'Workspace',
  77. createWorkspace: 'Create Workspace',
  78. helpCenter: 'Help Document',
  79. about: 'About',
  80. logout: 'Log out',
  81. },
  82. settings: {
  83. accountGroup: 'ACCOUNT',
  84. workplaceGroup: 'WORKPLACE',
  85. account: 'My account',
  86. members: 'Members',
  87. integrations: 'Integrations',
  88. language: 'Language',
  89. provider: 'Model Provider',
  90. dataSource: 'Data Source',
  91. },
  92. account: {
  93. avatar: 'Avatar',
  94. name: 'Name',
  95. email: 'Email',
  96. langGeniusAccount: 'Dify account',
  97. langGeniusAccountTip: 'Your Dify account and associated user data.',
  98. editName: 'Edit Name',
  99. showAppLength: 'Show {{length}} apps',
  100. },
  101. members: {
  102. team: 'Team',
  103. invite: 'Add',
  104. name: 'NAME',
  105. lastActive: 'LAST ACTIVE',
  106. role: 'ROLES',
  107. pending: 'Pending...',
  108. owner: 'Owner',
  109. admin: 'Admin',
  110. adminTip: 'Can build apps & manage team settings',
  111. normal: 'Normal',
  112. normalTip: 'Only can use apps,can not build apps',
  113. inviteTeamMember: 'Add team member',
  114. inviteTeamMemberTip: 'They can access your team data directly after signing in.',
  115. email: 'Email',
  116. emailInvalid: 'Invalid Email Format',
  117. emailPlaceholder: 'Input Email',
  118. sendInvite: 'Add',
  119. invitationSent: 'Added',
  120. invitationSentTip: 'Added, and they can sign in to Dify to access your team data.',
  121. ok: 'OK',
  122. removeFromTeam: 'Remove from team',
  123. removeFromTeamTip: 'Will remove team access',
  124. setAdmin: 'Set as administrator',
  125. setMember: 'Set to ordinary member',
  126. disinvite: 'Cancel the invitation',
  127. deleteMember: 'Delete Member',
  128. you: '(You)',
  129. },
  130. integrations: {
  131. connected: 'Connected',
  132. google: 'Google',
  133. googleAccount: 'Login with Google account',
  134. github: 'GitHub',
  135. githubAccount: 'Login with GitHub account',
  136. connect: 'Connect',
  137. },
  138. language: {
  139. displayLanguage: 'Display Language',
  140. timezone: 'Time Zone',
  141. },
  142. provider: {
  143. apiKey: 'API Key',
  144. enterYourKey: 'Enter your API key here',
  145. invalidKey: 'Invalid OpenAI API key',
  146. validatedError: 'Validation failed: ',
  147. validating: 'Validating key...',
  148. saveFailed: 'Save api key failed',
  149. apiKeyExceedBill: 'This API KEY has no quota available, please read',
  150. addKey: 'Add Key',
  151. comingSoon: 'Coming Soon',
  152. editKey: 'Edit',
  153. invalidApiKey: 'Invalid API key',
  154. azure: {
  155. apiBase: 'API Base',
  156. apiBasePlaceholder: 'The API Base URL of your Azure OpenAI Endpoint.',
  157. apiKey: 'API Key',
  158. apiKeyPlaceholder: 'Enter your API key here',
  159. helpTip: 'Learn Azure OpenAI Service',
  160. },
  161. openaiHosted: {
  162. openaiHosted: 'Hosted OpenAI',
  163. onTrial: 'ON TRIAL',
  164. exhausted: 'QUOTA EXHAUSTED',
  165. desc: 'The OpenAI hosting service provided by Dify allows you to use models such as GPT-3.5. Before your trial quota is used up, you need to set up other model providers.',
  166. callTimes: 'Call times',
  167. usedUp: 'Trial quota used up. Add own Model Provider.',
  168. useYourModel: 'Currently using own Model Provider.',
  169. close: 'Close',
  170. },
  171. encrypted: {
  172. front: 'Your API KEY will be encrypted and stored using',
  173. back: ' technology.',
  174. },
  175. },
  176. dataSource: {
  177. add: 'Add a data source',
  178. connect: 'Connect',
  179. notion: {
  180. title: 'Notion',
  181. description: 'Using Notion as a data source for the dataset.',
  182. connectedWorkspace: 'Connected workspace',
  183. addWorkspace: 'Add workspace',
  184. connected: 'Connected',
  185. disconnected: 'Disconnected',
  186. changeAuthorizedPages: 'Change authorized pages',
  187. pagesAuthorized: 'Pages authorized',
  188. sync: 'Sync',
  189. remove: 'Remove',
  190. selector: {
  191. pageSelected: 'Pages Selected',
  192. searchPages: 'Search pages...',
  193. noSearchResult: 'No search resluts',
  194. addPages: 'Add pages',
  195. preview: 'PREVIEW',
  196. },
  197. },
  198. },
  199. about: {
  200. changeLog: 'Changlog',
  201. updateNow: 'Update now',
  202. nowAvailable: 'Dify {{version}} is now available.',
  203. latestAvailable: 'Dify {{version}} is the latest version available.',
  204. },
  205. appMenus: {
  206. overview: 'Overview',
  207. promptEng: 'Prompt Eng.',
  208. apiAccess: 'API Access',
  209. logAndAnn: 'Logs & Ann.',
  210. },
  211. environment: {
  212. testing: 'TESTING',
  213. development: 'DEVELOPMENT',
  214. },
  215. appModes: {
  216. completionApp: 'Text Generator',
  217. chatApp: 'Chat App',
  218. },
  219. datasetMenus: {
  220. documents: 'Documents',
  221. hitTesting: 'Hit Testing',
  222. settings: 'Settings',
  223. emptyTip: 'The data set has not been associated, please go to the application or plug-in to complete the association.',
  224. viewDoc: 'View documentation',
  225. relatedApp: 'linked apps',
  226. },
  227. }
  228. export default translation