You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

app.ts 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  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: 'Agentic flow for intelligent automations',
  51. workflowUserDescription: 'Visually build autonomous AI workflows with drag-and-drop simplicity.',
  52. workflowWarning: 'Currently in beta',
  53. advancedShortDescription: 'Workflow enhanced for multi-turn chats',
  54. advancedUserDescription: 'Workflow with additional memory features and a chatbot interface.',
  55. chooseAppType: 'Choose an App Type',
  56. forBeginners: 'More basic app types',
  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. dropDSLToCreateApp: 'Drop DSL file here to create app',
  91. },
  92. newAppFromTemplate: {
  93. byCategories: 'BY CATEGORIES',
  94. searchAllTemplate: 'Search all templates...',
  95. sidebar: {
  96. Recommended: 'Recommended',
  97. Agent: 'Agent',
  98. Assistant: 'Assistant',
  99. HR: 'HR',
  100. Workflow: 'Workflow',
  101. Writing: 'Writing',
  102. Programming: 'Programming',
  103. },
  104. },
  105. editApp: 'Edit Info',
  106. editAppTitle: 'Edit App Info',
  107. editDone: 'App info updated',
  108. editFailed: 'Failed to update app info',
  109. iconPicker: {
  110. ok: 'OK',
  111. cancel: 'Cancel',
  112. emoji: 'Emoji',
  113. image: 'Image',
  114. },
  115. answerIcon: {
  116. title: 'Use web app icon to replace 🤖',
  117. description: 'Whether to use the web app icon to replace 🤖 in the shared application',
  118. descriptionInExplore: 'Whether to use the web app icon to replace 🤖 in Explore',
  119. },
  120. switch: 'Switch to Workflow Orchestrate',
  121. switchTipStart: 'A new app copy will be created for you, and the new copy will switch to Workflow Orchestrate. The new copy will ',
  122. switchTip: 'not allow',
  123. switchTipEnd: ' switching back to Basic Orchestrate.',
  124. switchLabel: 'The app copy to be created',
  125. removeOriginal: 'Delete the original app',
  126. switchStart: 'Start switch',
  127. openInExplore: 'Open in Explore',
  128. typeSelector: {
  129. all: 'All Types ',
  130. chatbot: 'Chatbot',
  131. agent: 'Agent',
  132. workflow: 'Workflow',
  133. completion: 'Completion',
  134. advanced: 'Chatflow',
  135. },
  136. tracing: {
  137. title: 'Tracing app performance',
  138. description: 'Configuring a Third-Party LLMOps provider and tracing app performance.',
  139. config: 'Config',
  140. view: 'View',
  141. collapse: 'Collapse',
  142. expand: 'Expand',
  143. tracing: 'Tracing',
  144. disabled: 'Disabled',
  145. disabledTip: 'Please config provider first',
  146. enabled: 'In Service',
  147. tracingDescription: 'Capture the full context of app execution, including LLM calls, context, prompts, HTTP requests, and more, to a third-party tracing platform.',
  148. configProviderTitle: {
  149. configured: 'Configured',
  150. notConfigured: 'Config provider to enable tracing',
  151. moreProvider: 'More Provider',
  152. },
  153. arize: {
  154. title: 'Arize',
  155. description: 'Enterprise-grade LLM observability, online & offline evaluation, monitoring, and experimentation—powered by OpenTelemetry. Purpose-built for LLM & agent-driven applications.',
  156. },
  157. phoenix: {
  158. title: 'Phoenix',
  159. description: 'Open-source & OpenTelemetry-based observability, evaluation, prompt engineering and experimentation platform for your LLM workflows and agents.',
  160. },
  161. langsmith: {
  162. title: 'LangSmith',
  163. description: 'An all-in-one developer platform for every step of the LLM-powered application lifecycle.',
  164. },
  165. langfuse: {
  166. title: 'Langfuse',
  167. description: 'Open-source LLM observability, evaluation, prompt management and metrics to debug and improve your LLM application.',
  168. },
  169. opik: {
  170. title: 'Opik',
  171. description: 'Opik is an open-source platform for evaluating, testing, and monitoring LLM applications.',
  172. },
  173. weave: {
  174. title: 'Weave',
  175. description: 'Weave is an open-source platform for evaluating, testing, and monitoring LLM applications.',
  176. },
  177. aliyun: {
  178. title: 'Cloud Monitor',
  179. description: 'The fully-managed and maintenance-free observability platform provided by Alibaba Cloud, enables out-of-the-box monitoring, tracing, and evaluation of Dify applications.',
  180. },
  181. inUse: 'In use',
  182. configProvider: {
  183. title: 'Config ',
  184. placeholder: 'Enter your {{key}}',
  185. project: 'Project',
  186. publicKey: 'Public Key',
  187. secretKey: 'Secret Key',
  188. viewDocsLink: 'View {{key}} docs',
  189. removeConfirmTitle: 'Remove {{key}} configuration?',
  190. removeConfirmContent: 'The current configuration is in use, removing it will turn off the Tracing feature.',
  191. },
  192. },
  193. appSelector: {
  194. label: 'APP',
  195. placeholder: 'Select an app...',
  196. params: 'APP PARAMETERS',
  197. noParams: 'No parameters needed',
  198. },
  199. showMyCreatedAppsOnly: 'Created by me',
  200. structOutput: {
  201. moreFillTip: 'Showing max 10 levels of nesting',
  202. required: 'Required',
  203. LLMResponse: 'LLM Response',
  204. configure: 'Configure',
  205. notConfiguredTip: 'Structured output has not been configured yet',
  206. structured: 'Structured',
  207. structuredTip: 'Structured Outputs is a feature that ensures the model will always generate responses that adhere to your supplied JSON Schema',
  208. modelNotSupported: 'Model not supported',
  209. modelNotSupportedTip: 'The current model does not support this feature and is automatically downgraded to prompt injection.',
  210. },
  211. accessControl: 'Web App Access Control',
  212. accessItemsDescription: {
  213. anyone: 'Anyone can access the web app (no login required)',
  214. specific: 'Only specific members within the platform can access the web app',
  215. organization: 'All members within the platform can access the web app',
  216. external: 'Only authenticated external users can access the web app',
  217. },
  218. accessControlDialog: {
  219. title: 'Web App Access Control',
  220. description: 'Set web app access permissions',
  221. accessLabel: 'Who has access',
  222. accessItems: {
  223. anyone: 'Anyone with the link',
  224. specific: 'Specific members within the platform',
  225. organization: 'All members within the platform',
  226. external: 'Authenticated external users',
  227. },
  228. groups_one: '{{count}} GROUP',
  229. groups_other: '{{count}} GROUPS',
  230. members_one: '{{count}} MEMBER',
  231. members_other: '{{count}} MEMBERS',
  232. noGroupsOrMembers: 'No groups or members selected',
  233. webAppSSONotEnabledTip: 'Please contact your organization administrator to configure external authentication for the web app.',
  234. operateGroupAndMember: {
  235. searchPlaceholder: 'Search groups and members',
  236. allMembers: 'All members',
  237. expand: 'Expand',
  238. noResult: 'No result',
  239. },
  240. updateSuccess: 'Update successfully',
  241. },
  242. publishApp: {
  243. title: 'Who can access web app',
  244. notSet: 'Not set',
  245. notSetDesc: 'Currently nobody can access the web app. Please set permissions.',
  246. },
  247. noAccessPermission: 'No permission to access web app',
  248. maxActiveRequests: 'Max concurrent requests',
  249. maxActiveRequestsPlaceholder: 'Enter 0 for unlimited',
  250. maxActiveRequestsTip: 'Maximum number of concurrent active requests per app (0 for unlimited)',
  251. }
  252. export default translation