app.ts 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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. advanced: 'Chatflow',
  10. basic: 'Basic',
  11. },
  12. duplicate: 'Duplicate',
  13. mermaid: {
  14. handDrawn: 'Hand Drawn',
  15. classic: 'Classic',
  16. },
  17. duplicateTitle: 'Duplicate App',
  18. export: 'Export DSL',
  19. exportFailed: 'Export DSL failed.',
  20. importDSL: 'Import DSL file',
  21. createFromConfigFile: 'Create from DSL file',
  22. importFromDSL: 'Import from DSL',
  23. importFromDSLFile: 'From DSL file',
  24. importFromDSLUrl: 'From URL',
  25. importFromDSLUrlPlaceholder: 'Paste DSL link here',
  26. deleteAppConfirmTitle: 'Delete this app?',
  27. deleteAppConfirmContent:
  28. '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.',
  29. appDeleted: 'App deleted',
  30. appDeleteFailed: 'Failed to delete app',
  31. join: 'Join the community',
  32. communityIntro:
  33. 'Discuss with team members, contributors and developers on different channels.',
  34. roadmap: 'See our roadmap',
  35. newApp: {
  36. learnMore: 'Learn more',
  37. startFromBlank: 'Create from Blank',
  38. startFromTemplate: 'Create from Template',
  39. foundResult: '{{count}} Result',
  40. foundResults: '{{count}} Results',
  41. noAppsFound: 'No apps found',
  42. noTemplateFound: 'No templates found',
  43. noTemplateFoundTip: 'Try searching using different keywords.',
  44. chatbotShortDescription: 'LLM-based chatbot with simple setup',
  45. chatbotUserDescription: 'Quickly build an LLM-based chatbot with simple configuration. You can switch to Chatflow later.',
  46. completionShortDescription: 'AI assistant for text generation tasks',
  47. completionUserDescription: 'Quickly build an AI assistant for text generation tasks with simple configuration.',
  48. agentShortDescription: 'Intelligent agent with reasoning and autonomous tool use',
  49. agentUserDescription: 'An intelligent agent capable of iterative reasoning and autonomous tool use to achieve task goals.',
  50. workflowShortDescription: 'Orchestration for single-turn automation tasks',
  51. workflowUserDescription: 'Workflow orchestration for single-round tasks like automation and batch processing.',
  52. workflowWarning: 'Currently in beta',
  53. advancedShortDescription: 'Workflow for complex multi-turn dialogues with memory',
  54. advancedUserDescription: 'Workflow orchestration for multi-round complex dialogue tasks with memory capabilities.',
  55. chooseAppType: 'Choose App Type',
  56. forBeginners: 'FOR BEGINNERS',
  57. forAdvanced: 'FOR ADVANCED USERS',
  58. noIdeaTip: 'No ideas? Check out our templates',
  59. captionName: 'App Name & Icon',
  60. appNamePlaceholder: 'Give your app a name',
  61. captionDescription: 'Description',
  62. optional: 'Optional',
  63. appDescriptionPlaceholder: 'Enter the description of the app',
  64. useTemplate: 'Use this template',
  65. previewDemo: 'Preview demo',
  66. chatApp: 'Assistant',
  67. chatAppIntro:
  68. 'I want to build a chat-based application. This app uses a question-and-answer format, allowing for multiple rounds of continuous conversation.',
  69. agentAssistant: 'New Agent Assistant',
  70. completeApp: 'Text Generator',
  71. completeAppIntro:
  72. 'I want to create an application that generates high-quality text based on prompts, such as generating articles, summaries, translations, and more.',
  73. showTemplates: 'I want to choose from a template',
  74. hideTemplates: 'Go back to mode selection',
  75. Create: 'Create',
  76. Cancel: 'Cancel',
  77. Confirm: 'Confirm',
  78. nameNotEmpty: 'Name cannot be empty',
  79. appTemplateNotSelected: 'Please select a template',
  80. appTypeRequired: 'Please select an app type',
  81. appCreated: 'App created',
  82. caution: 'Caution',
  83. appCreateDSLWarning: 'Caution: DSL version difference may affect certain features',
  84. appCreateDSLErrorTitle: 'Version Incompatibility',
  85. appCreateDSLErrorPart1: 'A significant difference in DSL versions has been detected. Forcing the import may cause the application to malfunction.',
  86. appCreateDSLErrorPart2: 'Do you want to continue?',
  87. appCreateDSLErrorPart3: 'Current application DSL version: ',
  88. appCreateDSLErrorPart4: 'System-supported DSL version: ',
  89. appCreateFailed: 'Failed to create app',
  90. },
  91. newAppFromTemplate: {
  92. byCategories: 'BY CATEGORIES',
  93. searchAllTemplate: 'Search all templates...',
  94. sidebar: {
  95. Recommended: 'Recommended',
  96. Agent: 'Agent',
  97. Assistant: 'Assistant',
  98. HR: 'HR',
  99. Workflow: 'Workflow',
  100. Writing: 'Writing',
  101. Programming: 'Programming',
  102. },
  103. },
  104. editApp: 'Edit Info',
  105. editAppTitle: 'Edit App Info',
  106. editDone: 'App info updated',
  107. editFailed: 'Failed to update app info',
  108. iconPicker: {
  109. ok: 'OK',
  110. cancel: 'Cancel',
  111. emoji: 'Emoji',
  112. image: 'Image',
  113. },
  114. answerIcon: {
  115. title: 'Use WebApp icon to replace 🤖',
  116. description: 'Whether to use the WebApp icon to replace 🤖 in the shared application',
  117. descriptionInExplore: 'Whether to use the WebApp icon to replace 🤖 in Explore',
  118. },
  119. switch: 'Switch to Workflow Orchestrate',
  120. switchTipStart: 'A new app copy will be created for you, and the new copy will switch to Workflow Orchestrate. The new copy will ',
  121. switchTip: 'not allow',
  122. switchTipEnd: ' switching back to Basic Orchestrate.',
  123. switchLabel: 'The app copy to be created',
  124. removeOriginal: 'Delete the original app',
  125. switchStart: 'Start switch',
  126. openInExplore: 'Open in Explore',
  127. typeSelector: {
  128. all: 'All Types ',
  129. chatbot: 'Chatbot',
  130. agent: 'Agent',
  131. workflow: 'Workflow',
  132. completion: 'Completion',
  133. advanced: 'Chatflow',
  134. },
  135. tracing: {
  136. title: 'Tracing app performance',
  137. description: 'Configuring a Third-Party LLMOps provider and tracing app performance.',
  138. config: 'Config',
  139. view: 'View',
  140. collapse: 'Collapse',
  141. expand: 'Expand',
  142. tracing: 'Tracing',
  143. disabled: 'Disabled',
  144. disabledTip: 'Please config provider first',
  145. enabled: 'In Service',
  146. tracingDescription: 'Capture the full context of app execution, including LLM calls, context, prompts, HTTP requests, and more, to a third-party tracing platform.',
  147. configProviderTitle: {
  148. configured: 'Configured',
  149. notConfigured: 'Config provider to enable tracing',
  150. moreProvider: 'More Provider',
  151. },
  152. langsmith: {
  153. title: 'LangSmith',
  154. description: 'An all-in-one developer platform for every step of the LLM-powered application lifecycle.',
  155. },
  156. langfuse: {
  157. title: 'Langfuse',
  158. description: 'Traces, evals, prompt management and metrics to debug and improve your LLM application.',
  159. },
  160. opik: {
  161. title: 'Opik',
  162. description: 'Opik is an open-source platform for evaluating, testing, and monitoring LLM applications.',
  163. },
  164. inUse: 'In use',
  165. configProvider: {
  166. title: 'Config ',
  167. placeholder: 'Enter your {{key}}',
  168. project: 'Project',
  169. publicKey: 'Public Key',
  170. secretKey: 'Secret Key',
  171. viewDocsLink: 'View {{key}} docs',
  172. removeConfirmTitle: 'Remove {{key}} configuration?',
  173. removeConfirmContent: 'The current configuration is in use, removing it will turn off the Tracing feature.',
  174. },
  175. },
  176. showMyCreatedAppsOnly: 'Created by me',
  177. }
  178. export default translation