WordPress.org

Make WordPress Core

Changeset 31389


Ignore:
Timestamp:
02/09/2015 08:14:19 PM (6 years ago)
Author:
jorbin
Message:

Add translator comments for new strings.

These strings were added in [31388].

Props ocean90.
Fixes 26553.

File:
1 edited

Legend:

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

    r31388 r31389  
    12781278    $title = get_the_title();
    12791279    $span_close = '</span>';
    1280    
     1280
    12811281    $number = get_comments_number( $id );
    1282    
    1283     if ( false === $zero ) $zero = sprintf( __( 'No Comments%1$s on %2$s%3$s' ), $span, $title, $span_close );
    1284     if ( false === $one ) $one = sprintf( __( '1 Comment%1$s on %2$s%3$s' ), $span, $title, $span_close );
    1285     if ( false === $more ) $more = sprintf( __( '%4$d Comments%1$s on %2$s%3$s' ), $span, $title, $span_close, $number );
    1286     if ( false === $none ) $none = sprintf( __( 'Comments Off%1$s on %2$s%3$s' ), $span, $title, $span_close );
     1282
     1283    if ( false === $zero ) {
     1284        /* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag */
     1285        $zero = sprintf( __( 'No Comments%1$s on %2$s%3$s' ), $span, $title, $span_close );
     1286    }
     1287    if ( false === $one ) {
     1288        /* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag */
     1289        $one = sprintf( __( '1 Comment%1$s on %2$s%3$s' ), $span, $title, $span_close );
     1290    }
     1291    if ( false === $more ) {
     1292        /* 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 );
     1294    }
     1295    if ( false === $none ) {
     1296        /* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag */
     1297        $none = sprintf( __( 'Comments Off%1$s on %2$s%3$s' ), $span, $title, $span_close );
     1298    }
    12871299
    12881300    if ( 0 == $number && !comments_open() && !pings_open() ) {
Note: See TracChangeset for help on using the changeset viewer.