From 9025e85ca55919b46bfed85b19ae054582398989 Mon Sep 17 00:00:00 2001 From: StyleZhang Date: Wed, 6 Nov 2024 15:00:37 +0800 Subject: [PATCH] locale --- web/app/components/plugins/marketplace/list/card-wrapper.tsx | 1 + web/app/components/plugins/marketplace/list/index.tsx | 1 + .../plugins/marketplace/list/list-with-collection.tsx | 3 +++ 3 files changed, 5 insertions(+) diff --git a/web/app/components/plugins/marketplace/list/card-wrapper.tsx b/web/app/components/plugins/marketplace/list/card-wrapper.tsx index 2ebeeeb7d0..8fdb3034b5 100644 --- a/web/app/components/plugins/marketplace/list/card-wrapper.tsx +++ b/web/app/components/plugins/marketplace/list/card-wrapper.tsx @@ -23,6 +23,7 @@ const CardWrapper = ({ ) } diff --git a/web/app/components/plugins/marketplace/list/list-with-collection.tsx b/web/app/components/plugins/marketplace/list/list-with-collection.tsx index 6d56380c52..57b087d1f5 100644 --- a/web/app/components/plugins/marketplace/list/list-with-collection.tsx +++ b/web/app/components/plugins/marketplace/list/list-with-collection.tsx @@ -7,11 +7,13 @@ type ListWithCollectionProps = { marketplaceCollections: MarketplaceCollection[] marketplaceCollectionPluginsMap: Record 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} /> )) }