Skip to content

Commit

Permalink
Removed unwanted space from the string (#54654)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
mujuonly authored Sep 23, 2023
1 parent 4aa0382 commit a46a5d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export default function CoverInspectorControls( {
'The <header> element should represent introductory content, typically a group of introductory or navigational aids.'
),
main: __(
'The <main> element should be used for the primary content of your document only. '
'The <main> element should be used for the primary content of your document only.'
),
section: __(
"The <section> element should represent a standalone portion of the document that can't be better represented by another element."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { __ } from '@wordpress/i18n';
function DeletedNavigationWarning( { onCreateNew } ) {
return (
<Warning>
{ __( 'Navigation menu has been deleted or is unavailable. ' ) }
{ __( 'Navigation menu has been deleted or is unavailable.' ) }
<Button onClick={ onCreateNew } variant="link">
{ __( 'Create a new menu?' ) }
</Button>
Expand Down

0 comments on commit a46a5d9

Please sign in to comment.