diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 152f97b01..506643b43 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -316,12 +316,12 @@ $page_links = paginate_links( array( - + - + @@ -413,7 +413,7 @@ if ( $page_links ) - + @@ -421,7 +421,7 @@ if ( $page_links ) - + diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 50ad748c6..9fe795655 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -328,7 +328,7 @@ function wp_dashboard_right_now() { // Spam Comments $num = number_format_i18n($num_comm->spam); - $text = _n( 'Spam', 'Spam', $num_comm->spam ); + $text = _nx( 'Spam', 'Spam', $num_comm->spam, 'comment' ); if ( current_user_can( 'moderate_comments' ) ) { $num = "$num"; $text = "$text"; diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index e46e0a5ca..92084ad04 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -2110,7 +2110,7 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true, if ( 'spam' != $the_comment_status && 'trash' != $the_comment_status ) { $actions['spam'] = "" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . ''; } elseif ( 'spam' == $the_comment_status ) { - $actions['unspam'] = "" . __( 'Not Spam' ) . ''; + $actions['unspam'] = "" . _x( 'Not Spam', 'comment' ) . ''; } elseif ( 'trash' == $the_comment_status ) { $actions['untrash'] = "" . __( 'Restore' ) . ''; } diff --git a/wp-admin/ms-sites.php b/wp-admin/ms-sites.php index 311e75a2d..89078314e 100644 --- a/wp-admin/ms-sites.php +++ b/wp-admin/ms-sites.php @@ -113,7 +113,7 @@ switch ( $action ) { - + @@ -124,7 +124,7 @@ switch ( $action ) { $radio_fields = array( 'public' => __( 'Public' ) ); if ( ! $is_main_site ) { $radio_fields['archived'] = __( 'Archived' ); - $radio_fields['spam'] = __( 'Spam' ); + $radio_fields['spam'] = _x( 'Spam', 'site' ); $radio_fields['deleted'] = __( 'Deleted' ); } $radio_fields['mature'] = __( 'Mature' ); @@ -414,8 +414,8 @@ switch ( $action ) { @@ -448,7 +448,7 @@ switch ( $action ) { 'id' => __( 'ID' ), 'blogname' => $blogname_columns, 'lastupdated' => __( 'Last Updated'), - 'registered' => __( 'Registered' ), + 'registered' => _x( 'Registered', 'site' ), 'users' => __( 'Users' ) ); @@ -489,7 +489,7 @@ switch ( $action ) { array( 'site-archived', __( 'Archived' ) ), 'spam' => array( 'site-spammed', __( 'Spam' ) ), 'deleted' => array( 'site-deleted', __( 'Deleted' ) ), 'mature' => array( 'site-mature', __( 'Mature' ) ) ); + $status_list = array( 'archived' => array( 'site-archived', __( 'Archived' ) ), 'spam' => array( 'site-spammed', _x( 'Spam', 'site' ) ), 'deleted' => array( 'site-deleted', __( 'Deleted' ) ), 'mature' => array( 'site-mature', __( 'Mature' ) ) ); if ( $blog_list ) { $class = ''; foreach ( $blog_list as $blog ) { @@ -534,7 +534,7 @@ switch ( $action ) { ' . sprintf( _x( '%1$s – %2$s', '%1$s: site name. %2$s: site tagline.' ), get_blog_option( $blog['blog_id'], 'blogname' ), get_blog_option( $blog['blog_id'], 'blogdescription ' ) ) . '

'; + echo '

' . sprintf( _x( '%1$s – %2$s', '%1$s: site name. %2$s: site tagline.' ), get_blog_option( $blog['blog_id'], 'blogname' ), get_blog_option( $blog['blog_id'], 'blogdescription ' ) ) . '

'; // Preordered. $actions = array( @@ -557,12 +557,12 @@ switch ( $action ) { if ( get_blog_status( $blog['blog_id'], 'archived' ) == '1' ) $actions['unarchive'] = '' . __( 'Unarchive' ) . ''; else - $actions['archive'] = '' . __( 'Archive' ) . ''; + $actions['archive'] = '' . _x( 'Archive', 'verb; site' ) . ''; if ( get_blog_status( $blog['blog_id'], 'spam' ) == '1' ) - $actions['unspam'] = '' . __( 'Not Spam' ) . ''; + $actions['unspam'] = '' . _x( 'Not Spam', 'site' ) . ''; else - $actions['spam'] = '' . __( 'Spam' ) . ''; + $actions['spam'] = '' . _x( 'Spam', 'site' ) . ''; $actions['delete'] = '' . __( 'Delete' ) . ''; } @@ -665,8 +665,8 @@ switch ( $action ) { diff --git a/wp-admin/ms-users.php b/wp-admin/ms-users.php index 8a427f222..bf38934a1 100644 --- a/wp-admin/ms-users.php +++ b/wp-admin/ms-users.php @@ -130,8 +130,8 @@ if ( isset( $_GET['updated'] ) && $_GET['updated'] == 'true' && ! empty( $_GET[' @@ -162,7 +162,7 @@ if ( isset( $_GET['updated'] ) && $_GET['updated'] == 'true' && ! empty( $_GET[' 'login' => __( 'Username' ), 'name' => __( 'Name' ), 'email' => __( 'E-mail' ), - 'registered' => __( 'Registered' ), + 'registered' => _x( 'Registered', 'user' ), 'blogs' => __( 'Sites' ) ); $users_columns = apply_filters( 'wpmu_users_columns', $users_columns ); @@ -324,8 +324,8 @@ if ( isset( $_GET['updated'] ) && $_GET['updated'] == 'true' && ! empty( $_GET['