common.en.ts 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. const translation = {
  2. api: {
  3. success: 'Success',
  4. saved: 'Saved',
  5. create: 'Created',
  6. remove: 'Removed',
  7. },
  8. operation: {
  9. confirm: 'Confirm',
  10. cancel: 'Cancel',
  11. clear: 'Clear',
  12. save: 'Save',
  13. edit: 'Edit',
  14. add: 'Add',
  15. refresh: 'Restart',
  16. search: 'Search',
  17. change: 'Change',
  18. remove: 'Remove',
  19. send: 'Send',
  20. copy: 'Copy',
  21. lineBreak: 'Line break',
  22. sure: 'I\'m sure',
  23. },
  24. placeholder: {
  25. input: 'Please enter',
  26. select: 'Please select',
  27. },
  28. unit: {
  29. char: 'chars',
  30. },
  31. actionMsg: {
  32. modifiedSuccessfully: 'Modified successfully',
  33. modificationFailed: 'Modification failed',
  34. copySuccessfully: 'Copied successfully',
  35. },
  36. model: {
  37. params: {
  38. temperature: 'Temperature',
  39. temperatureTip:
  40. 'Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.',
  41. topP: 'Top P',
  42. topPTip:
  43. 'Controls diversity via nucleus sampling: 0.5 means half of all likelihood-weighted options are considered.',
  44. presencePenalty: 'Presence penalty',
  45. presencePenaltyTip:
  46. '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.',
  47. frequencyPenalty: 'Frequency penalty',
  48. frequencyPenaltyTip:
  49. '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.',
  50. maxToken: 'Max token',
  51. maxTokenTip:
  52. '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.',
  53. setToCurrentModelMaxTokenTip: 'Max token is updated to the maximum token of the current model 4,000.',
  54. },
  55. tone: {
  56. Creative: 'Creative',
  57. Balanced: 'Balanced',
  58. Precise: 'Precise',
  59. Custom: 'Custom',
  60. },
  61. },
  62. menus: {
  63. status: 'beta',
  64. apps: 'Apps',
  65. plugins: 'Plugins',
  66. pluginsTips: 'Integrate third-party plugins or create ChatGPT-compatible AI-Plugins.',
  67. datasets: 'Datasets',
  68. datasetsTips: 'COMING SOON: Import your own text data or write data in real-time via Webhook for LLM context enhancement.',
  69. newApp: 'New App',
  70. newDataset: 'Create dataset',
  71. },
  72. userProfile: {
  73. settings: 'Settings',
  74. workspace: 'Workspace',
  75. createWorkspace: 'Create Workspace',
  76. helpCenter: 'Help Document',
  77. about: 'About',
  78. logout: 'Log out',
  79. },
  80. settings: {
  81. accountGroup: 'ACCOUNT',
  82. workplaceGroup: 'WORKPLACE',
  83. account: "My account",
  84. members: "Members",
  85. integrations: "Integrations",
  86. language: "Language",
  87. provider: "Model Provider"
  88. },
  89. account: {
  90. avatar: 'Avatar',
  91. name: 'Name',
  92. email: 'Email',
  93. langGeniusAccount: 'Dify account',
  94. langGeniusAccountTip: 'Your Dify account and associated user data.',
  95. editName: 'Edit Name',
  96. showAppLength: 'Show {{length}} apps',
  97. },
  98. members: {
  99. team: 'Team',
  100. invite: 'Invite',
  101. name: 'NAME',
  102. lastActive: 'LAST ACTIVE',
  103. role: 'ROLES',
  104. pending: 'Pending...',
  105. owner: 'Owner',
  106. admin: 'Admin',
  107. adminTip: 'Can build apps & manage team settings',
  108. normal: 'Normal',
  109. normalTip: 'Only can use apps,can not build apps',
  110. inviteTeamMember: 'Invite team member',
  111. 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.',
  112. email: 'Email',
  113. emailInvalid: 'Invalid Email Format',
  114. emailPlaceholder: 'Input Email',
  115. sendInvite: 'Send Invite',
  116. invitationSent: 'Invitation sent',
  117. invitationSentTip: 'The invitation is sent, and they can sign in to Dify to access your team data.',
  118. ok: 'OK',
  119. removeFromTeam: 'Remove from team',
  120. removeFromTeamTip: 'Will remove team access',
  121. setAdmin: 'Set as administrator',
  122. setMember: 'Set to ordinary member',
  123. disinvite: 'Cancel the invitation',
  124. deleteMember: 'Delete Member',
  125. you: '(You)',
  126. },
  127. integrations: {
  128. connected: 'Connected',
  129. google: 'Google',
  130. googleAccount: 'Login with Google account',
  131. github: 'GitHub',
  132. githubAccount: 'Login with GitHub account',
  133. connect: 'Connect'
  134. },
  135. language: {
  136. displayLanguage: 'Display Language',
  137. timezone: 'Time Zone',
  138. },
  139. provider: {
  140. apiKey: "API Key",
  141. enterYourKey: "Enter your API key here",
  142. invalidKey: "Invalid OpenAI API key",
  143. validating: "Validating key...",
  144. saveFailed: "Save api key failed",
  145. apiKeyExceedBill: "This API KEY has no quota available, please read",
  146. addKey: 'Add Key',
  147. comingSoon: 'Coming Soon',
  148. editKey: 'Edit',
  149. invalidApiKey: 'Invalid API key',
  150. azure: {
  151. resourceName: 'Resource Name',
  152. resourceNamePlaceholder: 'The name of your Azure OpenAI Resource.',
  153. deploymentId: 'Deployment ID',
  154. deploymentIdPlaceholder: 'The deployment name you chose when you deployed the model.',
  155. apiVersion: 'API Version',
  156. apiVersionPlaceholder: 'The API version to use for this operation.',
  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. about: {
  177. changeLog: 'Changlog',
  178. updateNow: 'Update now',
  179. nowAvailable: 'Dify {{version}} is now available.',
  180. latestAvailable: 'Dify {{version}} is the latest version available.',
  181. },
  182. appMenus: {
  183. overview: 'Overview',
  184. promptEng: 'Prompt Eng.',
  185. apiAccess: 'API Access',
  186. logAndAnn: 'Logs & Ann.',
  187. },
  188. environment: {
  189. testing: 'TESTING',
  190. development: 'DEVELOPMENT',
  191. },
  192. appModes: {
  193. completionApp: 'Text Generator',
  194. chatApp: 'Chat App',
  195. },
  196. datasetMenus: {
  197. documents: 'Documents',
  198. hitTesting: 'Hit Testing',
  199. settings: 'Settings',
  200. emptyTip: 'The data set has not been associated, please go to the application or plug-in to complete the association.',
  201. viewDoc: 'View documentation',
  202. relatedApp: 'linked apps',
  203. },
  204. }
  205. export default translation