diff --git a/wp-admin/index.php b/wp-admin/index.php index d23b9dbb64..034d68e38f 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -54,20 +54,20 @@ $num_tags = wp_count_terms('post_tag'); $post_type_texts = array(); if ( $num_posts ) { - $post_type_texts[] = ''.sprintf( __ngettext( '%d post', '%d posts', $num_posts ), number_format_i18n( $num_posts ) ).''; + $post_type_texts[] = ''.sprintf( __ngettext( '%s post', '%s posts', $num_posts ), number_format_i18n( $num_posts ) ).''; } if ( $num_pages ) { - $post_type_texts[] = ''.sprintf( __ngettext( '%d page', '%d pages', $num_pages ), number_format_i18n( $num_pages ) ).''; + $post_type_texts[] = ''.sprintf( __ngettext( '%s page', '%s pages', $num_pages ), number_format_i18n( $num_pages ) ).''; } if ( $num_drafts ) { - $post_type_texts[] = ''.sprintf( __ngettext( '%d draft', '%d drafts', $num_drafts ), number_format_i18n( $num_drafts ) ).''; + $post_type_texts[] = ''.sprintf( __ngettext( '%s draft', '%s drafts', $num_drafts ), number_format_i18n( $num_drafts ) ).''; } if ( $num_future ) { - $post_type_texts[] = ''.sprintf( __ngettext( '%d scheduled post', '%d scheduled posts', $num_future ), number_format_i18n( $num_future ) ).''; + $post_type_texts[] = ''.sprintf( __ngettext( '%s scheduled post', '%s scheduled posts', $num_future ), number_format_i18n( $num_future ) ).''; } -$cats_text = ''.sprintf( __ngettext( '%d category', '%d categories', $num_cats ), number_format_i18n( $num_cats ) ).''; -$tags_text = sprintf( __ngettext( '%d tag', '%d tags', $num_tags ), number_format_i18n( $num_tags ) ); +$cats_text = ''.sprintf( __ngettext( '%s category', '%s categories', $num_cats ), number_format_i18n( $num_cats ) ).''; +$tags_text = sprintf( __ngettext( '%s tag', '%s tags', $num_tags ), number_format_i18n( $num_tags ) ); $post_type_text = implode(', ', $post_type_texts);