Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (7 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/class-walker-comment.php

    r45926 r45932  
    284284                        <?php
    285285                                printf(
    286                                         /* translators: %s: comment author link */
     286                                        /* translators: %s: Comment author link. */
    287287                                        __( '%s <span class="says">says:</span>' ),
    288288                                        sprintf( '<cite class="fn">%s</cite>', get_comment_author_link( $comment ) )
    … …  
    297297                <div class="comment-meta commentmetadata"><a href="<?php echo esc_url( get_comment_link( $comment, $args ) ); ?>">
    298298                        <?php
    299                                 /* translators: 1: comment date, 2: comment time */
     299                                /* translators: 1: Comment date, 2: Comment time. */
    300300                                printf( __( '%1$s at %2$s' ), get_comment_date( '', $comment ), get_comment_time() );
    301301                        ?>
    … …  
    374374                                                <?php
    375375                                                        printf(
    376                                                                 /* translators: %s: comment author link */
     376                                                                /* translators: %s: Comment author link. */
    377377                                                                __( '%s <span class="says">says:</span>' ),
    378378                                                                sprintf( '<b class="fn">%s</b>', get_comment_author_link( $comment ) )
    … …  
    385385                                                        <time datetime="<?php comment_time( 'c' ); ?>">
    386386                                                                <?php
    387                                                                         /* translators: 1: comment date, 2: comment time */
     387                                                                        /* translators: 1: Comment date, 2: Comment time. */
    388388                                                                        printf( __( '%1$s at %2$s' ), get_comment_date( '', $comment ), get_comment_time() );
    389389                                                                ?>
Note: See TracChangeset for help on using the changeset viewer.