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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. const translation = {
  2. metadata: {
  3. title: '插件',
  4. },
  5. category: {
  6. all: '全部',
  7. models: '模型',
  8. tools: '工具',
  9. agents: 'Agent 策略',
  10. extensions: '扩展',
  11. bundles: '插件集',
  12. },
  13. categorySingle: {
  14. model: '模型',
  15. tool: '工具',
  16. agent: 'Agent 策略',
  17. extension: '扩展',
  18. bundle: '插件集',
  19. },
  20. search: '搜索',
  21. allCategories: '所有类别',
  22. searchCategories: '搜索类别',
  23. searchPlugins: '搜索插件',
  24. from: '来自',
  25. findMoreInMarketplace: '在 Marketplace 中查找更多',
  26. searchInMarketplace: '在 Marketplace 中搜索',
  27. fromMarketplace: '来自市场',
  28. endpointsEnabled: '{{num}} 组端点已启用',
  29. searchTools: '搜索工具...',
  30. installPlugin: '安装插件',
  31. installFrom: '安装源',
  32. list: {
  33. noInstalled: '无已安装的插件',
  34. notFound: '未找到插件',
  35. source: {
  36. marketplace: '从 Marketplace 安装',
  37. github: '从 GitHub 安装',
  38. local: '本地插件',
  39. },
  40. },
  41. source: {
  42. marketplace: 'Marketplace',
  43. github: 'GitHub',
  44. local: '本地插件',
  45. },
  46. detailPanel: {
  47. switchVersion: '切换版本',
  48. categoryTip: {
  49. marketplace: '从 Marketplace 安装',
  50. github: '从 Github 安装',
  51. local: '本地插件',
  52. debugging: '调试插件',
  53. },
  54. operation: {
  55. install: '安装',
  56. detail: '详情',
  57. update: '更新',
  58. info: '插件信息',
  59. checkUpdate: '检查更新',
  60. viewDetail: '查看详情',
  61. remove: '移除',
  62. },
  63. actionNum: '包含 {{num}} 个 {{action}}',
  64. strategyNum: '包含 {{num}} 个 {{strategy}}',
  65. endpoints: 'API 端点',
  66. endpointsTip: '此插件通过 API 端点提供特定功能,您可以为当前工作区配置多个 API 端点集。',
  67. endpointsDocLink: '查看文档',
  68. endpointsEmpty: '点击 \'+\' 按钮添加 API 端点',
  69. endpointDisableTip: '停用 API 端点',
  70. endpointDisableContent: '是否要停用 {{name}} 的 API 端点 ?',
  71. endpointDeleteTip: '移除 API 端点',
  72. endpointDeleteContent: '是否要移除 {{name}} ?',
  73. endpointModalTitle: '设置 API 端点',
  74. endpointModalDesc: '完成配置后可使用插件 API 端点提供的功能',
  75. serviceOk: '服务正常',
  76. disabled: '停用',
  77. modelNum: '{{num}} 模型已包含',
  78. toolSelector: {
  79. title: '添加工具',
  80. toolLabel: '工具',
  81. descriptionLabel: '工具描述',
  82. descriptionPlaceholder: '简要描述工具目的,例如,获取特定位置的温度。',
  83. placeholder: '选择工具',
  84. settings: '用户设置',
  85. params: '推理配置',
  86. paramsTip1: '控制 LLM 推理参数。',
  87. paramsTip2: '当“自动”关闭时,使用默认值。',
  88. auto: '自动',
  89. empty: '点击 "+" 按钮添加工具。您可以添加多个工具。',
  90. uninstalledTitle: '工具未安装',
  91. uninstalledContent: '此插件安装自 本地 / GitHub 仓库,请安装后使用。',
  92. uninstalledLink: '在插件中管理',
  93. unsupportedTitle: '不支持的 Action',
  94. unsupportedContent: '已安装的插件版本不提供这个 action。',
  95. unsupportedContent2: '点击切换版本',
  96. },
  97. configureApp: '应用设置',
  98. configureModel: '模型设置',
  99. configureTool: '工具设置',
  100. },
  101. install: '{{num}} 次安装',
  102. installAction: '安装',
  103. debugInfo: {
  104. title: '调试',
  105. viewDocs: '查看文档',
  106. },
  107. privilege: {
  108. title: '插件偏好',
  109. whoCanInstall: '谁可以安装和管理插件?',
  110. whoCanDebug: '谁可以调试插件?',
  111. everyone: '所有人',
  112. admins: '管理员',
  113. noone: '无人',
  114. },
  115. pluginInfoModal: {
  116. title: '插件信息',
  117. repository: '仓库',
  118. release: '发布版本',
  119. packageName: '包',
  120. },
  121. action: {
  122. checkForUpdates: '检查更新',
  123. pluginInfo: '插件信息',
  124. delete: '移除插件',
  125. deleteContentLeft: '是否要移除 ',
  126. deleteContentRight: ' 插件?',
  127. usedInApps: '此插件正在 {{num}} 个应用中使用。',
  128. },
  129. installModal: {
  130. installPlugin: '安装插件',
  131. installComplete: '安装完成',
  132. installedSuccessfully: '安装成功',
  133. installedSuccessfullyDesc: '插件已成功安装。',
  134. uploadFailed: '上传失败',
  135. installFailed: '安装失败',
  136. installFailedDesc: '插件安装失败。',
  137. install: '安装',
  138. installing: '安装中...',
  139. uploadingPackage: '上传 {{packageName}} 中...',
  140. readyToInstall: '即将安装以下插件',
  141. readyToInstallPackage: '即将安装以下插件',
  142. readyToInstallPackages: '即将安装以下 {{num}} 个插件',
  143. fromTrustSource: '请保证仅从<trustSource>可信源</trustSource>安装插件。',
  144. dropPluginToInstall: '拖放插件包到此处安装',
  145. labels: {
  146. repository: '仓库',
  147. version: '版本',
  148. package: '包',
  149. },
  150. close: '关闭',
  151. cancel: '取消',
  152. back: '返回',
  153. next: '下一步',
  154. pluginLoadError: '插件加载错误',
  155. pluginLoadErrorDesc: '此插件将不会被安装',
  156. },
  157. installFromGitHub: {
  158. installPlugin: '从 GitHub 安装插件',
  159. updatePlugin: '更新来自 GitHub 的插件',
  160. installedSuccessfully: '安装成功',
  161. installFailed: '安装失败',
  162. uploadFailed: '上传失败',
  163. gitHubRepo: 'GitHub 仓库',
  164. selectVersion: '选择版本',
  165. selectVersionPlaceholder: '请选择一个版本',
  166. installNote: '请确保只从可信源安装插件。',
  167. selectPackage: '选择包',
  168. selectPackagePlaceholder: '请选择一个包',
  169. },
  170. upgrade: {
  171. title: '安装插件',
  172. successfulTitle: '安装成功',
  173. description: '即将安装以下插件',
  174. usedInApps: '在 {{num}} 个应用中使用',
  175. upgrade: '安装',
  176. upgrading: '安装中...',
  177. close: '关闭',
  178. },
  179. error: {
  180. inValidGitHubUrl: '无效的 GitHub URL。请输入格式为 https://github.com/owner/repo 的有效 URL',
  181. fetchReleasesError: '无法获取发布版本。请稍后再试。',
  182. noReleasesFound: '未找到发布版本。请检查 GitHub 仓库或输入的 URL。',
  183. },
  184. marketplace: {
  185. empower: '助力您的 AI 开发',
  186. discover: '探索',
  187. and: '和',
  188. difyMarketplace: 'Dify 市场',
  189. moreFrom: '更多来自市场',
  190. noPluginFound: '未找到插件',
  191. pluginsResult: '{{num}} 个插件结果',
  192. sortBy: '排序方式',
  193. sortOption: {
  194. mostPopular: '最受欢迎',
  195. recentlyUpdated: '最近更新',
  196. newlyReleased: '最新发布',
  197. firstReleased: '首次发布',
  198. },
  199. viewMore: '查看更多',
  200. verifiedTip: '此插件由 Dify 认证',
  201. partnerTip: '此插件由 Dify 合作伙伴认证',
  202. },
  203. task: {
  204. installing: '{{installingLength}} 个插件安装中,0 已完成',
  205. installingWithSuccess: '{{installingLength}} 个插件安装中,{{successLength}} 安装成功',
  206. installingWithError: '{{installingLength}} 个插件安装中,{{successLength}} 安装成功,{{errorLength}} 安装失败',
  207. installError: '{{errorLength}} 个插件安装失败,点击查看',
  208. installedError: '{{errorLength}} 个插件安装失败',
  209. clearAll: '清除所有',
  210. },
  211. submitPlugin: '上传插件',
  212. }
  213. export default translation