common.en.ts 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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. maxTokenSettingTip: 'Your max token setting is high, potentially limiting space for prompts, queries, and data. Consider setting it below 2/3.',
  55. setToCurrentModelMaxTokenTip: 'Max token is updated to the maximum token of the current model 4,000.',
  56. },
  57. tone: {
  58. Creative: 'Creative',
  59. Balanced: 'Balanced',
  60. Precise: 'Precise',
  61. Custom: 'Custom',
  62. },
  63. },
  64. menus: {
  65. status: 'beta',
  66. explore: 'Explore',
  67. apps: 'Build Apps',
  68. plugins: 'Plugins',
  69. pluginsTips: 'Integrate third-party plugins or create ChatGPT-compatible AI-Plugins.',
  70. datasets: 'Datasets',
  71. datasetsTips: 'COMING SOON: Import your own text data or write data in real-time via Webhook for LLM context enhancement.',
  72. newApp: 'New App',
  73. newDataset: 'Create dataset',
  74. },
  75. userProfile: {
  76. settings: 'Settings',
  77. workspace: 'Workspace',
  78. createWorkspace: 'Create Workspace',
  79. helpCenter: 'Help Document',
  80. about: 'About',
  81. logout: 'Log out',
  82. },
  83. settings: {
  84. accountGroup: 'ACCOUNT',
  85. workplaceGroup: 'WORKPLACE',
  86. account: 'My account',
  87. members: 'Members',
  88. integrations: 'Integrations',
  89. language: 'Language',
  90. provider: 'Model Provider',
  91. dataSource: 'Data Source',
  92. },
  93. account: {
  94. avatar: 'Avatar',
  95. name: 'Name',
  96. email: 'Email',
  97. langGeniusAccount: 'Dify account',
  98. langGeniusAccountTip: 'Your Dify account and associated user data.',
  99. editName: 'Edit Name',
  100. showAppLength: 'Show {{length}} apps',
  101. },
  102. members: {
  103. team: 'Team',
  104. invite: 'Add',
  105. name: 'NAME',
  106. lastActive: 'LAST ACTIVE',
  107. role: 'ROLES',
  108. pending: 'Pending...',
  109. owner: 'Owner',
  110. admin: 'Admin',
  111. adminTip: 'Can build apps & manage team settings',
  112. normal: 'Normal',
  113. normalTip: 'Only can use apps,can not build apps',
  114. inviteTeamMember: 'Add team member',
  115. inviteTeamMemberTip: 'They can access your team data directly after signing in.',
  116. email: 'Email',
  117. emailInvalid: 'Invalid Email Format',
  118. emailPlaceholder: 'Input Email',
  119. sendInvite: 'Add',
  120. invitationSent: 'Added',
  121. invitationSentTip: 'Added, and they can sign in to Dify to access your team data.',
  122. ok: 'OK',
  123. removeFromTeam: 'Remove from team',
  124. removeFromTeamTip: 'Will remove team access',
  125. setAdmin: 'Set as administrator',
  126. setMember: 'Set to ordinary member',
  127. disinvite: 'Cancel the invitation',
  128. deleteMember: 'Delete Member',
  129. you: '(You)',
  130. },
  131. integrations: {
  132. connected: 'Connected',
  133. google: 'Google',
  134. googleAccount: 'Login with Google account',
  135. github: 'GitHub',
  136. githubAccount: 'Login with GitHub account',
  137. connect: 'Connect',
  138. },
  139. language: {
  140. displayLanguage: 'Display Language',
  141. timezone: 'Time Zone',
  142. },
  143. provider: {
  144. apiKey: 'API Key',
  145. enterYourKey: 'Enter your API key here',
  146. invalidKey: 'Invalid OpenAI API key',
  147. validatedError: 'Validation failed: ',
  148. validating: 'Validating key...',
  149. saveFailed: 'Save api key failed',
  150. apiKeyExceedBill: 'This API KEY has no quota available, please read',
  151. addKey: 'Add Key',
  152. comingSoon: 'Coming Soon',
  153. editKey: 'Edit',
  154. invalidApiKey: 'Invalid API key',
  155. azure: {
  156. apiBase: 'API Base',
  157. apiBasePlaceholder: 'The API Base URL of your Azure OpenAI Endpoint.',
  158. apiKey: 'API Key',
  159. apiKeyPlaceholder: 'Enter your API key here',
  160. helpTip: 'Learn Azure OpenAI Service',
  161. },
  162. openaiHosted: {
  163. openaiHosted: 'Hosted OpenAI',
  164. onTrial: 'ON TRIAL',
  165. exhausted: 'QUOTA EXHAUSTED',
  166. 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.',
  167. callTimes: 'Call times',
  168. usedUp: 'Trial quota used up. Add own Model Provider.',
  169. useYourModel: 'Currently using own Model Provider.',
  170. close: 'Close',
  171. },
  172. encrypted: {
  173. front: 'Your API KEY will be encrypted and stored using',
  174. back: ' technology.',
  175. },
  176. },
  177. dataSource: {
  178. add: 'Add a data source',
  179. connect: 'Connect',
  180. notion: {
  181. title: 'Notion',
  182. description: 'Using Notion as a data source for the dataset.',
  183. connectedWorkspace: 'Connected workspace',
  184. addWorkspace: 'Add workspace',
  185. connected: 'Connected',
  186. disconnected: 'Disconnected',
  187. changeAuthorizedPages: 'Change authorized pages',
  188. pagesAuthorized: 'Pages authorized',
  189. sync: 'Sync',
  190. remove: 'Remove',
  191. selector: {
  192. pageSelected: 'Pages Selected',
  193. searchPages: 'Search pages...',
  194. noSearchResult: 'No search resluts',
  195. addPages: 'Add pages',
  196. preview: 'PREVIEW',
  197. },
  198. },
  199. },
  200. about: {
  201. changeLog: 'Changlog',
  202. updateNow: 'Update now',
  203. nowAvailable: 'Dify {{version}} is now available.',
  204. latestAvailable: 'Dify {{version}} is the latest version available.',
  205. },
  206. appMenus: {
  207. overview: 'Overview',
  208. promptEng: 'Prompt Eng.',
  209. apiAccess: 'API Access',
  210. logAndAnn: 'Logs & Ann.',
  211. },
  212. environment: {
  213. testing: 'TESTING',
  214. development: 'DEVELOPMENT',
  215. },
  216. appModes: {
  217. completionApp: 'Text Generator',
  218. chatApp: 'Chat App',
  219. },
  220. datasetMenus: {
  221. documents: 'Documents',
  222. hitTesting: 'Hit Testing',
  223. settings: 'Settings',
  224. emptyTip: 'The data set has not been associated, please go to the application or plug-in to complete the association.',
  225. viewDoc: 'View documentation',
  226. relatedApp: 'linked apps',
  227. },
  228. voiceInput: {
  229. speaking: 'Speak now...',
  230. converting: 'Converting to text...',
  231. notAllow: 'microphone not authorized',
  232. },
  233. }
  234. export default translation