WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/11/2018 04:43:59 PM (4 years ago)
Author:
SergeyBiryukov
Message:

I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders.

Add missing translator comments in WP_Theme_Install_List_Table and wp_notify_postauthor().
Add missing commas in some translator comments.

Fixes #43523.

File:
1 edited

Legend:

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

    r42343 r42827  
    3636    <?php
    3737    if ( is_singular() ) {
    38         /* translators: Comments feed title. 1: Post title */
     38        /* translators: Comments feed title. %s: Post title */
    3939        printf( ent2ncr( __( 'Comments on: %s' ) ), get_the_title_rss() );
    4040    } elseif ( is_search() ) {
     
    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. 1: Site name */
     44        /* translators: Comments feed title. %s: Site name */
    4545        printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() );
    4646    }
     
    9191                    printf( ent2ncr( __( 'Comment on %1$s by %2$s' ) ), $title, get_comment_author_rss() );
    9292                } else {
    93                     /* translators: Comment author title. 1: Comment author name */
     93                    /* translators: Comment author title. %s: Comment author name */
    9494                    printf( ent2ncr( __( 'By: %s' ) ), get_comment_author_rss() );
    9595                }
Note: See TracChangeset for help on using the changeset viewer.