diff --git a/packages/edit-site/src/components/page-patterns/fields.js b/packages/edit-site/src/components/page-patterns/fields.js index e086f1abe80ac..7cc79334a70ca 100644 --- a/packages/edit-site/src/components/page-patterns/fields.js +++ b/packages/edit-site/src/components/page-patterns/fields.js @@ -49,16 +49,16 @@ function PreviewField( { item } ) { className="page-patterns-preview-field" style={ { backgroundColor } } aria-describedby={ !! description ? descriptionId : undefined } - > + > { isEmpty && isTemplatePart && (
- { __('Empty template part') } -
+ { __( 'Empty template part' ) } + ) } { isEmpty && ! isTemplatePart && (
- { __('Empty pattern') } + { __( 'Empty pattern' ) }
) } diff --git a/packages/edit-site/src/components/page-templates/fields.js b/packages/edit-site/src/components/page-templates/fields.js index df8ef22b4de82..77caae5bb9fe5 100644 --- a/packages/edit-site/src/components/page-templates/fields.js +++ b/packages/edit-site/src/components/page-templates/fields.js @@ -49,7 +49,7 @@ function PreviewField( { item } ) { > { isEmpty && (
- { __('Empty template') } + { __( 'Empty template' ) }
) }