app-overview.en.ts 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. customize: {
  40. way: 'way',
  41. entry: 'Want to customize your WebApp?',
  42. title: 'Customize AI WebApp',
  43. explanation: 'You can customize the frontend of the Web App to fit your scenario and style needs.',
  44. way1: {
  45. name: 'Fork the client code, modify it and deploy to Vercel (recommended)',
  46. step1: 'Fork the client code and modify it',
  47. step1Tip: 'Click here to fork the source code into your GitHub account and modify the code',
  48. step1Operation: 'Dify-WebClient',
  49. step2: 'Configure the Web',
  50. step2Tip: 'Copy the Web API and APP ID,then paste them into the client code config/index.ts',
  51. step3: 'Deploy to Vercel',
  52. step3Tip: 'Click here to import the repository into Vercel and deploy',
  53. step3Operation: 'Import repository',
  54. },
  55. way2: {
  56. name: 'Write client-side code to call the API and deploy it to a server',
  57. operation: 'Documentation',
  58. },
  59. },
  60. },
  61. apiInfo: {
  62. title: 'Backend service API',
  63. explanation: 'Easily integrated into your application',
  64. accessibleAddress: 'API Token',
  65. doc: 'API Reference',
  66. },
  67. status: {
  68. running: 'In service',
  69. disable: 'Disable',
  70. },
  71. },
  72. analysis: {
  73. title: 'Analysis',
  74. totalMessages: {
  75. title: 'Total Messages',
  76. explanation: 'Daily AI interactions count; prompt engineering/debugging excluded.',
  77. },
  78. activeUsers: {
  79. title: 'Active Users',
  80. explanation: 'Unique users engaging in Q&A with AI; prompt engineering/debugging excluded.',
  81. },
  82. tokenUsage: {
  83. title: 'Token Usage',
  84. explanation: 'Reflects the daily token usage of the language model for the application, useful for cost control purposes.',
  85. consumed: 'Consumed',
  86. },
  87. avgSessionInteractions: {
  88. title: 'Avg. Session Interactions',
  89. explanation: 'Continuous user-AI communication count; for conversation-based apps.',
  90. },
  91. userSatisfactionRate: {
  92. title: 'User Satisfaction Rate',
  93. explanation: 'The number of likes per 1,000 messages. This indicates the proportion of answers that users are highly satisfied with.',
  94. },
  95. avgResponseTime: {
  96. title: 'Avg. Response Time',
  97. explanation: 'Time (ms) for AI to process/respond; for text-based apps.',
  98. },
  99. },
  100. }
  101. export default translation