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 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  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. dslUploader: {
  27. button: 'Drag and drop file, or',
  28. browse: 'Browse',
  29. },
  30. deleteAppConfirmTitle: 'Delete this app?',
  31. deleteAppConfirmContent:
  32. '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.',
  33. appDeleted: 'App deleted',
  34. appDeleteFailed: 'Failed to delete app',
  35. join: 'Join the community',
  36. communityIntro:
  37. 'Discuss with team members, contributors and developers on different channels.',
  38. roadmap: 'See our roadmap',
  39. newApp: {
  40. learnMore: 'Learn more',
  41. startFromBlank: 'Create from Blank',
  42. startFromTemplate: 'Create from Template',
  43. foundResult: '{{count}} Result',
  44. foundResults: '{{count}} Results',
  45. noAppsFound: 'No apps found',
  46. noTemplateFound: 'No templates found',
  47. noTemplateFoundTip: 'Try searching using different keywords.',
  48. chatbotShortDescription: 'LLM-based chatbot with simple setup',
  49. chatbotUserDescription: 'Quickly build an LLM-based chatbot with simple configuration. You can switch to Chatflow later.',
  50. completionShortDescription: 'AI assistant for text generation tasks',
  51. completionUserDescription: 'Quickly build an AI assistant for text generation tasks with simple configuration.',
  52. agentShortDescription: 'Intelligent agent with reasoning and autonomous tool use',
  53. agentUserDescription: 'An intelligent agent capable of iterative reasoning and autonomous tool use to achieve task goals.',
  54. workflowShortDescription: 'Agentic flow for intelligent automations',
  55. workflowUserDescription: 'Visually build autonomous AI workflows with drag-and-drop simplicity.',
  56. workflowWarning: 'Currently in beta',
  57. advancedShortDescription: 'Workflow enhanced for multi-turn chats',
  58. advancedUserDescription: 'Workflow with additional memory features and a chatbot interface.',
  59. chooseAppType: 'Choose an App Type',
  60. forBeginners: 'More basic app types',
  61. forAdvanced: 'FOR ADVANCED USERS',
  62. noIdeaTip: 'No ideas? Check out our templates',
  63. captionName: 'App Name & Icon',
  64. appNamePlaceholder: 'Give your app a name',
  65. captionDescription: 'Description',
  66. optional: 'Optional',
  67. appDescriptionPlaceholder: 'Enter the description of the app',
  68. useTemplate: 'Use this template',
  69. previewDemo: 'Preview demo',
  70. chatApp: 'Assistant',
  71. chatAppIntro:
  72. 'I want to build a chat-based application. This app uses a question-and-answer format, allowing for multiple rounds of continuous conversation.',
  73. agentAssistant: 'New Agent Assistant',
  74. completeApp: 'Text Generator',
  75. completeAppIntro:
  76. 'I want to create an application that generates high-quality text based on prompts, such as generating articles, summaries, translations, and more.',
  77. showTemplates: 'I want to choose from a template',
  78. hideTemplates: 'Go back to mode selection',
  79. Create: 'Create',
  80. Cancel: 'Cancel',
  81. Confirm: 'Confirm',
  82. nameNotEmpty: 'Name cannot be empty',
  83. appTemplateNotSelected: 'Please select a template',
  84. appTypeRequired: 'Please select an app type',
  85. appCreated: 'App created',
  86. caution: 'Caution',
  87. appCreateDSLWarning: 'Caution: DSL version difference may affect certain features',
  88. appCreateDSLErrorTitle: 'Version Incompatibility',
  89. appCreateDSLErrorPart1: 'A significant difference in DSL versions has been detected. Forcing the import may cause the application to malfunction.',
  90. appCreateDSLErrorPart2: 'Do you want to continue?',
  91. appCreateDSLErrorPart3: 'Current application DSL version: ',
  92. appCreateDSLErrorPart4: 'System-supported DSL version: ',
  93. appCreateFailed: 'Failed to create app',
  94. dropDSLToCreateApp: 'Drop DSL file here to create app',
  95. },
  96. newAppFromTemplate: {
  97. byCategories: 'BY CATEGORIES',
  98. searchAllTemplate: 'Search all templates...',
  99. sidebar: {
  100. Recommended: 'Recommended',
  101. Agent: 'Agent',
  102. Assistant: 'Assistant',
  103. HR: 'HR',
  104. Workflow: 'Workflow',
  105. Writing: 'Writing',
  106. Programming: 'Programming',
  107. },
  108. },
  109. editApp: 'Edit Info',
  110. editAppTitle: 'Edit App Info',
  111. editDone: 'App info updated',
  112. editFailed: 'Failed to update app info',
  113. iconPicker: {
  114. ok: 'OK',
  115. cancel: 'Cancel',
  116. emoji: 'Emoji',
  117. image: 'Image',
  118. },
  119. answerIcon: {
  120. title: 'Use web app icon to replace 🤖',
  121. description: 'Whether to use the web app icon to replace 🤖 in the shared application',
  122. descriptionInExplore: 'Whether to use the web app icon to replace 🤖 in Explore',
  123. },
  124. switch: 'Switch to Workflow Orchestrate',
  125. switchTipStart: 'A new app copy will be created for you, and the new copy will switch to Workflow Orchestrate. The new copy will ',
  126. switchTip: 'not allow',
  127. switchTipEnd: ' switching back to Basic Orchestrate.',
  128. switchLabel: 'The app copy to be created',
  129. removeOriginal: 'Delete the original app',
  130. switchStart: 'Start switch',
  131. openInExplore: 'Open in Explore',
  132. typeSelector: {
  133. all: 'All Types ',
  134. chatbot: 'Chatbot',
  135. agent: 'Agent',
  136. workflow: 'Workflow',
  137. completion: 'Completion',
  138. advanced: 'Chatflow',
  139. },
  140. tracing: {
  141. title: 'Tracing app performance',
  142. description: 'Configuring a Third-Party LLMOps provider and tracing app performance.',
  143. config: 'Config',
  144. view: 'View',
  145. collapse: 'Collapse',
  146. expand: 'Expand',
  147. tracing: 'Tracing',
  148. disabled: 'Disabled',
  149. disabledTip: 'Please config provider first',
  150. enabled: 'In Service',
  151. tracingDescription: 'Capture the full context of app execution, including LLM calls, context, prompts, HTTP requests, and more, to a third-party tracing platform.',
  152. configProviderTitle: {
  153. configured: 'Configured',
  154. notConfigured: 'Config provider to enable tracing',
  155. moreProvider: 'More Provider',
  156. },
  157. arize: {
  158. title: 'Arize',
  159. description: 'Enterprise-grade LLM observability, online & offline evaluation, monitoring, and experimentation—powered by OpenTelemetry. Purpose-built for LLM & agent-driven applications.',
  160. },
  161. phoenix: {
  162. title: 'Phoenix',
  163. description: 'Open-source & OpenTelemetry-based observability, evaluation, prompt engineering and experimentation platform for your LLM workflows and agents.',
  164. },
  165. langsmith: {
  166. title: 'LangSmith',
  167. description: 'An all-in-one developer platform for every step of the LLM-powered application lifecycle.',
  168. },
  169. langfuse: {
  170. title: 'Langfuse',
  171. description: 'Open-source LLM observability, evaluation, prompt management and metrics to debug and improve your LLM application.',
  172. },
  173. opik: {
  174. title: 'Opik',
  175. description: 'Opik is an open-source platform for evaluating, testing, and monitoring LLM applications.',
  176. },
  177. weave: {
  178. title: 'Weave',
  179. description: 'Weave is an open-source platform for evaluating, testing, and monitoring LLM applications.',
  180. },
  181. aliyun: {
  182. title: 'Cloud Monitor',
  183. 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.',
  184. },
  185. inUse: 'In use',
  186. configProvider: {
  187. title: 'Config ',
  188. placeholder: 'Enter your {{key}}',
  189. project: 'Project',
  190. publicKey: 'Public Key',
  191. secretKey: 'Secret Key',
  192. viewDocsLink: 'View {{key}} docs',
  193. removeConfirmTitle: 'Remove {{key}} configuration?',
  194. removeConfirmContent: 'The current configuration is in use, removing it will turn off the Tracing feature.',
  195. },
  196. },
  197. appSelector: {
  198. label: 'APP',
  199. placeholder: 'Select an app...',
  200. params: 'APP PARAMETERS',
  201. noParams: 'No parameters needed',
  202. },
  203. showMyCreatedAppsOnly: 'Created by me',
  204. structOutput: {
  205. moreFillTip: 'Showing max 10 levels of nesting',
  206. required: 'Required',
  207. LLMResponse: 'LLM Response',
  208. configure: 'Configure',
  209. notConfiguredTip: 'Structured output has not been configured yet',
  210. structured: 'Structured',
  211. structuredTip: 'Structured Outputs is a feature that ensures the model will always generate responses that adhere to your supplied JSON Schema',
  212. modelNotSupported: 'Model not supported',
  213. modelNotSupportedTip: 'The current model does not support this feature and is automatically downgraded to prompt injection.',
  214. },
  215. accessControl: 'Web App Access Control',
  216. accessItemsDescription: {
  217. anyone: 'Anyone can access the web app (no login required)',
  218. specific: 'Only specific members within the platform can access the web app',
  219. organization: 'All members within the platform can access the web app',
  220. external: 'Only authenticated external users can access the web app',
  221. },
  222. accessControlDialog: {
  223. title: 'Web App Access Control',
  224. description: 'Set web app access permissions',
  225. accessLabel: 'Who has access',
  226. accessItems: {
  227. anyone: 'Anyone with the link',
  228. specific: 'Specific members within the platform',
  229. organization: 'All members within the platform',
  230. external: 'Authenticated external users',
  231. },
  232. groups_one: '{{count}} GROUP',
  233. groups_other: '{{count}} GROUPS',
  234. members_one: '{{count}} MEMBER',
  235. members_other: '{{count}} MEMBERS',
  236. noGroupsOrMembers: 'No groups or members selected',
  237. webAppSSONotEnabledTip: 'Please contact your organization administrator to configure external authentication for the web app.',
  238. operateGroupAndMember: {
  239. searchPlaceholder: 'Search groups and members',
  240. allMembers: 'All members',
  241. expand: 'Expand',
  242. noResult: 'No result',
  243. },
  244. updateSuccess: 'Update successfully',
  245. },
  246. publishApp: {
  247. title: 'Who can access web app',
  248. notSet: 'Not set',
  249. notSetDesc: 'Currently nobody can access the web app. Please set permissions.',
  250. },
  251. noAccessPermission: 'No permission to access web app',
  252. maxActiveRequests: 'Max concurrent requests',
  253. maxActiveRequestsPlaceholder: 'Enter 0 for unlimited',
  254. maxActiveRequestsTip: 'Maximum number of concurrent active requests per app (0 for unlimited)',
  255. gotoAnything: {
  256. searchPlaceholder: 'Search or type @ or / for commands...',
  257. searchTitle: 'Search for anything',
  258. searching: 'Searching...',
  259. noResults: 'No results found',
  260. searchFailed: 'Search failed',
  261. searchTemporarilyUnavailable: 'Search temporarily unavailable',
  262. servicesUnavailableMessage: 'Some search services may be experiencing issues. Try again in a moment.',
  263. someServicesUnavailable: 'Some search services unavailable',
  264. resultCount: '{{count}} result',
  265. resultCount_other: '{{count}} results',
  266. inScope: 'in {{scope}}s',
  267. clearToSearchAll: 'Clear @ to search all',
  268. useAtForSpecific: 'Use @ for specific types',
  269. selectSearchType: 'Choose what to search for',
  270. searchHint: 'Start typing to search everything instantly',
  271. commandHint: 'Type @ to browse by category',
  272. slashHint: 'Type / to see all available commands',
  273. actions: {
  274. searchApplications: 'Search Applications',
  275. searchApplicationsDesc: 'Search and navigate to your applications',
  276. searchPlugins: 'Search Plugins',
  277. searchPluginsDesc: 'Search and navigate to your plugins',
  278. searchKnowledgeBases: 'Search Knowledge Bases',
  279. searchKnowledgeBasesDesc: 'Search and navigate to your knowledge bases',
  280. searchWorkflowNodes: 'Search Workflow Nodes',
  281. searchWorkflowNodesDesc: 'Find and jump to nodes in the current workflow by name or type',
  282. searchWorkflowNodesHelp: 'This feature only works when viewing a workflow. Navigate to a workflow first.',
  283. runTitle: 'Commands',
  284. runDesc: 'Run quick commands (theme, language, ...)',
  285. themeCategoryTitle: 'Theme',
  286. themeCategoryDesc: 'Switch application theme',
  287. themeSystem: 'System Theme',
  288. themeSystemDesc: 'Follow your OS appearance',
  289. themeLight: 'Light Theme',
  290. themeLightDesc: 'Use light appearance',
  291. themeDark: 'Dark Theme',
  292. themeDarkDesc: 'Use dark appearance',
  293. languageCategoryTitle: 'Language',
  294. languageCategoryDesc: 'Switch interface language',
  295. languageChangeDesc: 'Change UI language',
  296. slashDesc: 'Execute commands (type / to see all available commands)',
  297. accountDesc: 'Navigate to account page',
  298. communityDesc: 'Open Discord community',
  299. docDesc: 'Open help documentation',
  300. feedbackDesc: 'Open community feedback discussions',
  301. },
  302. emptyState: {
  303. noAppsFound: 'No apps found',
  304. noPluginsFound: 'No plugins found',
  305. noKnowledgeBasesFound: 'No knowledge bases found',
  306. noWorkflowNodesFound: 'No workflow nodes found',
  307. tryDifferentTerm: 'Try a different search term',
  308. trySpecificSearch: 'Try {{shortcuts}} for specific searches',
  309. },
  310. groups: {
  311. apps: 'Apps',
  312. plugins: 'Plugins',
  313. knowledgeBases: 'Knowledge Bases',
  314. workflowNodes: 'Workflow Nodes',
  315. commands: 'Commands',
  316. },
  317. noMatchingCommands: 'No matching commands found',
  318. tryDifferentSearch: 'Try a different search term',
  319. },
  320. }
  321. export default translation