Merge branch 'feat/plugins' of https://github.com/langgenius/dify into feat/plugins

This commit is contained in:
AkaraChen 2024-11-14 11:35:53 +08:00
commit 44cc6157f1
4 changed files with 4 additions and 1 deletions

View File

@ -45,6 +45,7 @@ const MenuDialog = ({
leaveTo="opacity-0 scale-95"
>
<Dialog.Panel className={cn('grow relative w-full h-full p-0 overflow-hidden text-left align-middle transition-all transform bg-background-sidenav-bg backdrop-blur-md', className)}>
<div className='absolute top-0 right-0 h-full w-1/2 bg-components-panel-bg' />
{children}
</Dialog.Panel>
</Transition.Child>

View File

@ -68,7 +68,7 @@ export const PluginPageContextProvider = ({
{ value: 'plugins', text: t('common.menus.plugins') },
...(
enable_marketplace
? [{ value: 'discover', text: 'Explore Marketplace' }]
? [{ value: 'discover', text: t('common.menus.exploreMarketplace') }]
: []
),
]

View File

@ -126,6 +126,7 @@ const translation = {
explore: 'Explore',
apps: 'Studio',
plugins: 'Plugins',
exploreMarketplace: 'Explore Marketplace',
pluginsTips: 'Integrate third-party plugins or create ChatGPT-compatible AI-Plugins.',
datasets: 'Knowledge',
datasetsTips: 'COMING SOON: Import your own text data or write data in real-time via Webhook for LLM context enhancement.',

View File

@ -126,6 +126,7 @@ const translation = {
explore: '探索',
apps: '工作室',
plugins: '插件',
exploreMarketplace: '探索市场',
pluginsTips: '集成第三方插件或创建与 ChatGPT 兼容的 AI 插件。',
datasets: '知识库',
datasetsTips: '即将到来: 上传自己的长文本数据,或通过 Webhook 集成自己的数据源',