WordPress.org

Make WordPress Core


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

    r45590 r45932  
    3131    <?php
    3232    if ( is_singular() ) {
    33         /* translators: Comments feed title. %s: Post title */
     33        /* translators: Comments feed title. %s: Post title. */
    3434        printf( ent2ncr( __( 'Comments on %s' ) ), get_the_title_rss() );
    3535    } elseif ( is_search() ) {
    36         /* translators: Comments feed title. 1: Site name, 2: Search query */
     36        /* translators: Comments feed title. 1: Site title, 2: Search query. */
    3737        printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() );
    3838    } else {
    39         /* translators: Comments feed title. %s: Site name */
     39        /* translators: Comments feed title. %s: Site title. */
    4040        printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() );
    4141    }
     
    8181            /** This filter is documented in wp-includes/feed.php */
    8282            $title = apply_filters( 'the_title_rss', $title );
    83             /* translators: Individual comment title. 1: Post title, 2: Comment author name */
     83            /* translators: Individual comment title. 1: Post title, 2: Comment author name. */
    8484            printf( ent2ncr( __( 'Comment on %1$s by %2$s' ) ), $title, get_comment_author_rss() );
    8585        } else {
    86             /* translators: Comment author title. %s: Comment author name */
     86            /* translators: Comment author title. %s: Comment author name. */
    8787            printf( ent2ncr( __( 'By: %s' ) ), get_comment_author_rss() );
    8888        }
Note: See TracChangeset for help on using the changeset viewer.