Include placeholders in translator comments.

See #31857.

git-svn-id: https://develop.svn.wordpress.org/trunk@34304 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2015-09-18 18:57:01 +00:00
parent 394e9ac21a
commit 21a41c100f
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ if ( $comment->comment_approved != '0' ) { // if not unapproved
$parent_link = esc_url( get_comment_link( $parent ) );
$name = get_comment_author( $parent );
printf(
/* translators: comment link */
/* translators: %s: comment link */
' | ' . __( 'In reply to %s.' ),
'<a href="' . $parent_link . '">' . $name . '</a>'
);

View File

@ -611,7 +611,7 @@ class WP_Comments_List_Table extends WP_List_Table {
$parent_link = esc_url( get_comment_link( $parent ) );
$name = get_comment_author( $parent );
printf(
/* translators: comment link */
/* translators: %s: comment link */
' | ' . __( 'In reply to %s.' ),
'<a href="' . $parent_link . '">' . $name . '</a>'
);