Skip to content

Commit

Permalink
Fix typo in string for trashing posts (#63119)
Browse files Browse the repository at this point in the history
Co-authored-by: talldan <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: knutsp <[email protected]>
  • Loading branch information
4 people authored and gutenbergplugin committed Jul 5, 2024
1 parent e9544f3 commit 8fb9836
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/editor/src/components/post-actions/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ const trashPostAction = {
__( '"%s" moved to trash.' ),
getItemTitle( items[ 0 ] )
);
} else if ( items[ 0 ].type === 'page' ) {
} else {
successMessage = sprintf(
/* translators: The number of items. */
_n(
Expand All @@ -264,12 +264,6 @@ const trashPostAction = {
),
items.length
);
} else {
successMessage = sprintf(
/* translators: The number of posts. */
__( '%s items move to trash.' ),
items.length
);
}
createSuccessNotice( successMessage, {
type: 'snackbar',
Expand Down

0 comments on commit 8fb9836

Please sign in to comment.