Skip to content

Commit

Permalink
Block patterns: improve success notice (#21005)
Browse files Browse the repository at this point in the history
* Add period at the end of sentence.

* Add translator comment
  • Loading branch information
Soean authored Mar 19, 2020
1 parent 8841762 commit c6d5bd5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/block-editor/src/components/block-patterns/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ function BlockPatterns( { patterns } ) {
false
);
createSuccessNotice(
sprintf( __( 'Pattern "%s" inserted' ), pattern.title ),
sprintf(
/* translators: %s: block pattern title. */
__( 'Pattern "%s" inserted.' ),
pattern.title
),
{
type: 'snackbar',
}
Expand Down

0 comments on commit c6d5bd5

Please sign in to comment.