From a781ba2485e197666dd5926d349acb408c5ca6eb Mon Sep 17 00:00:00 2001 From: Zebulan Stanphill Date: Wed, 9 Sep 2020 10:58:49 -0500 Subject: [PATCH] Adjust pre-publish section summary strings. --- .../post-publish-panel/prepublish.js | 31 +++++++++++-------- 1 file changed, 18 insertions(+), 13 deletions(-) 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:' ) + }{ ' ' } + + + } >