From 77eccb3e15cb7f1dc01c471ab922a11e37a20249 Mon Sep 17 00:00:00 2001 From: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com> Date: Thu, 20 Jul 2023 10:21:56 +1000 Subject: [PATCH] Clean up customized detail --- .../use-pattern-details.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/edit-site/src/components/sidebar-navigation-screen-pattern/use-pattern-details.js b/packages/edit-site/src/components/sidebar-navigation-screen-pattern/use-pattern-details.js index 13a4ac76f3750..346601253cbd0 100644 --- a/packages/edit-site/src/components/sidebar-navigation-screen-pattern/use-pattern-details.js +++ b/packages/edit-site/src/components/sidebar-navigation-screen-pattern/use-pattern-details.js @@ -1,7 +1,7 @@ /** * WordPress dependencies */ -import { __, sprintf, _x } from '@wordpress/i18n'; +import { __, sprintf } from '@wordpress/i18n'; import { store as coreStore } from '@wordpress/core-data'; import { store as editorStore } from '@wordpress/editor'; import { useSelect } from '@wordpress/data'; @@ -112,9 +112,7 @@ export default function usePatternDetails( postType, postId ) { label: __( 'Customized' ), value: ( - { addedBy.isCustomized - ? _x( 'Yes', 'pattern' ) - : _x( 'No', 'pattern' ) } + { addedBy.isCustomized ? __( 'Yes' ) : __( 'No' ) } ), } );