app-overview.ts 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. const translation = {
  2. welcome: {
  3. firstStepTip: 'To get started,',
  4. enterKeyTip: 'enter your OpenAI API Key below',
  5. getKeyTip: 'Get your API Key from OpenAI dashboard',
  6. placeholder: 'Your OpenAI API Key (eg.sk-xxxx)',
  7. },
  8. apiKeyInfo: {
  9. cloud: {
  10. trial: {
  11. title: 'You are using the {{providerName}} trial quota.',
  12. description: 'The trial quota is provided for your testing purposes. Before the trial quota is exhausted, please set up your own model provider or purchase additional quota.',
  13. },
  14. exhausted: {
  15. title: 'Your trial quota have been used up, please set up your APIKey.',
  16. description: 'You have exhausted your trial quota. Please set up your own model provider or purchase additional quota.',
  17. },
  18. },
  19. selfHost: {
  20. title: {
  21. row1: 'To get started,',
  22. row2: 'setup your model provider first.',
  23. },
  24. },
  25. callTimes: 'Call times',
  26. usedToken: 'Used token',
  27. setAPIBtn: 'Go to setup model provider',
  28. tryCloud: 'Or try the cloud version of Dify with free quote',
  29. },
  30. overview: {
  31. title: 'Overview',
  32. appInfo: {
  33. explanation: 'Ready-to-use AI WebApp',
  34. accessibleAddress: 'Public URL',
  35. preview: 'Preview',
  36. regenerate: 'Regenerate',
  37. regenerateNotice: 'Do you want to regenerate the public URL?',
  38. preUseReminder: 'Please enable WebApp before continuing.',
  39. settings: {
  40. entry: 'Settings',
  41. title: 'Web App Settings',
  42. modalTip: 'Client-side web app settings. ',
  43. webName: 'WebApp Name',
  44. webDesc: 'WebApp Description',
  45. webDescTip: 'This text will be displayed on the client side, providing basic guidance on how to use the application',
  46. webDescPlaceholder: 'Enter the description of the WebApp',
  47. language: 'Language',
  48. workflow: {
  49. title: 'Workflow',
  50. subTitle: 'Workflow Details',
  51. show: 'Show',
  52. hide: 'Hide',
  53. showDesc: 'Show or hide workflow details in WebApp',
  54. },
  55. chatColorTheme: 'Chat color theme',
  56. chatColorThemeDesc: 'Set the color theme of the chatbot',
  57. chatColorThemeInverted: 'Inverted',
  58. invalidHexMessage: 'Invalid hex value',
  59. sso: {
  60. label: 'SSO Enforcement',
  61. title: 'WebApp SSO',
  62. description: 'All users are required to login with SSO before using WebApp',
  63. tooltip: 'Contact the administrator to enable WebApp SSO',
  64. },
  65. more: {
  66. entry: 'Show more settings',
  67. copyright: 'Copyright',
  68. copyrightTip: 'Display copyright information in the webapp',
  69. copyrightTooltip: 'Please upgrade to Professional plan or above',
  70. copyRightPlaceholder: 'Enter the name of the author or organization',
  71. privacyPolicy: 'Privacy Policy',
  72. privacyPolicyPlaceholder: 'Enter the privacy policy link',
  73. privacyPolicyTip: 'Helps visitors understand the data the application collects, see Dify\'s <privacyPolicyLink>Privacy Policy</privacyPolicyLink>.',
  74. customDisclaimer: 'Custom Disclaimer',
  75. customDisclaimerPlaceholder: 'Enter the custom disclaimer text',
  76. customDisclaimerTip: 'Custom disclaimer text will be displayed on the client side, providing additional information about the application',
  77. },
  78. },
  79. embedded: {
  80. entry: 'Embedded',
  81. title: 'Embed on website',
  82. explanation: 'Choose the way to embed chat app to your website',
  83. iframe: 'To add the chat app any where on your website, add this iframe to your html code.',
  84. scripts: 'To add a chat app to the bottom right of your website add this code to your html.',
  85. chromePlugin: 'Install Dify Chatbot Chrome Extension',
  86. copied: 'Copied',
  87. copy: 'Copy',
  88. },
  89. qrcode: {
  90. title: 'Link QR Code',
  91. scan: 'Scan To Share',
  92. download: 'Download QR Code',
  93. },
  94. customize: {
  95. way: 'way',
  96. entry: 'Customize',
  97. title: 'Customize AI WebApp',
  98. explanation: 'You can customize the frontend of the Web App to fit your scenario and style needs.',
  99. way1: {
  100. name: 'Fork the client code, modify it and deploy to Vercel (recommended)',
  101. step1: 'Fork the client code and modify it',
  102. step1Tip: 'Click here to fork the source code into your GitHub account and modify the code',
  103. step1Operation: 'Dify-WebClient',
  104. step2: 'Deploy to Vercel',
  105. step2Tip: 'Click here to import the repository into Vercel and deploy',
  106. step2Operation: 'Import repository',
  107. step3: 'Configure environment variables',
  108. step3Tip: 'Add the following environment variables in Vercel',
  109. },
  110. way2: {
  111. name: 'Write client-side code to call the API and deploy it to a server',
  112. operation: 'Documentation',
  113. },
  114. },
  115. },
  116. apiInfo: {
  117. title: 'Backend Service API',
  118. explanation: 'Easily integrated into your application',
  119. accessibleAddress: 'Service API Endpoint',
  120. doc: 'API Reference',
  121. },
  122. status: {
  123. running: 'In Service',
  124. disable: 'Disabled',
  125. },
  126. },
  127. analysis: {
  128. title: 'Analysis',
  129. ms: 'ms',
  130. tokenPS: 'Token/s',
  131. totalMessages: {
  132. title: 'Total Messages',
  133. explanation: 'Daily AI interactions count.',
  134. },
  135. totalConversations: {
  136. title: 'Total Conversations',
  137. explanation: 'Daily AI conversations count; prompt engineering/debugging excluded.',
  138. },
  139. activeUsers: {
  140. title: 'Active Users',
  141. explanation: 'Unique users engaging in Q&A with AI; prompt engineering/debugging excluded.',
  142. },
  143. tokenUsage: {
  144. title: 'Token Usage',
  145. explanation: 'Reflects the daily token usage of the language model for the application, useful for cost control purposes.',
  146. consumed: 'Consumed',
  147. },
  148. avgSessionInteractions: {
  149. title: 'Avg. Session Interactions',
  150. explanation: 'Continuous user-AI communication count; for conversation-based apps.',
  151. },
  152. avgUserInteractions: {
  153. title: 'Avg. User Interactions',
  154. explanation: 'Reflects the daily usage frequency of users. This metric reflects user stickiness.',
  155. },
  156. userSatisfactionRate: {
  157. title: 'User Satisfaction Rate',
  158. explanation: 'The number of likes per 1,000 messages. This indicates the proportion of answers that users are highly satisfied with.',
  159. },
  160. avgResponseTime: {
  161. title: 'Avg. Response Time',
  162. explanation: 'Time (ms) for AI to process/respond; for text-based apps.',
  163. },
  164. tps: {
  165. title: 'Token Output Speed',
  166. explanation: 'Measure the performance of the LLM. Count the Tokens output speed of LLM from the beginning of the request to the completion of the output.',
  167. },
  168. },
  169. }
  170. export default translation