Add translator comments for new strings.

These strings were added in [31388].

Props ocean90.
Fixes 26553.


Built from https://develop.svn.wordpress.org/trunk@31389


git-svn-id: http://core.svn.wordpress.org/trunk@31370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Aaron Jorbin 2015-02-09 20:15:27 +00:00
parent 4f08e9d383
commit c99149419d
2 changed files with 19 additions and 7 deletions

View File

@ -1277,13 +1277,25 @@ function comments_popup_link( $zero = false, $one = false, $more = false, $css_c
$span = '<span class="screen-reader-text">'; $span = '<span class="screen-reader-text">';
$title = get_the_title(); $title = get_the_title();
$span_close = '</span>'; $span_close = '</span>';
$number = get_comments_number( $id ); $number = get_comments_number( $id );
if ( false === $zero ) $zero = sprintf( __( 'No Comments%1$s on %2$s%3$s' ), $span, $title, $span_close ); if ( false === $zero ) {
if ( false === $one ) $one = sprintf( __( '1 Comment%1$s on %2$s%3$s' ), $span, $title, $span_close ); /* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag */
if ( false === $more ) $more = sprintf( __( '%4$d Comments%1$s on %2$s%3$s' ), $span, $title, $span_close, $number ); $zero = sprintf( __( 'No Comments%1$s on %2$s%3$s' ), $span, $title, $span_close );
if ( false === $none ) $none = sprintf( __( 'Comments Off%1$s on %2$s%3$s' ), $span, $title, $span_close ); }
if ( false === $one ) {
/* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag */
$one = sprintf( __( '1 Comment%1$s on %2$s%3$s' ), $span, $title, $span_close );
}
if ( false === $more ) {
/* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag, 4: number of comments */
$more = sprintf( __( '%4$d Comments%1$s on %2$s%3$s' ), $span, $title, $span_close, $number );
}
if ( false === $none ) {
/* translators: 1: Opening span tag with a class, 2: post title, 3: closing span tag */
$none = sprintf( __( 'Comments Off%1$s on %2$s%3$s' ), $span, $title, $span_close );
}
if ( 0 == $number && !comments_open() && !pings_open() ) { if ( 0 == $number && !comments_open() && !pings_open() ) {
echo '<span' . ((!empty($css_class)) ? ' class="' . esc_attr( $css_class ) . '"' : '') . '>' . $none . '</span>'; echo '<span' . ((!empty($css_class)) ? ' class="' . esc_attr( $css_class ) . '"' : '') . '>' . $none . '</span>';

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-alpha-31388'; $wp_version = '4.2-alpha-31389';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.