showInstallButton?: boolean
- locale?: string
+ locale: string
}
const ListWithCollection = ({
marketplaceCollections,
@@ -23,8 +24,8 @@ const ListWithCollection = ({
key={collection.name}
className='py-3'
>
- {collection.name}
- {collection.description}
+ {collection.label[getLanguage(locale)]}
+ {collection.description[getLanguage(locale)]}
{
marketplaceCollectionPluginsMap[collection.name].map(plugin => (
diff --git a/web/app/components/plugins/marketplace/list/list-wrapper.tsx b/web/app/components/plugins/marketplace/list/list-wrapper.tsx
index cf31bf9dee..124049f70f 100644
--- a/web/app/components/plugins/marketplace/list/list-wrapper.tsx
+++ b/web/app/components/plugins/marketplace/list/list-wrapper.tsx
@@ -11,7 +11,7 @@ type ListWrapperProps = {
marketplaceCollections: MarketplaceCollection[]
marketplaceCollectionPluginsMap: Record
showInstallButton?: boolean
- locale?: string
+ locale: string
}
const ListWrapper = ({
marketplaceCollections,
diff --git a/web/app/components/plugins/marketplace/types.ts b/web/app/components/plugins/marketplace/types.ts
index e2c4315f3d..fbe4595322 100644
--- a/web/app/components/plugins/marketplace/types.ts
+++ b/web/app/components/plugins/marketplace/types.ts
@@ -2,7 +2,8 @@ import type { Plugin } from '../types'
export type MarketplaceCollection = {
name: string
- description: string
+ label: Record
+ description: Record
rule: string
created_at: string
updated_at: string