app.ts 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. const translation = {
  2. createApp: 'CREATE APP',
  3. types: {
  4. all: 'All',
  5. chatbot: 'Chatbot',
  6. agent: 'Agent',
  7. workflow: 'Workflow',
  8. completion: 'Completion',
  9. },
  10. duplicate: 'Duplicate',
  11. duplicateTitle: 'Duplicate App',
  12. export: 'Export DSL',
  13. exportFailed: 'Export DSL failed.',
  14. importDSL: 'Import DSL file',
  15. createFromConfigFile: 'Create from DSL file',
  16. importFromDSL: 'Import from DSL',
  17. importFromDSLFile: 'From DSL file',
  18. importFromDSLUrl: 'From URL',
  19. importFromDSLUrlPlaceholder: 'Paste DSL link here',
  20. deleteAppConfirmTitle: 'Delete this app?',
  21. deleteAppConfirmContent:
  22. 'Deleting the app is irreversible. Users will no longer be able to access your app, and all prompt configurations and logs will be permanently deleted.',
  23. appDeleted: 'App deleted',
  24. appDeleteFailed: 'Failed to delete app',
  25. join: 'Join the community',
  26. communityIntro:
  27. 'Discuss with team members, contributors and developers on different channels.',
  28. roadmap: 'See our roadmap',
  29. newApp: {
  30. startFromBlank: 'Create from Blank',
  31. startFromTemplate: 'Create from Template',
  32. captionAppType: 'What type of app do you want to create?',
  33. chatbotDescription: 'Build a chat-based application. This app uses a question-and-answer format, allowing for multiple rounds of continuous conversation.',
  34. completionDescription: 'Build an application that generates high-quality text based on prompts, such as generating articles, summaries, translations, and more.',
  35. completionWarning: 'This type of app will no longer be supported.',
  36. agentDescription: 'Build an intelligent Agent which can autonomously choose tools to complete the tasks',
  37. workflowDescription: 'Build an application that generates high-quality text based on workflow orchestrates with a high degree of customization. It is suitable for experienced users.',
  38. workflowWarning: 'Currently in beta',
  39. chatbotType: 'Chatbot orchestrate method',
  40. basic: 'Basic',
  41. basicTip: 'For beginners, can switch to Chatflow later',
  42. basicFor: 'FOR BEGINNERS',
  43. basicDescription: 'Basic Orchestrate allows for the orchestration of a Chatbot app using simple settings, without the ability to modify built-in prompts. It is suitable for beginners.',
  44. advanced: 'Chatflow',
  45. advancedFor: 'For advanced users',
  46. advancedDescription: 'Workflow Orchestrate orchestrates Chatbots in the form of workflows, offering a high degree of customization, including the ability to edit built-in prompts. It is suitable for experienced users.',
  47. captionName: 'App icon & name',
  48. appNamePlaceholder: 'Give your app a name',
  49. captionDescription: 'Description',
  50. appDescriptionPlaceholder: 'Enter the description of the app',
  51. useTemplate: 'Use this template',
  52. previewDemo: 'Preview demo',
  53. chatApp: 'Assistant',
  54. chatAppIntro:
  55. 'I want to build a chat-based application. This app uses a question-and-answer format, allowing for multiple rounds of continuous conversation.',
  56. agentAssistant: 'New Agent Assistant',
  57. completeApp: 'Text Generator',
  58. completeAppIntro:
  59. 'I want to create an application that generates high-quality text based on prompts, such as generating articles, summaries, translations, and more.',
  60. showTemplates: 'I want to choose from a template',
  61. hideTemplates: 'Go back to mode selection',
  62. Create: 'Create',
  63. Cancel: 'Cancel',
  64. Confirm: 'Confirm',
  65. nameNotEmpty: 'Name cannot be empty',
  66. appTemplateNotSelected: 'Please select a template',
  67. appTypeRequired: 'Please select an app type',
  68. appCreated: 'App created',
  69. caution: 'Caution',
  70. appCreateDSLWarning: 'Caution: DSL version difference may affect certain features',
  71. appCreateDSLErrorTitle: 'Version Incompatibility',
  72. appCreateDSLErrorPart1: 'A significant difference in DSL versions has been detected. Forcing the import may cause the application to malfunction.',
  73. appCreateDSLErrorPart2: 'Do you want to continue?',
  74. appCreateDSLErrorPart3: 'Current application DSL version: ',
  75. appCreateDSLErrorPart4: 'System-supported DSL version: ',
  76. appCreateFailed: 'Failed to create app',
  77. },
  78. editApp: 'Edit Info',
  79. editAppTitle: 'Edit App Info',
  80. editDone: 'App info updated',
  81. editFailed: 'Failed to update app info',
  82. iconPicker: {
  83. ok: 'OK',
  84. cancel: 'Cancel',
  85. emoji: 'Emoji',
  86. image: 'Image',
  87. },
  88. answerIcon: {
  89. title: 'Use WebApp icon to replace 🤖',
  90. description: 'Whether to use the WebApp icon to replace 🤖 in the shared application',
  91. descriptionInExplore: 'Whether to use the WebApp icon to replace 🤖 in Explore',
  92. },
  93. switch: 'Switch to Workflow Orchestrate',
  94. switchTipStart: 'A new app copy will be created for you, and the new copy will switch to Workflow Orchestrate. The new copy will ',
  95. switchTip: 'not allow',
  96. switchTipEnd: ' switching back to Basic Orchestrate.',
  97. switchLabel: 'The app copy to be created',
  98. removeOriginal: 'Delete the original app',
  99. switchStart: 'Start switch',
  100. typeSelector: {
  101. all: 'ALL Types',
  102. chatbot: 'Chatbot',
  103. agent: 'Agent',
  104. workflow: 'Workflow',
  105. completion: 'Completion',
  106. },
  107. tracing: {
  108. title: 'Tracing app performance',
  109. description: 'Configuring a Third-Party LLMOps provider and tracing app performance.',
  110. config: 'Config',
  111. view: 'View',
  112. collapse: 'Collapse',
  113. expand: 'Expand',
  114. tracing: 'Tracing',
  115. disabled: 'Disabled',
  116. disabledTip: 'Please config provider first',
  117. enabled: 'In Service',
  118. tracingDescription: 'Capture the full context of app execution, including LLM calls, context, prompts, HTTP requests, and more, to a third-party tracing platform.',
  119. configProviderTitle: {
  120. configured: 'Configured',
  121. notConfigured: 'Config provider to enable tracing',
  122. moreProvider: 'More Provider',
  123. },
  124. langsmith: {
  125. title: 'LangSmith',
  126. description: 'An all-in-one developer platform for every step of the LLM-powered application lifecycle.',
  127. },
  128. langfuse: {
  129. title: 'Langfuse',
  130. description: 'Traces, evals, prompt management and metrics to debug and improve your LLM application.',
  131. },
  132. inUse: 'In use',
  133. configProvider: {
  134. title: 'Config ',
  135. placeholder: 'Enter your {{key}}',
  136. project: 'Project',
  137. publicKey: 'Public Key',
  138. secretKey: 'Secret Key',
  139. viewDocsLink: 'View {{key}} docs',
  140. removeConfirmTitle: 'Remove {{key}} configuration?',
  141. removeConfirmContent: 'The current configuration is in use, removing it will turn off the Tracing feature.',
  142. },
  143. },
  144. }
  145. export default translation