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. Built from https://develop.svn.wordpress.org/trunk@42827 git-svn-id: http://core.svn.wordpress.org/trunk@42657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -30,13 +30,13 @@ do_action( 'rss_tag_pre', 'atom-comments' );
|
||||
<title type="text">
|
||||
<?php
|
||||
if ( is_singular() ) {
|
||||
/* translators: Comments feed title. 1: Post title */
|
||||
/* translators: Comments feed title. %s: Post title */
|
||||
printf( ent2ncr( __( 'Comments on %s' ) ), get_the_title_rss() );
|
||||
} elseif ( is_search() ) {
|
||||
/* translators: Comments feed title. 1: Site name, 2: Search query */
|
||||
printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() );
|
||||
} else {
|
||||
/* translators: Comments feed title. 1: Site name */
|
||||
/* translators: Comments feed title. %s: Site name */
|
||||
printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() );
|
||||
}
|
||||
?>
|
||||
@@ -87,7 +87,7 @@ if ( have_comments() ) :
|
||||
/* translators: Individual comment title. 1: Post title, 2: Comment author name */
|
||||
printf( ent2ncr( __( 'Comment on %1$s by %2$s' ) ), $title, get_comment_author_rss() );
|
||||
} else {
|
||||
/* translators: Comment author title. 1: Comment author name */
|
||||
/* translators: Comment author title. %s: Comment author name */
|
||||
printf( ent2ncr( __( 'By: %s' ) ), get_comment_author_rss() );
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user