From 90180bba8661996814612bff6fccb97e1be04a08 Mon Sep 17 00:00:00 2001 From: sarthaknagoshe2002 Date: Wed, 27 Nov 2024 00:16:12 +0530 Subject: [PATCH 1/5] Fix: Update pre-publish panel wording --- packages/editor/src/components/post-publish-panel/prepublish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/components/post-publish-panel/prepublish.js b/packages/editor/src/components/post-publish-panel/prepublish.js index 193960b9cc8345..d5cd4aabb9584e 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.' + 'Since you are a Contributor, your work will be submitted for review, and a user with publishing permissions will be able to review and approve it for you.' ); } else if ( isBeingScheduled ) { prePublishTitle = __( 'Are you ready to schedule?' ); From 010ea7b3b4642a0059e95e99348cef791056c10a Mon Sep 17 00:00:00 2001 From: sarthaknagoshe2002 Date: Wed, 27 Nov 2024 16:52:35 +0530 Subject: [PATCH 2/5] Fix: Remove redundancy from the wording and use 'can' instead of 'will be able to' --- packages/editor/src/components/post-publish-panel/prepublish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/components/post-publish-panel/prepublish.js b/packages/editor/src/components/post-publish-panel/prepublish.js index d5cd4aabb9584e..b6182f65ad1f4f 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 = __( - 'Since you are a Contributor, your work will be submitted for review, and a user with publishing permissions will be able to review and approve it for you.' + 'A user with publishing permissions can review and approve it.' ); } else if ( isBeingScheduled ) { prePublishTitle = __( 'Are you ready to schedule?' ); From f453875fb9cee6344fe7e8e4f166b06a617d6c1a Mon Sep 17 00:00:00 2001 From: sarthaknagoshe2002 Date: Mon, 2 Dec 2024 18:36:53 +0530 Subject: [PATCH 3/5] Fix: shorten the message --- packages/editor/src/components/post-publish-panel/prepublish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/components/post-publish-panel/prepublish.js b/packages/editor/src/components/post-publish-panel/prepublish.js index b6182f65ad1f4f..48a6cf9940e7f4 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 = __( - 'A user with publishing permissions can review and approve it.' + 'your work will be reviewed and then approved.' ); } else if ( isBeingScheduled ) { prePublishTitle = __( 'Are you ready to schedule?' ); From 08da81a2beddf160c4dd1e20e472f176f2697d8a Mon Sep 17 00:00:00 2001 From: sarthaknagoshe2002 Date: Mon, 2 Dec 2024 19:02:49 +0530 Subject: [PATCH 4/5] 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 48a6cf9940e7f4..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 = __( - '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 b074159ac423d4..71be2ee5e5d240 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.

Date: Mon, 2 Dec 2024 19:09:10 +0530 Subject: [PATCH 5/5] Fix: rectify test snapshot --- .../post-publish-panel/test/__snapshots__/index.js.snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 71be2ee5e5d240..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 @@ -619,7 +619,7 @@ exports[`PostPublishPanel should render the pre-publish panel if the post is not

- 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.