common.en.ts 7.3 KB

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