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.

plugin.ts 7.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. const translation = {
  2. category: {
  3. tools: '工具',
  4. models: '模型',
  5. extensions: '擴展',
  6. agents: '代理策略',
  7. all: '都',
  8. bundles: '束',
  9. },
  10. categorySingle: {
  11. model: '型',
  12. extension: '外延',
  13. agent: '代理策略',
  14. tool: '工具',
  15. bundle: '捆',
  16. },
  17. list: {
  18. source: {
  19. local: '從本地包檔安裝',
  20. github: '從 GitHub 安裝',
  21. marketplace: '從 Marketplace 安裝',
  22. },
  23. noInstalled: '未安裝插件',
  24. notFound: '未找到插件',
  25. },
  26. source: {
  27. marketplace: '市場',
  28. local: '本地包檔',
  29. github: 'GitHub 的',
  30. },
  31. detailPanel: {
  32. categoryTip: {
  33. marketplace: '從 Marketplace 安裝',
  34. debugging: '調試插件',
  35. github: '從 Github 安裝',
  36. local: '本地插件',
  37. },
  38. operation: {
  39. info: '插件資訊',
  40. detail: '詳',
  41. remove: '刪除',
  42. install: '安裝',
  43. viewDetail: '查看詳情',
  44. update: '更新',
  45. checkUpdate: '檢查更新',
  46. },
  47. toolSelector: {
  48. uninstalledContent: '此插件是從 local/GitHub 儲存庫安裝的。請在安裝後使用。',
  49. descriptionLabel: '工具描述',
  50. params: '推理配置',
  51. paramsTip2: '當 \'Automatic\' 關閉時,使用預設值。',
  52. descriptionPlaceholder: '工具用途的簡要描述,例如,獲取特定位置的溫度。',
  53. toolLabel: '工具',
  54. unsupportedTitle: '不支援的作',
  55. placeholder: '選擇工具...',
  56. uninstalledTitle: '未安裝工具',
  57. auto: '自動',
  58. title: '添加工具',
  59. unsupportedContent: '已安裝的插件版本不提供此作。',
  60. settings: '用戶設置',
  61. uninstalledLink: '在插件中管理',
  62. empty: '點擊 『+』 按鈕添加工具。您可以新增多個工具。',
  63. unsupportedContent2: '按兩下以切換版本。',
  64. paramsTip1: '控制 LLM 推理參數。',
  65. toolSetting: '工具設定',
  66. },
  67. actionNum: '{{num}}{{作}}包括',
  68. switchVersion: 'Switch 版本',
  69. strategyNum: '{{num}}{{策略}}包括',
  70. endpoints: '端點',
  71. endpointDisableTip: '禁用端點',
  72. endpointsTip: '此插件通過終端節點提供特定功能,您可以為當前工作區配置多個終端節點集。',
  73. modelNum: '{{num}}包含的型號',
  74. endpointsEmpty: '按兩下「+」按鈕添加端點',
  75. endpointDisableContent: '您想禁用 {{name}} 嗎?',
  76. configureApp: '配置 App',
  77. endpointDeleteContent: '您想刪除 {{name}} 嗎?',
  78. configureTool: '配置工具',
  79. endpointModalDesc: '配置后,即可使用插件通過 API 端點提供的功能。',
  80. disabled: '禁用',
  81. serviceOk: '服務正常',
  82. endpointDeleteTip: '刪除端點',
  83. configureModel: '配置模型',
  84. endpointModalTitle: '設置終端節點',
  85. endpointsDocLink: '查看文件',
  86. },
  87. debugInfo: {
  88. viewDocs: '查看文件',
  89. title: '調試',
  90. },
  91. privilege: {
  92. whoCanDebug: '誰可以調試插件?',
  93. whoCanInstall: '誰可以安裝和管理插件?',
  94. noone: '沒人',
  95. title: '插件首選項',
  96. everyone: '每個人 都',
  97. admins: '管理員',
  98. },
  99. pluginInfoModal: {
  100. repository: '存儲庫',
  101. release: '釋放',
  102. title: '插件資訊',
  103. packageName: '包',
  104. },
  105. action: {
  106. deleteContentRight: '插件?',
  107. deleteContentLeft: '是否要刪除',
  108. usedInApps: '此插件正在 {{num}} 個應用程式中使用。',
  109. pluginInfo: '插件資訊',
  110. checkForUpdates: '檢查更新',
  111. delete: '刪除插件',
  112. },
  113. installModal: {
  114. labels: {
  115. repository: '存儲庫',
  116. version: '版本',
  117. package: '包',
  118. },
  119. readyToInstallPackage: '即將安裝以下插件',
  120. back: '返回',
  121. installFailed: '安裝失敗',
  122. readyToInstallPackages: '即將安裝以下 {{num}} 個插件',
  123. next: '下一個',
  124. dropPluginToInstall: '將插件包拖放到此處進行安裝',
  125. pluginLoadError: '插件載入錯誤',
  126. installedSuccessfully: '安裝成功',
  127. uploadFailed: '上傳失敗',
  128. installFailedDesc: '插件安裝失敗。',
  129. fromTrustSource: '請確保您只從<trustSource>受信任的來源</trustSource>安裝插件。',
  130. pluginLoadErrorDesc: '此插件將不會被安裝',
  131. installComplete: '安裝完成',
  132. install: '安裝',
  133. installedSuccessfullyDesc: '插件已成功安裝。',
  134. close: '關閉',
  135. uploadingPackage: '正在上傳 {{packageName}}...',
  136. readyToInstall: '即將安裝以下插件',
  137. cancel: '取消',
  138. installPlugin: '安裝插件',
  139. installing: '安裝。。。',
  140. installWarning: '此插件不允許安裝。',
  141. },
  142. installFromGitHub: {
  143. gitHubRepo: 'GitHub 儲存庫',
  144. selectPackagePlaceholder: '請選擇一個套餐',
  145. installFailed: '安裝失敗',
  146. uploadFailed: '上傳失敗',
  147. selectVersion: '選擇版本',
  148. selectVersionPlaceholder: '請選擇一個版本',
  149. updatePlugin: '從 GitHub 更新插件',
  150. installPlugin: '從 GitHub 安裝插件',
  151. installedSuccessfully: '安裝成功',
  152. selectPackage: '選擇套餐',
  153. installNote: '請確保您只從受信任的來源安裝插件。',
  154. },
  155. upgrade: {
  156. close: '關閉',
  157. title: '安裝插件',
  158. upgrade: '安裝',
  159. upgrading: '安裝。。。',
  160. description: '即將安裝以下插件',
  161. usedInApps: '用於 {{num}} 個應用',
  162. successfulTitle: '安裝成功',
  163. },
  164. error: {
  165. noReleasesFound: '未找到版本。請檢查 GitHub 儲存庫或輸入 URL。',
  166. fetchReleasesError: '無法檢索發行版。請稍後重試。',
  167. inValidGitHubUrl: 'GitHub URL 無效。請輸入有效的 URL,格式為:https://github.com/owner/repo',
  168. },
  169. marketplace: {
  170. sortOption: {
  171. recentlyUpdated: '最近更新',
  172. newlyReleased: '新發佈',
  173. firstReleased: '首次發佈',
  174. mostPopular: '最受歡迎',
  175. },
  176. discover: '發現',
  177. noPluginFound: '未找到插件',
  178. empower: '為您的 AI 開發提供支援',
  179. moreFrom: '來自 Marketplace 的更多內容',
  180. and: '和',
  181. sortBy: '排序方式',
  182. viewMore: '查看更多',
  183. difyMarketplace: 'Dify 市場',
  184. pluginsResult: '{{num}} 個結果',
  185. verifiedTip: '由 Dify 驗證',
  186. partnerTip: '由 Dify 合作夥伴驗證',
  187. },
  188. task: {
  189. installingWithError: '安裝 {{installingLength}} 個插件,{{successLength}} 成功,{{errorLength}} 失敗',
  190. installedError: '{{errorLength}} 個插件安裝失敗',
  191. installError: '{{errorLength}} 個插件安裝失敗,點擊查看',
  192. installingWithSuccess: '安裝 {{installingLength}} 個插件,{{successLength}} 成功。',
  193. clearAll: '全部清除',
  194. installing: '安裝 {{installingLength}} 個插件,0 個完成。',
  195. },
  196. requestAPlugin: '申请插件',
  197. publishPlugins: '發佈插件',
  198. findMoreInMarketplace: '在 Marketplace 中查找更多內容',
  199. installPlugin: '安裝插件',
  200. search: '搜索',
  201. allCategories: '全部分類',
  202. from: '從',
  203. searchPlugins: '搜索插件',
  204. searchTools: '搜尋工具...',
  205. installAction: '安裝',
  206. installFrom: '安裝起始位置',
  207. searchInMarketplace: '在 Marketplace 中搜索',
  208. install: '{{num}} 次安裝',
  209. endpointsEnabled: '{{num}} 組已啟用端點',
  210. fromMarketplace: '從 Marketplace',
  211. searchCategories: '搜索類別',
  212. metadata: {
  213. title: '插件',
  214. },
  215. difyVersionNotCompatible: '當前的 Dify 版本與此插件不兼容,請升級至所需的最低版本:{{minimalDifyVersion}}',
  216. }
  217. export default translation