WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (7 weeks 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/feed-rss2-comments.php

    r45590 r45932  
    3636    <?php
    3737    if ( is_singular() ) {
    38         /* translators: Comments feed title. %s: Post title */
     38        /* translators: Comments feed title. %s: Post title. */
    3939        printf( ent2ncr( __( 'Comments on: %s' ) ), get_the_title_rss() );
    4040    } elseif ( is_search() ) {
    41         /* translators: Comments feed title. 1: Site name, 2: Search query */
     41        /* translators: Comments feed title. 1: Site title, 2: Search query. */
    4242        printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() );
    4343    } else {
    44         /* translators: Comments feed title. %s: Site name */
     44        /* translators: Comments feed title. %s: Site title. */
    4545        printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() );
    4646    }
     
    8484                    /** This filter is documented in wp-includes/feed.php */
    8585                    $title = apply_filters( 'the_title_rss', $title );
    86                     /* translators: Individual comment title. 1: Post title, 2: Comment author name */
     86                    /* translators: Individual comment title. 1: Post title, 2: Comment author name. */
    8787                    printf( ent2ncr( __( 'Comment on %1$s by %2$s' ) ), $title, get_comment_author_rss() );
    8888                } else {
    89                     /* translators: Comment author title. %s: Comment author name */
     89                    /* translators: Comment author title. %s: Comment author name. */
    9090                    printf( ent2ncr( __( 'By: %s' ) ), get_comment_author_rss() );
    9191                }
Note: See TracChangeset for help on using the changeset viewer.