Make WordPress Core


Ignore:
Timestamp:
11/21/2016 01:21:01 AM (8 years ago)
Author:
johnbillion
Message:

I18n: Begin introducing translator comments for strings which include placeholders but no accompanying translator comment.

Adds context to one string used in two different contexts for the new user and new site signup email notification.

More to come.

See #38882

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/feed-atom-comments.php

    r38925 r39323  
    2929>
    3030    <title type="text"><?php
    31         if ( is_singular() )
     31        if ( is_singular() ) {
     32            /* translators: Comments feed title. 1: Post title */
    3233            printf( ent2ncr( __( 'Comments on %s' ) ), get_the_title_rss() );
    33         elseif ( is_search() )
     34        } elseif ( is_search() ) {
     35            /* translators: Comments feed title. 1: Site name, 2: Search query */
    3436            printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() );
    35         else
     37        } else {
     38            /* translators: Comments feed title. 1: Site name */
    3639            printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() );
     40        }
    3741    ?></title>
    3842    <subtitle type="text"><?php bloginfo_rss('description'); ?></subtitle>
     
    7478                /** This filter is documented in wp-includes/feed.php */
    7579                $title = apply_filters( 'the_title_rss', $title );
     80                /* translators: Individual comment title. 1: Post title, 2: Comment author name */
    7681                printf(ent2ncr(__('Comment on %1$s by %2$s')), $title, get_comment_author_rss());
    7782            } else {
     83                /* translators: Comment author title. 1: Comment author name */
    7884                printf(ent2ncr(__('By: %s')), get_comment_author_rss());
    7985            }
Note: See TracChangeset for help on using the changeset viewer.