WordPress.org

Make WordPress Core

Changeset 31401


Ignore:
Timestamp:
02/10/2015 02:50:58 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Use _n() in comments_popup_link() when setting the default string to display if there are more than one comment.

see #26553.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment-template.php

    r31389 r31401  
    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 = sprintf( _n( '%4$d Comment%1$s on %2$s%3$s', '%4$d Comments%1$s on %2$s%3$s', $number ),
     1294            $span, $title, $span_close, number_format_i18n( $number )
     1295        );
    12941296    }
    12951297    if ( false === $none ) {
Note: See TracChangeset for help on using the changeset viewer.