app-overview.ts 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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 use. Before the trial quota calls are 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: 'Your trial quota has been exhausted. 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. preUseReminder: 'Please enable WebApp before continuing.',
  38. settings: {
  39. entry: 'Settings',
  40. title: 'WebApp Settings',
  41. webName: 'WebApp Name',
  42. webDesc: 'WebApp Description',
  43. webDescTip: 'This text will be displayed on the client side, providing basic guidance on how to use the application',
  44. webDescPlaceholder: 'Enter the description of the WebApp',
  45. language: 'Language',
  46. more: {
  47. entry: 'Show more settings',
  48. copyright: 'Copyright',
  49. copyRightPlaceholder: 'Enter the name of the author or organization',
  50. privacyPolicy: 'Privacy Policy',
  51. privacyPolicyPlaceholder: 'Enter the privacy policy link',
  52. privacyPolicyTip: 'Helps visitors understand the data the application collects, see Dify\'s <privacyPolicyLink>Privacy Policy</privacyPolicyLink>.',
  53. customDisclaimer: 'Custom Disclaimer',
  54. customDisclaimerPlaceholder: 'Enter the custom disclaimer text',
  55. customDisclaimerTip: 'Custom disclaimer text will be displayed on the client side, providing additional information about the application',
  56. },
  57. },
  58. embedded: {
  59. entry: 'Embedded',
  60. title: 'Embed on website',
  61. explanation: 'Choose the way to embed chat app to your website',
  62. iframe: 'To add the chat app any where on your website, add this iframe to your html code.',
  63. scripts: 'To add a chat app to the bottom right of your website add this code to your html.',
  64. chromePlugin: 'Install Dify Chatbot Chrome Extension',
  65. copied: 'Copied',
  66. copy: 'Copy',
  67. },
  68. qrcode: {
  69. title: 'QR code to share',
  70. scan: 'Scan Share Application',
  71. download: 'Download QR Code',
  72. },
  73. customize: {
  74. way: 'way',
  75. entry: 'Customize',
  76. title: 'Customize AI WebApp',
  77. explanation: 'You can customize the frontend of the Web App to fit your scenario and style needs.',
  78. way1: {
  79. name: 'Fork the client code, modify it and deploy to Vercel (recommended)',
  80. step1: 'Fork the client code and modify it',
  81. step1Tip: 'Click here to fork the source code into your GitHub account and modify the code',
  82. step1Operation: 'Dify-WebClient',
  83. step2: 'Deploy to Vercel',
  84. step2Tip: 'Click here to import the repository into Vercel and deploy',
  85. step2Operation: 'Import repository',
  86. step3: 'Configure environment variables',
  87. step3Tip: 'Add the following environment variables in Vercel',
  88. },
  89. way2: {
  90. name: 'Write client-side code to call the API and deploy it to a server',
  91. operation: 'Documentation',
  92. },
  93. },
  94. },
  95. apiInfo: {
  96. title: 'Backend service API',
  97. explanation: 'Easily integrated into your application',
  98. accessibleAddress: 'Service API Endpoint',
  99. doc: 'API Reference',
  100. },
  101. status: {
  102. running: 'In service',
  103. disable: 'Disable',
  104. },
  105. },
  106. analysis: {
  107. title: 'Analysis',
  108. ms: 'ms',
  109. tokenPS: 'Token/s',
  110. totalMessages: {
  111. title: 'Total Messages',
  112. explanation: 'Daily AI interactions count; prompt engineering/debugging excluded.',
  113. },
  114. activeUsers: {
  115. title: 'Active Users',
  116. explanation: 'Unique users engaging in Q&A with AI; prompt engineering/debugging excluded.',
  117. },
  118. tokenUsage: {
  119. title: 'Token Usage',
  120. explanation: 'Reflects the daily token usage of the language model for the application, useful for cost control purposes.',
  121. consumed: 'Consumed',
  122. },
  123. avgSessionInteractions: {
  124. title: 'Avg. Session Interactions',
  125. explanation: 'Continuous user-AI communication count; for conversation-based apps.',
  126. },
  127. avgUserInteractions: {
  128. title: 'Avg. User Interactions',
  129. explanation: 'Reflects the daily usage frequency of users. This metric reflects user stickiness.',
  130. },
  131. userSatisfactionRate: {
  132. title: 'User Satisfaction Rate',
  133. explanation: 'The number of likes per 1,000 messages. This indicates the proportion of answers that users are highly satisfied with.',
  134. },
  135. avgResponseTime: {
  136. title: 'Avg. Response Time',
  137. explanation: 'Time (ms) for AI to process/respond; for text-based apps.',
  138. },
  139. tps: {
  140. title: 'Token Output Speed',
  141. 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.',
  142. },
  143. },
  144. }
  145. export default translation