mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
I18N: Capitalize translator comments consistently, add trailing punctuation.
Includes minor code layout fixes. See #44360. git-svn-id: https://develop.svn.wordpress.org/trunk@45932 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -314,42 +314,42 @@ $bulk_counts = array(
|
||||
|
||||
$bulk_messages = array();
|
||||
$bulk_messages['post'] = array(
|
||||
/* translators: %s: number of posts */
|
||||
/* translators: %s: Number of posts. */
|
||||
'updated' => _n( '%s post updated.', '%s posts updated.', $bulk_counts['updated'] ),
|
||||
'locked' => ( 1 == $bulk_counts['locked'] ) ? __( '1 post not updated, somebody is editing it.' ) :
|
||||
/* translators: %s: number of posts */
|
||||
/* translators: %s: Number of posts. */
|
||||
_n( '%s post not updated, somebody is editing it.', '%s posts not updated, somebody is editing them.', $bulk_counts['locked'] ),
|
||||
/* translators: %s: number of posts */
|
||||
/* translators: %s: Number of posts. */
|
||||
'deleted' => _n( '%s post permanently deleted.', '%s posts permanently deleted.', $bulk_counts['deleted'] ),
|
||||
/* translators: %s: number of posts */
|
||||
/* translators: %s: Number of posts. */
|
||||
'trashed' => _n( '%s post moved to the Trash.', '%s posts moved to the Trash.', $bulk_counts['trashed'] ),
|
||||
/* translators: %s: number of posts */
|
||||
/* translators: %s: Number of posts. */
|
||||
'untrashed' => _n( '%s post restored from the Trash.', '%s posts restored from the Trash.', $bulk_counts['untrashed'] ),
|
||||
);
|
||||
$bulk_messages['page'] = array(
|
||||
/* translators: %s: number of pages */
|
||||
/* translators: %s: Number of pages. */
|
||||
'updated' => _n( '%s page updated.', '%s pages updated.', $bulk_counts['updated'] ),
|
||||
'locked' => ( 1 == $bulk_counts['locked'] ) ? __( '1 page not updated, somebody is editing it.' ) :
|
||||
/* translators: %s: number of pages */
|
||||
/* translators: %s: Number of pages. */
|
||||
_n( '%s page not updated, somebody is editing it.', '%s pages not updated, somebody is editing them.', $bulk_counts['locked'] ),
|
||||
/* translators: %s: number of pages */
|
||||
/* translators: %s: Number of pages. */
|
||||
'deleted' => _n( '%s page permanently deleted.', '%s pages permanently deleted.', $bulk_counts['deleted'] ),
|
||||
/* translators: %s: number of pages */
|
||||
/* translators: %s: Number of pages. */
|
||||
'trashed' => _n( '%s page moved to the Trash.', '%s pages moved to the Trash.', $bulk_counts['trashed'] ),
|
||||
/* translators: %s: number of pages */
|
||||
/* translators: %s: Number of pages. */
|
||||
'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 */
|
||||
/* 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 */
|
||||
/* 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 */
|
||||
/* translators: %s: Number of blocks. */
|
||||
'deleted' => _n( '%s block permanently deleted.', '%s blocks permanently deleted.', $bulk_counts['deleted'] ),
|
||||
/* translators: %s: number of blocks */
|
||||
/* 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 */
|
||||
/* translators: %s: Number of blocks. */
|
||||
'untrashed' => _n( '%s block restored from the Trash.', '%s blocks restored from the Trash.', $bulk_counts['untrashed'] ),
|
||||
);
|
||||
|
||||
@@ -382,7 +382,7 @@ if ( current_user_can( $post_type_object->cap->create_posts ) ) {
|
||||
}
|
||||
|
||||
if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
|
||||
/* translators: %s: search keywords */
|
||||
/* translators: %s: Search query. */
|
||||
printf( ' <span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', get_search_query() );
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user