app.ts 6.6 KB

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