From 00c32f498cf890edd9d334a96a1bc840a5a11920 Mon Sep 17 00:00:00 2001 From: Sarthak Nagoshe <83178197+sarthaknagoshe2002@users.noreply.github.com> Date: Fri, 6 Dec 2024 20:05:37 +0530 Subject: [PATCH] Update pre-publish panel wording to accurately describe the review process (#67328) * Fix: Update pre-publish panel wording * Fix: Remove redundancy from the wording and use 'can' instead of 'will be able to' * Fix: shorten the message * Fix: modify test snapshot & capitalize the first char * Fix: rectify test snapshot Co-authored-by: sarthaknagoshe2002 Co-authored-by: afercia Co-authored-by: jasmussen Co-authored-by: hanneslsm --- .../editor/src/components/post-publish-panel/prepublish.js | 2 +- .../post-publish-panel/test/__snapshots__/index.js.snap | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/editor/src/components/post-publish-panel/prepublish.js b/packages/editor/src/components/post-publish-panel/prepublish.js index 193960b9cc8345..e8d5c69b769302 100644 --- a/packages/editor/src/components/post-publish-panel/prepublish.js +++ b/packages/editor/src/components/post-publish-panel/prepublish.js @@ -75,7 +75,7 @@ function PostPublishPanelPrepublish( { children } ) { if ( ! hasPublishAction ) { prePublishTitle = __( 'Are you ready to submit for review?' ); prePublishBodyText = __( - 'When you’re ready, submit your work for review, and an Editor will be able to approve it for you.' + 'Your work will be reviewed and then approved.' ); } else if ( isBeingScheduled ) { prePublishTitle = __( 'Are you ready to schedule?' ); diff --git a/packages/editor/src/components/post-publish-panel/test/__snapshots__/index.js.snap b/packages/editor/src/components/post-publish-panel/test/__snapshots__/index.js.snap index b074159ac423d4..9fb3d24cd2931f 100644 --- a/packages/editor/src/components/post-publish-panel/test/__snapshots__/index.js.snap +++ b/packages/editor/src/components/post-publish-panel/test/__snapshots__/index.js.snap @@ -466,7 +466,7 @@ exports[`PostPublishPanel should render the pre-publish panel if post status is

- When you’re ready, submit your work for review, and an Editor will be able to approve it for you. + Your work will be reviewed and then approved.

- When you’re ready, submit your work for review, and an Editor will be able to approve it for you. + Your work will be reviewed and then approved.