From ceb18d160f65ccfbde54e916659072976efe27a2 Mon Sep 17 00:00:00 2001 From: StyleZhang Date: Thu, 14 Nov 2024 14:56:15 +0800 Subject: [PATCH] fix: marketplace i18n --- web/app/components/plugins/marketplace/description/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/app/components/plugins/marketplace/description/index.tsx b/web/app/components/plugins/marketplace/description/index.tsx index d1be3c9806..8cab8373f3 100644 --- a/web/app/components/plugins/marketplace/description/index.tsx +++ b/web/app/components/plugins/marketplace/description/index.tsx @@ -11,6 +11,7 @@ const Description = async ({ }: DescriptionProps) => { const localeDefault = getLocaleOnServer() const { t } = await translate(localeFromProps || localeDefault, 'plugin') + const { t: tCommon } = await translate(localeFromProps || localeDefault, 'common') return ( <> @@ -34,7 +35,8 @@ const Description = async ({ {t('category.bundles')} - {t('marketplace.inDifyMarketplace')} + {tCommon('operation.in')} + {t('marketplace.difyMarketplace')} )