common.en.ts 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  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. reset: 'Reset',
  18. search: 'Search',
  19. change: 'Change',
  20. remove: 'Remove',
  21. send: 'Send',
  22. copy: 'Copy',
  23. lineBreak: 'Line break',
  24. sure: 'I\'m sure',
  25. download: 'Download',
  26. },
  27. placeholder: {
  28. input: 'Please enter',
  29. select: 'Please select',
  30. },
  31. unit: {
  32. char: 'chars',
  33. },
  34. actionMsg: {
  35. modifiedSuccessfully: 'Modified successfully',
  36. modificationFailed: 'Modification failed',
  37. copySuccessfully: 'Copied successfully',
  38. },
  39. model: {
  40. params: {
  41. temperature: 'Temperature',
  42. temperatureTip:
  43. 'Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.',
  44. topP: 'Top P',
  45. topPTip:
  46. 'Controls diversity via nucleus sampling: 0.5 means half of all likelihood-weighted options are considered.',
  47. presencePenalty: 'Presence penalty',
  48. presencePenaltyTip:
  49. '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.',
  50. frequencyPenalty: 'Frequency penalty',
  51. frequencyPenaltyTip:
  52. '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.',
  53. maxToken: 'Max token',
  54. maxTokenTip:
  55. 'Max tokens depending on the model. Prompt and completion share this limit. One token is roughly 1 English character.',
  56. maxTokenSettingTip: 'Your max token setting is high, potentially limiting space for prompts, queries, and data. Consider setting it below 2/3.',
  57. setToCurrentModelMaxTokenTip: 'Max token is updated to the maximum token of the current model {{maxToken}}.',
  58. },
  59. tone: {
  60. Creative: 'Creative',
  61. Balanced: 'Balanced',
  62. Precise: 'Precise',
  63. Custom: 'Custom',
  64. },
  65. },
  66. menus: {
  67. status: 'beta',
  68. explore: 'Explore',
  69. apps: 'Build Apps',
  70. plugins: 'Plugins',
  71. pluginsTips: 'Integrate third-party plugins or create ChatGPT-compatible AI-Plugins.',
  72. datasets: 'Datasets',
  73. datasetsTips: 'COMING SOON: Import your own text data or write data in real-time via Webhook for LLM context enhancement.',
  74. newApp: 'New App',
  75. newDataset: 'Create dataset',
  76. },
  77. userProfile: {
  78. settings: 'Settings',
  79. workspace: 'Workspace',
  80. createWorkspace: 'Create Workspace',
  81. helpCenter: 'Help Document',
  82. about: 'About',
  83. logout: 'Log out',
  84. },
  85. settings: {
  86. accountGroup: 'ACCOUNT',
  87. workplaceGroup: 'WORKPLACE',
  88. account: 'My account',
  89. members: 'Members',
  90. integrations: 'Integrations',
  91. language: 'Language',
  92. provider: 'Model Provider',
  93. dataSource: 'Data Source',
  94. },
  95. account: {
  96. avatar: 'Avatar',
  97. name: 'Name',
  98. email: 'Email',
  99. password: 'Password',
  100. passwordTip: 'You can set a permanent password if you don’t want to use temporary login codes',
  101. setPassword: 'Set a password',
  102. resetPassword: 'Reset password',
  103. currentPassword: 'Current password',
  104. newPassword: 'New password',
  105. confirmPassword: 'Confirm password',
  106. notEqual: 'Two passwords are different.',
  107. langGeniusAccount: 'Dify account',
  108. langGeniusAccountTip: 'Your Dify account and associated user data.',
  109. editName: 'Edit Name',
  110. showAppLength: 'Show {{length}} apps',
  111. },
  112. members: {
  113. team: 'Team',
  114. invite: 'Add',
  115. name: 'NAME',
  116. lastActive: 'LAST ACTIVE',
  117. role: 'ROLES',
  118. pending: 'Pending...',
  119. owner: 'Owner',
  120. admin: 'Admin',
  121. adminTip: 'Can build apps & manage team settings',
  122. normal: 'Normal',
  123. normalTip: 'Only can use apps, can not build apps',
  124. inviteTeamMember: 'Add team member',
  125. inviteTeamMemberTip: 'They can access your team data directly after signing in.',
  126. email: 'Email',
  127. emailInvalid: 'Invalid Email Format',
  128. emailPlaceholder: 'Input Email',
  129. sendInvite: 'Add',
  130. invitationSent: 'Invitation sent',
  131. invitationSentTip: 'Invitation sent, and they can sign in to Dify to access your team data.',
  132. invitationLink: 'Invitation Link',
  133. ok: 'OK',
  134. removeFromTeam: 'Remove from team',
  135. removeFromTeamTip: 'Will remove team access',
  136. setAdmin: 'Set as administrator',
  137. setMember: 'Set to ordinary member',
  138. disinvite: 'Cancel the invitation',
  139. deleteMember: 'Delete Member',
  140. you: '(You)',
  141. },
  142. integrations: {
  143. connected: 'Connected',
  144. google: 'Google',
  145. googleAccount: 'Login with Google account',
  146. github: 'GitHub',
  147. githubAccount: 'Login with GitHub account',
  148. connect: 'Connect',
  149. },
  150. language: {
  151. displayLanguage: 'Display Language',
  152. timezone: 'Time Zone',
  153. },
  154. provider: {
  155. apiKey: 'API Key',
  156. enterYourKey: 'Enter your API key here',
  157. invalidKey: 'Invalid OpenAI API key',
  158. validatedError: 'Validation failed: ',
  159. validating: 'Validating key...',
  160. saveFailed: 'Save api key failed',
  161. apiKeyExceedBill: 'This API KEY has no quota available, please read',
  162. addKey: 'Add Key',
  163. comingSoon: 'Coming Soon',
  164. editKey: 'Edit',
  165. invalidApiKey: 'Invalid API key',
  166. azure: {
  167. apiBase: 'API Base',
  168. apiBasePlaceholder: 'The API Base URL of your Azure OpenAI Endpoint.',
  169. apiKey: 'API Key',
  170. apiKeyPlaceholder: 'Enter your API key here',
  171. helpTip: 'Learn Azure OpenAI Service',
  172. },
  173. openaiHosted: {
  174. openaiHosted: 'Hosted OpenAI',
  175. onTrial: 'ON TRIAL',
  176. exhausted: 'QUOTA EXHAUSTED',
  177. 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.',
  178. callTimes: 'Call times',
  179. usedUp: 'Trial quota used up. Add own Model Provider.',
  180. useYourModel: 'Currently using own Model Provider.',
  181. close: 'Close',
  182. },
  183. anthropicHosted: {
  184. anthropicHosted: 'Anthropic Claude',
  185. onTrial: 'ON TRIAL',
  186. exhausted: 'QUOTA EXHAUSTED',
  187. desc: 'Powerful model, which excels at a wide range of tasks from sophisticated dialogue and creative content generation to detailed instruction.',
  188. callTimes: 'Call times',
  189. usedUp: 'Trial quota used up. Add own Model Provider.',
  190. useYourModel: 'Currently using own Model Provider.',
  191. close: 'Close',
  192. },
  193. anthropic: {
  194. using: 'The embedding capability is using',
  195. enableTip: 'To enable the Anthropic model, you need to bind to OpenAI or Azure OpenAI Service first.',
  196. notEnabled: 'Not enabled',
  197. keyFrom: 'Get your API key from Anthropic',
  198. },
  199. encrypted: {
  200. front: 'Your API KEY will be encrypted and stored using',
  201. back: ' technology.',
  202. },
  203. },
  204. dataSource: {
  205. add: 'Add a data source',
  206. connect: 'Connect',
  207. notion: {
  208. title: 'Notion',
  209. description: 'Using Notion as a data source for the dataset.',
  210. connectedWorkspace: 'Connected workspace',
  211. addWorkspace: 'Add workspace',
  212. connected: 'Connected',
  213. disconnected: 'Disconnected',
  214. changeAuthorizedPages: 'Change authorized pages',
  215. pagesAuthorized: 'Pages authorized',
  216. sync: 'Sync',
  217. remove: 'Remove',
  218. selector: {
  219. pageSelected: 'Pages Selected',
  220. searchPages: 'Search pages...',
  221. noSearchResult: 'No search resluts',
  222. addPages: 'Add pages',
  223. preview: 'PREVIEW',
  224. },
  225. },
  226. },
  227. about: {
  228. changeLog: 'Changlog',
  229. updateNow: 'Update now',
  230. nowAvailable: 'Dify {{version}} is now available.',
  231. latestAvailable: 'Dify {{version}} is the latest version available.',
  232. },
  233. appMenus: {
  234. overview: 'Overview',
  235. promptEng: 'Prompt Eng.',
  236. apiAccess: 'API Access',
  237. logAndAnn: 'Logs & Ann.',
  238. },
  239. environment: {
  240. testing: 'TESTING',
  241. development: 'DEVELOPMENT',
  242. },
  243. appModes: {
  244. completionApp: 'Text Generator',
  245. chatApp: 'Chat App',
  246. },
  247. datasetMenus: {
  248. documents: 'Documents',
  249. hitTesting: 'Hit Testing',
  250. settings: 'Settings',
  251. emptyTip: 'The data set has not been associated, please go to the application or plug-in to complete the association.',
  252. viewDoc: 'View documentation',
  253. relatedApp: 'linked apps',
  254. },
  255. voiceInput: {
  256. speaking: 'Speak now...',
  257. converting: 'Converting to text...',
  258. notAllow: 'microphone not authorized',
  259. },
  260. }
  261. export default translation