From 08da81a2beddf160c4dd1e20e472f176f2697d8a Mon Sep 17 00:00:00 2001 From: sarthaknagoshe2002 Date: Mon, 2 Dec 2024 19:02:49 +0530 Subject: [PATCH] Fix: modify test snapshot & capitalize the first char --- packages/editor/src/components/post-publish-panel/prepublish.js | 2 +- .../post-publish-panel/test/__snapshots__/index.js.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor/src/components/post-publish-panel/prepublish.js b/packages/editor/src/components/post-publish-panel/prepublish.js index 48a6cf9940e7f..e8d5c69b76930 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 = __( - 'your work will be reviewed and then approved.' + '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 b074159ac423d..71be2ee5e5d24 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.