common.en.ts 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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 generated is 2,048 or 4,000, 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. },
  91. account: {
  92. avatar: 'Avatar',
  93. name: 'Name',
  94. email: 'Email',
  95. langGeniusAccount: 'Dify account',
  96. langGeniusAccountTip: 'Your Dify account and associated user data.',
  97. editName: 'Edit Name',
  98. showAppLength: 'Show {{length}} apps',
  99. },
  100. members: {
  101. team: 'Team',
  102. invite: 'Invite',
  103. name: 'NAME',
  104. lastActive: 'LAST ACTIVE',
  105. role: 'ROLES',
  106. pending: 'Pending...',
  107. owner: 'Owner',
  108. admin: 'Admin',
  109. adminTip: 'Can build apps & manage team settings',
  110. normal: 'Normal',
  111. normalTip: 'Only can use apps,can not build apps',
  112. inviteTeamMember: 'Invite team member',
  113. inviteTeamMemberTip: 'The other person will receive an email. If he\'s already a Dify user, he can access your team data directly after signing in.',
  114. email: 'Email',
  115. emailInvalid: 'Invalid Email Format',
  116. emailPlaceholder: 'Input Email',
  117. sendInvite: 'Send Invite',
  118. invitationSent: 'Invitation sent',
  119. invitationSentTip: 'The invitation is sent, and they can sign in to Dify to access your team data.',
  120. ok: 'OK',
  121. removeFromTeam: 'Remove from team',
  122. removeFromTeamTip: 'Will remove team access',
  123. setAdmin: 'Set as administrator',
  124. setMember: 'Set to ordinary member',
  125. disinvite: 'Cancel the invitation',
  126. deleteMember: 'Delete Member',
  127. you: '(You)',
  128. },
  129. integrations: {
  130. connected: 'Connected',
  131. google: 'Google',
  132. googleAccount: 'Login with Google account',
  133. github: 'GitHub',
  134. githubAccount: 'Login with GitHub account',
  135. connect: 'Connect'
  136. },
  137. language: {
  138. displayLanguage: 'Display Language',
  139. timezone: 'Time Zone',
  140. },
  141. provider: {
  142. apiKey: "API Key",
  143. enterYourKey: "Enter your API key here",
  144. invalidKey: "Invalid OpenAI API key",
  145. validatedError: "Validation failed: ",
  146. validating: "Validating key...",
  147. saveFailed: "Save api key failed",
  148. apiKeyExceedBill: "This API KEY has no quota available, please read",
  149. addKey: 'Add Key',
  150. comingSoon: 'Coming Soon',
  151. editKey: 'Edit',
  152. invalidApiKey: 'Invalid API key',
  153. azure: {
  154. apiBase: 'API Base',
  155. apiBasePlaceholder: 'The API Base URL of your Azure OpenAI Endpoint.',
  156. apiKey: 'API Key',
  157. apiKeyPlaceholder: 'Enter your API key here',
  158. helpTip: 'Learn Azure OpenAI Service',
  159. },
  160. openaiHosted: {
  161. openaiHosted: 'Hosted OpenAI',
  162. onTrial: 'ON TRIAL',
  163. exhausted: 'QUOTA EXHAUSTED',
  164. 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.',
  165. callTimes: 'Call times',
  166. usedUp: 'Trial quota used up. Add own Model Provider.',
  167. useYourModel: 'Currently using own Model Provider.',
  168. close: 'Close',
  169. },
  170. encrypted: {
  171. front: 'Your API KEY will be encrypted and stored using',
  172. back: ' technology.',
  173. }
  174. },
  175. about: {
  176. changeLog: 'Changlog',
  177. updateNow: 'Update now',
  178. nowAvailable: 'Dify {{version}} is now available.',
  179. latestAvailable: 'Dify {{version}} is the latest version available.',
  180. },
  181. appMenus: {
  182. overview: 'Overview',
  183. promptEng: 'Prompt Eng.',
  184. apiAccess: 'API Access',
  185. logAndAnn: 'Logs & Ann.',
  186. },
  187. environment: {
  188. testing: 'TESTING',
  189. development: 'DEVELOPMENT',
  190. },
  191. appModes: {
  192. completionApp: 'Text Generator',
  193. chatApp: 'Chat App',
  194. },
  195. datasetMenus: {
  196. documents: 'Documents',
  197. hitTesting: 'Hit Testing',
  198. settings: 'Settings',
  199. emptyTip: 'The data set has not been associated, please go to the application or plug-in to complete the association.',
  200. viewDoc: 'View documentation',
  201. relatedApp: 'linked apps',
  202. },
  203. }
  204. export default translation