Skip to content

Commit

Permalink
Editor: Translation should depend on number of items (#62857)
Browse files Browse the repository at this point in the history
Co-authored-by: iworks <iworks@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
  • Loading branch information
4 people committed Jul 2, 2024
1 parent fe20128 commit 3503fc2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/editor/src/components/post-actions/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,11 @@ const trashPostAction = {
} else if ( items[ 0 ].type === 'page' ) {
successMessage = sprintf(
/* translators: The number of items. */
__( '%s items moved to trash.' ),
_n(
'%s item moved to trash.',
'%s items moved to trash.',
items.length
),
items.length
);
} else {
Expand Down

0 comments on commit 3503fc2

Please sign in to comment.