Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

plugin.ts 7.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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. list: {
  33. noInstalled: 'No plugins installed',
  34. notFound: 'No plugins found',
  35. source: {
  36. marketplace: 'Install from Marketplace',
  37. github: 'Install from GitHub',
  38. local: 'Install from Local Package File',
  39. },
  40. },
  41. source: {
  42. marketplace: 'Marketplace',
  43. github: 'GitHub',
  44. local: 'Local Package File',
  45. },
  46. detailPanel: {
  47. switchVersion: 'Switch Version',
  48. categoryTip: {
  49. marketplace: 'Installed from Marketplace',
  50. github: 'Installed from Github',
  51. local: 'Local Plugin',
  52. debugging: 'Debugging Plugin',
  53. },
  54. operation: {
  55. install: 'Install',
  56. detail: 'Details',
  57. update: 'Update',
  58. info: 'Plugin Info',
  59. checkUpdate: 'Check Update',
  60. viewDetail: 'View Detail',
  61. remove: 'Remove',
  62. },
  63. actionNum: '{{num}} {{action}} INCLUDED',
  64. strategyNum: '{{num}} {{strategy}} INCLUDED',
  65. endpoints: 'Endpoints',
  66. endpointsTip: 'This plugin provides specific functionalities via endpoints, and you can configure multiple endpoint sets for current workspace.',
  67. endpointsDocLink: 'View the document',
  68. endpointsEmpty: 'Click the \'+\' button to add an endpoint',
  69. endpointDisableTip: 'Disable Endpoint',
  70. endpointDisableContent: 'Would you like to disable {{name}}? ',
  71. endpointDeleteTip: 'Remove Endpoint',
  72. endpointDeleteContent: 'Would you like to remove {{name}}? ',
  73. endpointModalTitle: 'Setup endpoint',
  74. endpointModalDesc: 'Once configured, the features provided by the plugin via API endpoints can be used.',
  75. serviceOk: 'Service OK',
  76. disabled: 'Disabled',
  77. modelNum: '{{num}} MODELS INCLUDED',
  78. toolSelector: {
  79. title: 'Add tool',
  80. toolLabel: 'Tool',
  81. descriptionLabel: 'Tool description',
  82. descriptionPlaceholder: 'Brief description of the tool\'s purpose, e.g., get the temperature for a specific location.',
  83. placeholder: 'Select a tool...',
  84. settings: 'USER SETTINGS',
  85. params: 'REASONING CONFIG',
  86. paramsTip1: 'Controls LLM inference parameters.',
  87. paramsTip2: 'When \'Automatic\' is off, the default value is used.',
  88. auto: 'Automatic',
  89. empty: 'Click the \'+\' button to add tools. You can add multiple tools.',
  90. uninstalledTitle: 'Tool not installed',
  91. uninstalledContent: 'This plugin is installed from the local/GitHub repository. Please use after installation.',
  92. uninstalledLink: 'Manage in Plugins',
  93. unsupportedTitle: 'Unsupported Action',
  94. unsupportedContent: 'The installed plugin version does not provide this action.',
  95. unsupportedContent2: 'Click to switch version.',
  96. },
  97. configureApp: 'Configure App',
  98. configureModel: 'Configure model',
  99. configureTool: 'Configure tool',
  100. },
  101. install: '{{num}} installs',
  102. installAction: 'Install',
  103. debugInfo: {
  104. title: 'Debugging',
  105. viewDocs: 'View Docs',
  106. },
  107. privilege: {
  108. title: 'Plugin Preferences',
  109. whoCanInstall: 'Who can install and manage plugins?',
  110. whoCanDebug: 'Who can debug plugins?',
  111. everyone: 'Everyone',
  112. admins: 'Admins',
  113. noone: 'No one',
  114. },
  115. pluginInfoModal: {
  116. title: 'Plugin info',
  117. repository: 'Repository',
  118. release: 'Release',
  119. packageName: 'Package',
  120. },
  121. action: {
  122. checkForUpdates: 'Check for updates',
  123. pluginInfo: 'Plugin info',
  124. delete: 'Remove plugin',
  125. deleteContentLeft: 'Would you like to remove ',
  126. deleteContentRight: ' plugin?',
  127. usedInApps: 'This plugin is being used in {{num}} apps.',
  128. },
  129. installModal: {
  130. installPlugin: 'Install Plugin',
  131. installComplete: 'Installation complete',
  132. installedSuccessfully: 'Installation successful',
  133. installedSuccessfullyDesc: 'The plugin has been installed successfully.',
  134. uploadFailed: 'Upload failed',
  135. installFailed: 'Installation failed',
  136. installFailedDesc: 'The plugin has been installed failed.',
  137. install: 'Install',
  138. installing: 'Installing...',
  139. uploadingPackage: 'Uploading {{packageName}}...',
  140. readyToInstall: 'About to install the following plugin',
  141. readyToInstallPackage: 'About to install the following plugin',
  142. readyToInstallPackages: 'About to install the following {{num}} plugins',
  143. fromTrustSource: 'Please make sure that you only install plugins from a <trustSource>trusted source</trustSource>.',
  144. dropPluginToInstall: 'Drop plugin package here to install',
  145. labels: {
  146. repository: 'Repository',
  147. version: 'Version',
  148. package: 'Package',
  149. },
  150. close: 'Close',
  151. cancel: 'Cancel',
  152. back: 'Back',
  153. next: 'Next',
  154. pluginLoadError: 'Plugin load error',
  155. pluginLoadErrorDesc: 'This plugin will not be installed',
  156. },
  157. installFromGitHub: {
  158. installPlugin: 'Install plugin from GitHub',
  159. updatePlugin: 'Update plugin from GitHub',
  160. installedSuccessfully: 'Installation successful',
  161. installFailed: 'Installation failed',
  162. uploadFailed: 'Upload failed',
  163. gitHubRepo: 'GitHub repository',
  164. selectVersion: 'Select version',
  165. selectVersionPlaceholder: 'Please select a version',
  166. installNote: 'Please make sure that you only install plugins from a trusted source.',
  167. selectPackage: 'Select package',
  168. selectPackagePlaceholder: 'Please select a package',
  169. },
  170. upgrade: {
  171. title: 'Install Plugin',
  172. successfulTitle: 'Install successful',
  173. description: 'About to install the following plugin',
  174. usedInApps: 'Used in {{num}} apps',
  175. upgrade: 'Install',
  176. upgrading: 'Installing...',
  177. close: 'Close',
  178. },
  179. error: {
  180. inValidGitHubUrl: 'Invalid GitHub URL. Please enter a valid URL in the format: https://github.com/owner/repo',
  181. fetchReleasesError: 'Unable to retrieve releases. Please try again later.',
  182. noReleasesFound: 'No releases found. Please check the GitHub repository or the input URL.',
  183. },
  184. marketplace: {
  185. empower: 'Empower your AI development',
  186. discover: 'Discover',
  187. and: 'and',
  188. difyMarketplace: 'Dify Marketplace',
  189. moreFrom: 'More from Marketplace',
  190. noPluginFound: 'No plugin found',
  191. pluginsResult: '{{num}} results',
  192. sortBy: 'Sort by',
  193. sortOption: {
  194. mostPopular: 'Most Popular',
  195. recentlyUpdated: 'Recently Updated',
  196. newlyReleased: 'Newly Released',
  197. firstReleased: 'First Released',
  198. },
  199. viewMore: 'View more',
  200. verifiedTip: 'Verified by Dify',
  201. partnerTip: 'Verified by a Dify partner',
  202. },
  203. task: {
  204. installing: 'Installing {{installingLength}} plugins, 0 done.',
  205. installingWithSuccess: 'Installing {{installingLength}} plugins, {{successLength}} success.',
  206. installingWithError: 'Installing {{installingLength}} plugins, {{successLength}} success, {{errorLength}} failed',
  207. installError: '{{errorLength}} plugins failed to install, click to view',
  208. installedError: '{{errorLength}} plugins failed to install',
  209. clearAll: 'Clear all',
  210. },
  211. submitPlugin: 'Submit plugin',
  212. }
  213. export default translation