mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Posts: update admin notices to refer to patterns.
Updates `wp_block` action notices to refer to patterns instead of blocks. Props aaronrobertshaw, mukesh27, oglekler. Fixes #59305. git-svn-id: https://develop.svn.wordpress.org/trunk@56606 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -381,17 +381,17 @@ $bulk_messages['page'] = array(
|
||||
'untrashed' => _n( '%s page restored from the Trash.', '%s pages restored from the Trash.', $bulk_counts['untrashed'] ),
|
||||
);
|
||||
$bulk_messages['wp_block'] = array(
|
||||
/* translators: %s: Number of blocks. */
|
||||
'updated' => _n( '%s block updated.', '%s blocks updated.', $bulk_counts['updated'] ),
|
||||
'locked' => ( 1 === $bulk_counts['locked'] ) ? __( '1 block not updated, somebody is editing it.' ) :
|
||||
/* translators: %s: Number of blocks. */
|
||||
_n( '%s block not updated, somebody is editing it.', '%s blocks not updated, somebody is editing them.', $bulk_counts['locked'] ),
|
||||
/* translators: %s: Number of blocks. */
|
||||
'deleted' => _n( '%s block permanently deleted.', '%s blocks permanently deleted.', $bulk_counts['deleted'] ),
|
||||
/* translators: %s: Number of blocks. */
|
||||
'trashed' => _n( '%s block moved to the Trash.', '%s blocks moved to the Trash.', $bulk_counts['trashed'] ),
|
||||
/* translators: %s: Number of blocks. */
|
||||
'untrashed' => _n( '%s block restored from the Trash.', '%s blocks restored from the Trash.', $bulk_counts['untrashed'] ),
|
||||
/* translators: %s: Number of patterns. */
|
||||
'updated' => _n( '%s pattern updated.', '%s patterns updated.', $bulk_counts['updated'] ),
|
||||
'locked' => ( 1 === $bulk_counts['locked'] ) ? __( '1 pattern not updated, somebody is editing it.' ) :
|
||||
/* translators: %s: Number of patterns. */
|
||||
_n( '%s pattern not updated, somebody is editing it.', '%s patterns not updated, somebody is editing them.', $bulk_counts['locked'] ),
|
||||
/* translators: %s: Number of patterns. */
|
||||
'deleted' => _n( '%s pattern permanently deleted.', '%s patterns permanently deleted.', $bulk_counts['deleted'] ),
|
||||
/* translators: %s: Number of patterns. */
|
||||
'trashed' => _n( '%s pattern moved to the Trash.', '%s patterns moved to the Trash.', $bulk_counts['trashed'] ),
|
||||
/* translators: %s: Number of patterns. */
|
||||
'untrashed' => _n( '%s pattern restored from the Trash.', '%s patterns restored from the Trash.', $bulk_counts['untrashed'] ),
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user