app-overview.en.ts 4.3 KB

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