common.en.ts 11 KB

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