Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (5 years ago)
Author:
SergeyBiryukov
Message:

I18N: Capitalize translator comments consistently, add trailing punctuation.

Includes minor code layout fixes.

See #44360.

File:
1 edited

Legend:

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

    r45926 r45932  
    469469        esc_attr(
    470470            sprintf(
    471                 /* translators: 1: post title, 2: site name */
     471                /* translators: 1: Post title, 2: Site title. */
    472472                __( '“%1$s” — %2$s' ),
    473473                get_the_title( $post ),
     
    930930        '<a href="%1$s" class="wp-embed-more" target="_top">%2$s</a>',
    931931        esc_url( get_permalink() ),
    932         /* translators: %s: Name of current post */
     932        /* translators: %s: Post title. */
    933933        sprintf( __( 'Continue reading %s' ), '<span class="screen-reader-text">' . get_the_title() . '</span>' )
    934934    );
     
    10851085            <?php
    10861086            printf(
    1087                 /* translators: %s: number of comments */
     1087                /* translators: %s: Number of comments. */
    10881088                _n(
    10891089                    '%s <span class="screen-reader-text">Comment</span>',
Note: See TracChangeset for help on using the changeset viewer.