diff --git a/packages/edit-site/src/components/page-patterns/grid-item.js b/packages/edit-site/src/components/page-patterns/grid-item.js index 441529e1c0583..a5278c88d589a 100644 --- a/packages/edit-site/src/components/page-patterns/grid-item.js +++ b/packages/edit-site/src/components/page-patterns/grid-item.js @@ -114,7 +114,9 @@ function GridItem( { categoryId, item, ...props } ) { } if ( isNonUserPattern ) { - ariaDescriptions.push( __( 'Theme patterns cannot be edited.' ) ); + ariaDescriptions.push( + __( 'Theme & plugin patterns cannot be edited.' ) + ); } const itemIcon = @@ -208,9 +210,7 @@ function GridItem( { categoryId, item, ...props } ) { { item.type === PATTERNS && ( diff --git a/packages/edit-site/src/components/sidebar-navigation-screen-patterns/index.js b/packages/edit-site/src/components/sidebar-navigation-screen-patterns/index.js index d3fc15358027b..159b10da55c00 100644 --- a/packages/edit-site/src/components/sidebar-navigation-screen-patterns/index.js +++ b/packages/edit-site/src/components/sidebar-navigation-screen-patterns/index.js @@ -12,7 +12,7 @@ import { import { useViewportMatch } from '@wordpress/compose'; import { useSelect } from '@wordpress/data'; import { getTemplatePartIcon } from '@wordpress/editor'; -import { __ } from '@wordpress/i18n'; +import { __, sprintf } from '@wordpress/i18n'; import { getQueryArgs } from '@wordpress/url'; import { file, starFilled, lockSmall } from '@wordpress/icons'; @@ -74,8 +74,10 @@ function ThemePatternsGroup( { categories, currentCategory, currentType } ) { { category.label }