mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
locale
This commit is contained in:
parent
bc43e3a9fe
commit
9025e85ca5
|
@ -23,6 +23,7 @@ const CardWrapper = ({
|
|||
<Card
|
||||
key={plugin.name}
|
||||
payload={plugin}
|
||||
locale={locale}
|
||||
footer={
|
||||
<CardMoreInfo
|
||||
downloadCount={plugin.install_count}
|
||||
|
|
|
@ -27,6 +27,7 @@ const List = ({
|
|||
marketplaceCollections={marketplaceCollections}
|
||||
marketplaceCollectionPluginsMap={marketplaceCollectionPluginsMap}
|
||||
showInstallButton={showInstallButton}
|
||||
locale={locale}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -7,11 +7,13 @@ type ListWithCollectionProps = {
|
|||
marketplaceCollections: MarketplaceCollection[]
|
||||
marketplaceCollectionPluginsMap: Record<string, Plugin[]>
|
||||
showInstallButton?: boolean
|
||||
locale?: string
|
||||
}
|
||||
const ListWithCollection = ({
|
||||
marketplaceCollections,
|
||||
marketplaceCollectionPluginsMap,
|
||||
showInstallButton,
|
||||
locale,
|
||||
}: ListWithCollectionProps) => {
|
||||
return (
|
||||
<>
|
||||
|
@ -30,6 +32,7 @@ const ListWithCollection = ({
|
|||
key={plugin.name}
|
||||
plugin={plugin}
|
||||
showInstallButton={showInstallButton}
|
||||
locale={locale}
|
||||
/>
|
||||
))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user