WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/11/2018 04:43:59 PM (4 years ago)
Author:
SergeyBiryukov
Message:

I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders.

Add missing translator comments in WP_Theme_Install_List_Table and wp_notify_postauthor().
Add missing commas in some translator comments.

Fixes #43523.

File:
1 edited

Legend:

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

    r42815 r42827  
    15411541
    15421542    if ( false === $more ) {
    1543         /* translators: 1: Number of comments 2: post title */
     1543        /* translators: 1: number of comments, 2: post title */
    15441544        $more = _n( '%1$s Comment<span class="screen-reader-text"> on %2$s</span>', '%1$s Comments<span class="screen-reader-text"> on %2$s</span>', $number );
    15451545        $more = sprintf( $more, number_format_i18n( $number ), $title );
     
    16301630        'respond_id'    => 'respond',
    16311631        'reply_text'    => __( 'Reply' ),
    1632         /* translators: Comment reply button text. 1: Comment author name */
     1632        /* translators: Comment reply button text. %s: Comment author name */
    16331633        'reply_to_text' => __( 'Reply to %s' ),
    16341634        'login_text'    => __( 'Log in to Reply' ),
Note: See TracChangeset for help on using the changeset viewer.