app-overview.en.ts 5.4 KB

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