WordPress.org

Make WordPress Core

Ticket #26553: 26553.2.diff

File 26553.2.diff, 797 bytes (added by SergeyBiryukov, 6 years ago)
  • src/wp-includes/comment-template.php

     
    12901290        }
    12911291        if ( false === $more ) {
    12921292                /* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag, 4: number of comments */
    1293                 $more = sprintf( __( '%4$d Comments%1$s on %2$s%3$s' ), $span, $title, $span_close, $number );
     1293                $more = _n( '%4$d Comment%1$s on %2$s%3$s', '%4$d Comments%1$s on %2$s%3$s', $number );
     1294                $more = sprintf( $more, $span, $title, $span_close, number_format_i18n( $number ) );
    12941295        }
    12951296        if ( false === $none ) {
    12961297                /* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag */