feat: add entry point for requesting a plugin

pull/20026/head
nite-knite 1 year ago
parent d35d854259
commit 5e8c1aa81b

@ -186,6 +186,17 @@ const PluginPage = ({
{
isExploringMarketplace && (
<>
<Link
href='https://forms.gle/8UFgAcZfH2RdTr3N8'
target='_blank'
>
<Button
variant='ghost'
className='text-text-tertiary'
>
{t('plugin.requestAPlugin')}
</Button>
</Link>
<Link
href={getDocsUrl(locale, '/plugins/publish-plugins/publish-to-dify-marketplace/README')}
target='_blank'
@ -198,7 +209,7 @@ const PluginPage = ({
{t('plugin.submitPlugin')}
</Button>
</Link>
<div className='mx-2 h-3.5 w-[1px] bg-divider-regular'></div>
<div className='mx-1 h-3.5 w-[1px] shrink-0 bg-divider-regular'></div>
</>
)
}

@ -208,6 +208,7 @@ const translation = {
installedError: '{{errorLength}} plugins failed to install',
clearAll: 'Clear all',
},
requestAPlugin: 'Request a plugin',
submitPlugin: 'Submit plugin',
difyVersionNotCompatible: 'The current Dify version is not compatible with this plugin, please upgrade to the minimum version required: {{minimalDifyVersion}}',
}

@ -208,6 +208,7 @@ const translation = {
installedError: '{{errorLength}} 个插件安装失败',
clearAll: '清除所有',
},
requestAPlugin: '申请插件',
submitPlugin: '上传插件',
difyVersionNotCompatible: '当前 Dify 版本不兼容该插件,其最低版本要求为 {{minimalDifyVersion}}',
}

@ -191,6 +191,7 @@ const translation = {
clearAll: '全部清除',
installing: '安裝 {{installingLength}} 個外掛程式0 個完成。',
},
requestAPlugin: '申请外掛程式',
submitPlugin: '提交外掛程式',
findMoreInMarketplace: '在 Marketplace 中查找更多內容',
installPlugin: '安裝外掛程式',

Loading…
Cancel
Save