From 1bd4382a243a24bdaf2540bcc92f857a99f4683b Mon Sep 17 00:00:00 2001 From: Renatho De Carli Rosa Date: Mon, 30 Sep 2024 11:41:16 -0300 Subject: [PATCH] Remove subscription mention from Sensei features (#94946) --- packages/calypso-products/src/features-list.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/calypso-products/src/features-list.tsx b/packages/calypso-products/src/features-list.tsx index e7ff5ba4ddd0b..fba069473df1e 100644 --- a/packages/calypso-products/src/features-list.tsx +++ b/packages/calypso-products/src/features-list.tsx @@ -2705,7 +2705,11 @@ const FEATURES_LIST: FeatureList = { }, [ FEATURE_SENSEI_SELL_COURSES ]: { getSlug: () => FEATURE_SENSEI_SELL_COURSES, - getTitle: () => i18n.translate( 'Sell courses and subscriptions' ), + getTitle: () => + englishLocales.includes( i18n.getLocaleSlug() || 'en' ) || + i18n.hasTranslation( 'Sell courses' ) + ? i18n.translate( 'Sell courses' ) + : i18n.translate( 'Sell courses and subscriptions' ), }, [ FEATURE_SENSEI_STORAGE ]: { getSlug: () => FEATURE_SENSEI_STORAGE,