app-overview.en.ts 4.5 KB

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