Skip to content

Commit

Permalink
Update packages/block-editor/src/components/inserter/block-patterns-e…
Browse files Browse the repository at this point in the history
…xplorer/search-results.js

Co-authored-by: Miguel Fonseca <miguelcsf@gmail.com>
  • Loading branch information
ntsekouras and mcsf authored Oct 20, 2021
1 parent cf7fe53 commit dec08cf
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ function PatternExplorerSearchResults( {
{ hasItems && (
<h2 className="block-editor-block-patterns-explorer__search-results-count">
{ sprintf(
/* translators: %d: number of patterns. */
/* translators: %d: number of patterns. %s: block pattern search query */
_n(
'%d pattern found for',
'%d patterns found for',
'%d pattern found for "%s"',
'%d patterns found for "%s"',
filteredBlockPatterns.length
),
filteredBlockPatterns.length
filteredBlockPatterns.length,
filterValue
) }
{ ` "${ filterValue }"` }
</h2>
) }
<InserterListbox>
Expand Down

0 comments on commit dec08cf

Please sign in to comment.