WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/11/2018 04:43:59 PM (3 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-atom-comments.php

    r42343 r42827  
    3131    <?php
    3232    if ( is_singular() ) {
    33         /* translators: Comments feed title. 1: Post title */
     33        /* translators: Comments feed title. %s: Post title */
    3434        printf( ent2ncr( __( 'Comments on %s' ) ), get_the_title_rss() );
    3535    } elseif ( is_search() ) {
     
    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. 1: Site name */
     39        /* translators: Comments feed title. %s: Site name */
    4040        printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() );
    4141    }
     
    8888            printf( ent2ncr( __( 'Comment on %1$s by %2$s' ) ), $title, get_comment_author_rss() );
    8989        } else {
    90             /* translators: Comment author title. 1: Comment author name */
     90            /* translators: Comment author title. %s: Comment author name */
    9191            printf( ent2ncr( __( 'By: %s' ) ), get_comment_author_rss() );
    9292        }
Note: See TracChangeset for help on using the changeset viewer.