From a46a5d90c49d82267bac5d4e9832cc690401396b Mon Sep 17 00:00:00 2001 From: mujuonly Date: Sat, 23 Sep 2023 08:00:33 +0530 Subject: [PATCH] Removed unwanted space from the string (#54654) * Update styles.js Removed unwanted space with translation * Update deleted-navigation-warning.js Unwanted space at the end of the string shows translation warning. * Update inspector-controls.js Unwanted space at the end of the string shows translation warning --- packages/block-library/src/cover/edit/inspector-controls.js | 2 +- .../src/navigation/edit/deleted-navigation-warning.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-library/src/cover/edit/inspector-controls.js b/packages/block-library/src/cover/edit/inspector-controls.js index 02058243f9f781..ed2501a0d0ec52 100644 --- a/packages/block-library/src/cover/edit/inspector-controls.js +++ b/packages/block-library/src/cover/edit/inspector-controls.js @@ -149,7 +149,7 @@ export default function CoverInspectorControls( { 'The
element should represent introductory content, typically a group of introductory or navigational aids.' ), main: __( - 'The
element should be used for the primary content of your document only. ' + 'The
element should be used for the primary content of your document only.' ), section: __( "The
element should represent a standalone portion of the document that can't be better represented by another element." diff --git a/packages/block-library/src/navigation/edit/deleted-navigation-warning.js b/packages/block-library/src/navigation/edit/deleted-navigation-warning.js index c787b90b76682f..b9dd11763f77c6 100644 --- a/packages/block-library/src/navigation/edit/deleted-navigation-warning.js +++ b/packages/block-library/src/navigation/edit/deleted-navigation-warning.js @@ -8,7 +8,7 @@ import { __ } from '@wordpress/i18n'; function DeletedNavigationWarning( { onCreateNew } ) { return ( - { __( 'Navigation menu has been deleted or is unavailable. ' ) } + { __( 'Navigation menu has been deleted or is unavailable.' ) }