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. 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. },
  54. tone: {
  55. Creative: 'Creative',
  56. Balanced: 'Balanced',
  57. Precise: 'Precise',
  58. Custom: 'Custom',
  59. },
  60. },
  61. menus: {
  62. status: 'beta',
  63. apps: 'Apps',
  64. plugins: 'Plugins',
  65. pluginsTips: 'Integrate third-party plugins or create ChatGPT-compatible AI-Plugins.',
  66. datasets: 'Datasets',
  67. datasetsTips: 'COMING SOON: Import your own text data or write data in real-time via Webhook for LLM context enhancement.',
  68. newApp: 'New App',
  69. newDataset: 'Create dataset',
  70. },
  71. userProfile: {
  72. settings: 'Settings',
  73. workspace: 'Workspace',
  74. createWorkspace: 'Create Workspace',
  75. helpCenter: 'Help Document',
  76. about: 'About',
  77. logout: 'Log out',
  78. },
  79. settings: {
  80. accountGroup: 'ACCOUNT',
  81. workplaceGroup: 'WORKPLACE',
  82. account: "My account",
  83. members: "Members",
  84. integrations: "Integrations",
  85. language: "Language",
  86. provider: "Model Provider"
  87. },
  88. account: {
  89. avatar: 'Avatar',
  90. name: 'Name',
  91. email: 'Email',
  92. langGeniusAccount: 'Dify account',
  93. langGeniusAccountTip: 'Your Dify account and associated user data.',
  94. editName: 'Edit Name',
  95. showAppLength: 'Show {{length}} apps',
  96. },
  97. members: {
  98. team: 'Team',
  99. invite: 'Invite',
  100. name: 'NAME',
  101. lastActive: 'LAST ACTIVE',
  102. role: 'ROLES',
  103. pending: 'Pending...',
  104. owner: 'Owner',
  105. admin: 'Admin',
  106. adminTip: 'Can build apps & manage team settings',
  107. normal: 'Normal',
  108. normalTip: 'Only can use apps,can not build apps',
  109. inviteTeamMember: 'Invite team member',
  110. 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.',
  111. email: 'Email',
  112. emailInvalid: 'Invalid Email Format',
  113. emailPlaceholder: 'Input Email',
  114. sendInvite: 'Send Invite',
  115. invitationSent: 'Invitation sent',
  116. invitationSentTip: 'The invitation is sent, and they can sign in to Dify to access your team data.',
  117. ok: 'OK',
  118. removeFromTeam: 'Remove from team',
  119. removeFromTeamTip: 'Will remove team access',
  120. setAdmin: 'Set as administrator',
  121. setMember: 'Set to ordinary member',
  122. disinvite: 'Cancel the invitation',
  123. deleteMember: 'Delete Member',
  124. you: '(You)',
  125. },
  126. integrations: {
  127. connected: 'Connected',
  128. google: 'Google',
  129. googleAccount: 'Login with Google account',
  130. github: 'GitHub',
  131. githubAccount: 'Login with GitHub account',
  132. connect: 'Connect'
  133. },
  134. language: {
  135. displayLanguage: 'Display Language',
  136. timezone: 'Time Zone',
  137. },
  138. provider: {
  139. apiKey: "API Key",
  140. enterYourKey: "Enter your API key here",
  141. invalidKey: "Invalid OpenAI API key",
  142. validating: "Validating key...",
  143. saveFailed: "Save api key failed",
  144. apiKeyExceedBill: "This API KEY has no quota available, please read",
  145. addKey: 'Add Key',
  146. comingSoon: 'Coming Soon',
  147. editKey: 'Edit',
  148. invalidApiKey: 'Invalid API key',
  149. azure: {
  150. resourceName: 'Resource Name',
  151. resourceNamePlaceholder: 'The name of your Azure OpenAI Resource.',
  152. deploymentId: 'Deployment ID',
  153. deploymentIdPlaceholder: 'The deployment name you chose when you deployed the model.',
  154. apiVersion: 'API Version',
  155. apiVersionPlaceholder: 'The API version to use for this operation.',
  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