app-overview.ts 6.1 KB

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