diff --git a/packages/editor/src/components/post-publish-panel/prepublish.js b/packages/editor/src/components/post-publish-panel/prepublish.js index b83215e348a32..9bd5f4adc1c45 100644 --- a/packages/editor/src/components/post-publish-panel/prepublish.js +++ b/packages/editor/src/components/post-publish-panel/prepublish.js @@ -9,7 +9,6 @@ import { get } from 'lodash'; import { __ } from '@wordpress/i18n'; import { PanelBody } from '@wordpress/components'; import { withSelect } from '@wordpress/data'; -import { createInterpolateElement } from '@wordpress/element'; /** * Internal dependencies @@ -56,24 +55,30 @@ function PostPublishPanelPrepublish( { .' ), - { - PostVisibilityLabel: , - } - ) } + summary={ + <> + { + /* translators: Describing the following as the current visibility. */ + __( 'Set to:' ) + }{ ' ' } + + + } > .' ), - { - PostScheduleLabel: , - } - ) } + summary={ + <> + { + /* translators: Describing the following as the current publish date. */ + __( 'Set to:' ) + }{ ' ' } + + + } >