Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

plugin.ts 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. const translation = {
  2. metadata: {
  3. title: 'Plugins',
  4. },
  5. category: {
  6. all: 'All',
  7. models: 'Models',
  8. tools: 'Tools',
  9. agents: 'Agent Strategies',
  10. extensions: 'Extensions',
  11. bundles: 'Bundles',
  12. },
  13. categorySingle: {
  14. model: 'Model',
  15. tool: 'Tool',
  16. agent: 'Agent Strategy',
  17. extension: 'Extension',
  18. bundle: 'Bundle',
  19. },
  20. search: 'Search',
  21. allCategories: 'All Categories',
  22. searchCategories: 'Search Categories',
  23. searchPlugins: 'Search plugins',
  24. from: 'From',
  25. findMoreInMarketplace: 'Find more in Marketplace',
  26. searchInMarketplace: 'Search in Marketplace',
  27. fromMarketplace: 'From Marketplace',
  28. endpointsEnabled: '{{num}} sets of endpoints enabled',
  29. searchTools: 'Search tools...',
  30. installPlugin: 'Install plugin',
  31. installFrom: 'INSTALL FROM',
  32. deprecated: 'Deprecated',
  33. list: {
  34. noInstalled: 'No plugins installed',
  35. notFound: 'No plugins found',
  36. source: {
  37. marketplace: 'Install from Marketplace',
  38. github: 'Install from GitHub',
  39. local: 'Install from Local Package File',
  40. },
  41. },
  42. source: {
  43. marketplace: 'Marketplace',
  44. github: 'GitHub',
  45. local: 'Local Package File',
  46. },
  47. detailPanel: {
  48. switchVersion: 'Switch Version',
  49. categoryTip: {
  50. marketplace: 'Installed from Marketplace',
  51. github: 'Installed from Github',
  52. local: 'Local Plugin',
  53. debugging: 'Debugging Plugin',
  54. },
  55. operation: {
  56. install: 'Install',
  57. detail: 'Details',
  58. update: 'Update',
  59. info: 'Plugin Info',
  60. checkUpdate: 'Check Update',
  61. viewDetail: 'View Detail',
  62. remove: 'Remove',
  63. },
  64. actionNum: '{{num}} {{action}} INCLUDED',
  65. strategyNum: '{{num}} {{strategy}} INCLUDED',
  66. endpoints: 'Endpoints',
  67. endpointsTip: 'This plugin provides specific functionalities via endpoints, and you can configure multiple endpoint sets for current workspace.',
  68. endpointsDocLink: 'View the document',
  69. endpointsEmpty: 'Click the \'+\' button to add an endpoint',
  70. endpointDisableTip: 'Disable Endpoint',
  71. endpointDisableContent: 'Would you like to disable {{name}}? ',
  72. endpointDeleteTip: 'Remove Endpoint',
  73. endpointDeleteContent: 'Would you like to remove {{name}}? ',
  74. endpointModalTitle: 'Setup endpoint',
  75. endpointModalDesc: 'Once configured, the features provided by the plugin via API endpoints can be used.',
  76. serviceOk: 'Service OK',
  77. disabled: 'Disabled',
  78. modelNum: '{{num}} MODELS INCLUDED',
  79. toolSelector: {
  80. title: 'Add tool',
  81. toolSetting: 'Tool Settings',
  82. toolLabel: 'Tool',
  83. descriptionLabel: 'Tool description',
  84. descriptionPlaceholder: 'Brief description of the tool\'s purpose, e.g., get the temperature for a specific location.',
  85. placeholder: 'Select a tool...',
  86. settings: 'USER SETTINGS',
  87. params: 'REASONING CONFIG',
  88. paramsTip1: 'Controls LLM inference parameters.',
  89. paramsTip2: 'When \'Auto\' is off, the default value is used.',
  90. auto: 'Auto',
  91. empty: 'Click the \'+\' button to add tools. You can add multiple tools.',
  92. uninstalledTitle: 'Tool not installed',
  93. uninstalledContent: 'This plugin is installed from the local/GitHub repository. Please use after installation.',
  94. uninstalledLink: 'Manage in Plugins',
  95. unsupportedTitle: 'Unsupported Action',
  96. unsupportedContent: 'The installed plugin version does not provide this action.',
  97. unsupportedContent2: 'Click to switch version.',
  98. unsupportedMCPTool: 'Currently selected agent strategy plugin version does not support MCP tools.',
  99. },
  100. configureApp: 'Configure App',
  101. configureModel: 'Configure model',
  102. configureTool: 'Configure tool',
  103. deprecation: {
  104. fullMessage: 'This plugin has been deprecated due to {{deprecatedReason}}, and will no longer be updated. Please use <CustomLink href=\'https://example.com/\'>{{-alternativePluginId}}</CustomLink> instead.',
  105. onlyReason: 'This plugin has been deprecated due to {{deprecatedReason}} and will no longer be updated.',
  106. noReason: 'This plugin has been deprecated and will no longer be updated.',
  107. reason: {
  108. businessAdjustments: 'business adjustments',
  109. ownershipTransferred: 'ownership transferred',
  110. noMaintainer: 'no maintainer',
  111. },
  112. },
  113. },
  114. install: '{{num}} installs',
  115. installAction: 'Install',
  116. debugInfo: {
  117. title: 'Debugging',
  118. viewDocs: 'View Docs',
  119. },
  120. privilege: {
  121. title: 'Plugin Preferences',
  122. whoCanInstall: 'Who can install and manage plugins?',
  123. whoCanDebug: 'Who can debug plugins?',
  124. everyone: 'Everyone',
  125. admins: 'Admins',
  126. noone: 'No one',
  127. },
  128. autoUpdate: {
  129. automaticUpdates: 'Automatic updates',
  130. updateTime: 'Update time',
  131. specifyPluginsToUpdate: 'Specify plugins to update',
  132. strategy: {
  133. disabled: {
  134. name: 'Disabled',
  135. description: 'Plugins will not auto-update',
  136. },
  137. fixOnly: {
  138. name: 'Fix Only',
  139. description: 'Auto-update for patch versions only (e.g., 1.0.1 → 1.0.2). Minor version changes won\'t trigger updates.',
  140. selectedDescription: 'Auto-update for patch versions only',
  141. },
  142. latest: {
  143. name: 'Latest',
  144. description: 'Always update to latest version',
  145. selectedDescription: 'Always update to latest version',
  146. },
  147. },
  148. updateTimeTitle: 'Update time',
  149. upgradeMode: {
  150. all: 'Update all',
  151. exclude: 'Exclude selected',
  152. partial: 'Only selected',
  153. },
  154. upgradeModePlaceholder: {
  155. exclude: 'Selected plugins will not auto-update',
  156. partial: 'Only selected plugins will auto-update. No plugins are currently selected, so no plugins will auto-update.',
  157. },
  158. excludeUpdate: 'The following {{num}} plugins will not auto-update',
  159. partialUPdate: 'Only the following {{num}} plugins will auto-update',
  160. operation: {
  161. clearAll: 'Clear all',
  162. select: 'Select plugins',
  163. },
  164. nextUpdateTime: 'Next auto-update: {{time}}',
  165. pluginDowngradeWarning: {
  166. title: 'Plugin Downgrade',
  167. description: 'Auto-update is currently enabled for this plugin. Downgrading the version may cause your changes to be overwritten during the next automatic update.',
  168. downgrade: 'Downgrade anyway',
  169. exclude: 'Exclude from auto-update',
  170. },
  171. noPluginPlaceholder: {
  172. noFound: 'No plugins were found',
  173. noInstalled: 'No plugins installed',
  174. },
  175. updateSettings: 'Update Settings',
  176. changeTimezone: 'To change time zone, go to <setTimezone>Settings</setTimezone>',
  177. },
  178. pluginInfoModal: {
  179. title: 'Plugin info',
  180. repository: 'Repository',
  181. release: 'Release',
  182. packageName: 'Package',
  183. },
  184. action: {
  185. checkForUpdates: 'Check for updates',
  186. pluginInfo: 'Plugin info',
  187. delete: 'Remove plugin',
  188. deleteContentLeft: 'Would you like to remove ',
  189. deleteContentRight: ' plugin?',
  190. usedInApps: 'This plugin is being used in {{num}} apps.',
  191. },
  192. installModal: {
  193. installPlugin: 'Install Plugin',
  194. installComplete: 'Installation complete',
  195. installedSuccessfully: 'Installation successful',
  196. installedSuccessfullyDesc: 'The plugin has been installed successfully.',
  197. uploadFailed: 'Upload failed',
  198. installFailed: 'Installation failed',
  199. installFailedDesc: 'The plugin has been installed failed.',
  200. install: 'Install',
  201. installing: 'Installing...',
  202. uploadingPackage: 'Uploading {{packageName}}...',
  203. readyToInstall: 'About to install the following plugin',
  204. readyToInstallPackage: 'About to install the following plugin',
  205. readyToInstallPackages: 'About to install the following {{num}} plugins',
  206. fromTrustSource: 'Please make sure that you only install plugins from a <trustSource>trusted source</trustSource>.',
  207. dropPluginToInstall: 'Drop plugin package here to install',
  208. labels: {
  209. repository: 'Repository',
  210. version: 'Version',
  211. package: 'Package',
  212. },
  213. close: 'Close',
  214. cancel: 'Cancel',
  215. back: 'Back',
  216. next: 'Next',
  217. pluginLoadError: 'Plugin load error',
  218. pluginLoadErrorDesc: 'This plugin will not be installed',
  219. installWarning: 'This plugin is not allowed to be installed.',
  220. },
  221. installFromGitHub: {
  222. installPlugin: 'Install plugin from GitHub',
  223. updatePlugin: 'Update plugin from GitHub',
  224. installedSuccessfully: 'Installation successful',
  225. installFailed: 'Installation failed',
  226. uploadFailed: 'Upload failed',
  227. gitHubRepo: 'GitHub repository',
  228. selectVersion: 'Select version',
  229. selectVersionPlaceholder: 'Please select a version',
  230. installNote: 'Please make sure that you only install plugins from a trusted source.',
  231. selectPackage: 'Select package',
  232. selectPackagePlaceholder: 'Please select a package',
  233. },
  234. upgrade: {
  235. title: 'Install Plugin',
  236. successfulTitle: 'Install successful',
  237. description: 'About to install the following plugin',
  238. usedInApps: 'Used in {{num}} apps',
  239. upgrade: 'Install',
  240. upgrading: 'Installing...',
  241. close: 'Close',
  242. },
  243. error: {
  244. inValidGitHubUrl: 'Invalid GitHub URL. Please enter a valid URL in the format: https://github.com/owner/repo',
  245. fetchReleasesError: 'Unable to retrieve releases. Please try again later.',
  246. noReleasesFound: 'No releases found. Please check the GitHub repository or the input URL.',
  247. },
  248. marketplace: {
  249. empower: 'Empower your AI development',
  250. discover: 'Discover',
  251. and: 'and',
  252. difyMarketplace: 'Dify Marketplace',
  253. moreFrom: 'More from Marketplace',
  254. noPluginFound: 'No plugin found',
  255. pluginsResult: '{{num}} results',
  256. sortBy: 'Sort by',
  257. sortOption: {
  258. mostPopular: 'Most Popular',
  259. recentlyUpdated: 'Recently Updated',
  260. newlyReleased: 'Newly Released',
  261. firstReleased: 'First Released',
  262. },
  263. viewMore: 'View more',
  264. verifiedTip: 'Verified by Dify',
  265. partnerTip: 'Verified by a Dify partner',
  266. },
  267. task: {
  268. installing: 'Installing {{installingLength}} plugins, 0 done.',
  269. installingWithSuccess: 'Installing {{installingLength}} plugins, {{successLength}} success.',
  270. installingWithError: 'Installing {{installingLength}} plugins, {{successLength}} success, {{errorLength}} failed',
  271. installError: '{{errorLength}} plugins failed to install, click to view',
  272. installedError: '{{errorLength}} plugins failed to install',
  273. clearAll: 'Clear all',
  274. },
  275. requestAPlugin: 'Request a plugin',
  276. publishPlugins: 'Publish plugins',
  277. difyVersionNotCompatible: 'The current Dify version is not compatible with this plugin, please upgrade to the minimum version required: {{minimalDifyVersion}}',
  278. auth: {
  279. default: 'Default',
  280. custom: 'Custom',
  281. setDefault: 'Set as default',
  282. useOAuth: 'Use OAuth',
  283. useOAuthAuth: 'Use OAuth Authorization',
  284. addOAuth: 'Add OAuth',
  285. setupOAuth: 'Setup OAuth Client',
  286. useApi: 'Use API Key',
  287. addApi: 'Add API Key',
  288. useApiAuth: 'API Key Authorization Configuration',
  289. useApiAuthDesc: 'After configuring credentials, all members within the workspace can use this tool when orchestrating applications.',
  290. oauthClientSettings: 'OAuth Client Settings',
  291. saveOnly: 'Save only',
  292. saveAndAuth: 'Save and Authorize',
  293. authorization: 'Authorization',
  294. authorizations: 'Authorizations',
  295. authorizationName: 'Authorization Name',
  296. workspaceDefault: 'Workspace Default',
  297. authRemoved: 'Auth removed',
  298. clientInfo: 'As no system client secrets found for this tool provider, setup it manually is required, for redirect_uri, please use',
  299. oauthClient: 'OAuth Client',
  300. },
  301. }
  302. export default translation