From cbff6fab3ab059dba6a8cdec00d3eecb9509a67f Mon Sep 17 00:00:00 2001 From: Sneha Date: Mon, 9 Dec 2024 11:46:51 +0530 Subject: [PATCH] chore: update template-related messages to be more generic --- .../src/components/entities-saved-states/entity-type-list.js | 2 +- .../visual-editor/edit-template-blocks-notification.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor/src/components/entities-saved-states/entity-type-list.js b/packages/editor/src/components/entities-saved-states/entity-type-list.js index 71041dd9aebabd..0d95f1938da7e9 100644 --- a/packages/editor/src/components/entities-saved-states/entity-type-list.js +++ b/packages/editor/src/components/entities-saved-states/entity-type-list.js @@ -26,7 +26,7 @@ function getEntityDescription( entity, count ) { : __( 'These changes will affect your whole site.' ); case 'wp_template': return __( - 'This change will affect pages and posts that use this template.' + 'This change will affect other parts of your site that use this template.' ); case 'page': case 'post': diff --git a/packages/editor/src/components/visual-editor/edit-template-blocks-notification.js b/packages/editor/src/components/visual-editor/edit-template-blocks-notification.js index bacf1beb1abecd..7c222e55c83ab3 100644 --- a/packages/editor/src/components/visual-editor/edit-template-blocks-notification.js +++ b/packages/editor/src/components/visual-editor/edit-template-blocks-notification.js @@ -94,7 +94,7 @@ export default function EditTemplateBlocksNotification( { contentRef } ) { size="medium" > { __( - 'You’ve tried to select a block that is part of a template, which may be used on other posts and pages. Would you like to edit the template?' + 'You’ve tried to select a block that is part of a template that may be used elsewhere on your site. Would you like to edit the template?' ) } );