Skip to content

Commit

Permalink
Remove subscription mention from Sensei features (#94946)
Browse files Browse the repository at this point in the history
  • Loading branch information
renatho authored Sep 30, 2024
1 parent 7185751 commit 1bd4382
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/calypso-products/src/features-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1bd4382

Please sign in to comment.