common.en.ts 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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. plugin: 'Plugins',
  95. },
  96. account: {
  97. avatar: 'Avatar',
  98. name: 'Name',
  99. email: 'Email',
  100. password: 'Password',
  101. passwordTip: 'You can set a permanent password if you don’t want to use temporary login codes',
  102. setPassword: 'Set a password',
  103. resetPassword: 'Reset password',
  104. currentPassword: 'Current password',
  105. newPassword: 'New password',
  106. confirmPassword: 'Confirm password',
  107. notEqual: 'Two passwords are different.',
  108. langGeniusAccount: 'Dify account',
  109. langGeniusAccountTip: 'Your Dify account and associated user data.',
  110. editName: 'Edit Name',
  111. showAppLength: 'Show {{length}} apps',
  112. },
  113. members: {
  114. team: 'Team',
  115. invite: 'Add',
  116. name: 'NAME',
  117. lastActive: 'LAST ACTIVE',
  118. role: 'ROLES',
  119. pending: 'Pending...',
  120. owner: 'Owner',
  121. admin: 'Admin',
  122. adminTip: 'Can build apps & manage team settings',
  123. normal: 'Normal',
  124. normalTip: 'Only can use apps, can not build apps',
  125. inviteTeamMember: 'Add team member',
  126. inviteTeamMemberTip: 'They can access your team data directly after signing in.',
  127. email: 'Email',
  128. emailInvalid: 'Invalid Email Format',
  129. emailPlaceholder: 'Input Email',
  130. sendInvite: 'Add',
  131. invitationSent: 'Invitation sent',
  132. invitationSentTip: 'Invitation sent, and they can sign in to Dify to access your team data.',
  133. invitationLink: 'Invitation Link',
  134. ok: 'OK',
  135. removeFromTeam: 'Remove from team',
  136. removeFromTeamTip: 'Will remove team access',
  137. setAdmin: 'Set as administrator',
  138. setMember: 'Set to ordinary member',
  139. disinvite: 'Cancel the invitation',
  140. deleteMember: 'Delete Member',
  141. you: '(You)',
  142. },
  143. integrations: {
  144. connected: 'Connected',
  145. google: 'Google',
  146. googleAccount: 'Login with Google account',
  147. github: 'GitHub',
  148. githubAccount: 'Login with GitHub account',
  149. connect: 'Connect',
  150. },
  151. language: {
  152. displayLanguage: 'Display Language',
  153. timezone: 'Time Zone',
  154. },
  155. provider: {
  156. apiKey: 'API Key',
  157. enterYourKey: 'Enter your API key here',
  158. invalidKey: 'Invalid OpenAI API key',
  159. validatedError: 'Validation failed: ',
  160. validating: 'Validating key...',
  161. saveFailed: 'Save api key failed',
  162. apiKeyExceedBill: 'This API KEY has no quota available, please read',
  163. addKey: 'Add Key',
  164. comingSoon: 'Coming Soon',
  165. editKey: 'Edit',
  166. invalidApiKey: 'Invalid API key',
  167. azure: {
  168. apiBase: 'API Base',
  169. apiBasePlaceholder: 'The API Base URL of your Azure OpenAI Endpoint.',
  170. apiKey: 'API Key',
  171. apiKeyPlaceholder: 'Enter your API key here',
  172. helpTip: 'Learn Azure OpenAI Service',
  173. },
  174. openaiHosted: {
  175. openaiHosted: 'Hosted OpenAI',
  176. onTrial: 'ON TRIAL',
  177. exhausted: 'QUOTA EXHAUSTED',
  178. 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.',
  179. callTimes: 'Call times',
  180. usedUp: 'Trial quota used up. Add own Model Provider.',
  181. useYourModel: 'Currently using own Model Provider.',
  182. close: 'Close',
  183. },
  184. anthropicHosted: {
  185. anthropicHosted: 'Anthropic Claude',
  186. onTrial: 'ON TRIAL',
  187. exhausted: 'QUOTA EXHAUSTED',
  188. desc: 'Powerful model, which excels at a wide range of tasks from sophisticated dialogue and creative content generation to detailed instruction.',
  189. callTimes: 'Call times',
  190. usedUp: 'Trial quota used up. Add own Model Provider.',
  191. useYourModel: 'Currently using own Model Provider.',
  192. close: 'Close',
  193. },
  194. anthropic: {
  195. using: 'The embedding capability is using',
  196. enableTip: 'To enable the Anthropic model, you need to bind to OpenAI or Azure OpenAI Service first.',
  197. notEnabled: 'Not enabled',
  198. keyFrom: 'Get your API key from Anthropic',
  199. },
  200. encrypted: {
  201. front: 'Your API KEY will be encrypted and stored using',
  202. back: ' technology.',
  203. },
  204. },
  205. dataSource: {
  206. add: 'Add a data source',
  207. connect: 'Connect',
  208. notion: {
  209. title: 'Notion',
  210. description: 'Using Notion as a data source for the dataset.',
  211. connectedWorkspace: 'Connected workspace',
  212. addWorkspace: 'Add workspace',
  213. connected: 'Connected',
  214. disconnected: 'Disconnected',
  215. changeAuthorizedPages: 'Change authorized pages',
  216. pagesAuthorized: 'Pages authorized',
  217. sync: 'Sync',
  218. remove: 'Remove',
  219. selector: {
  220. pageSelected: 'Pages Selected',
  221. searchPages: 'Search pages...',
  222. noSearchResult: 'No search resluts',
  223. addPages: 'Add pages',
  224. preview: 'PREVIEW',
  225. },
  226. },
  227. },
  228. plugin: {
  229. serpapi: {
  230. apiKey: 'API Key',
  231. apiKeyPlaceholder: 'Enter your API key',
  232. keyFrom: 'Get your SerpAPI key from SerpAPI Account Page',
  233. },
  234. },
  235. about: {
  236. changeLog: 'Changlog',
  237. updateNow: 'Update now',
  238. nowAvailable: 'Dify {{version}} is now available.',
  239. latestAvailable: 'Dify {{version}} is the latest version available.',
  240. },
  241. appMenus: {
  242. overview: 'Overview',
  243. promptEng: 'Prompt Eng.',
  244. apiAccess: 'API Access',
  245. logAndAnn: 'Logs & Ann.',
  246. },
  247. environment: {
  248. testing: 'TESTING',
  249. development: 'DEVELOPMENT',
  250. },
  251. appModes: {
  252. completionApp: 'Text Generator',
  253. chatApp: 'Chat App',
  254. },
  255. datasetMenus: {
  256. documents: 'Documents',
  257. hitTesting: 'Hit Testing',
  258. settings: 'Settings',
  259. emptyTip: 'The data set has not been associated, please go to the application or plug-in to complete the association.',
  260. viewDoc: 'View documentation',
  261. relatedApp: 'linked apps',
  262. },
  263. voiceInput: {
  264. speaking: 'Speak now...',
  265. converting: 'Converting to text...',
  266. notAllow: 'microphone not authorized',
  267. },
  268. }
  269. export default translation