mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-21 23:11:53 +01:00
I18N: Correct placeholders in translator comments in wp_new_comment_notify_comment_author()
.
Follow-up to [42827], [45932], [50109]. See #33717. Built from https://develop.svn.wordpress.org/trunk@50112 git-svn-id: http://core.svn.wordpress.org/trunk@49791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fc1677b504
commit
68705af715
@ -2389,7 +2389,7 @@ function wp_new_comment_notify_comment_author( $comment_id ) {
|
||||
$blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
|
||||
|
||||
$subject = sprintf(
|
||||
/* translators: 1: blog name, 2: post title */
|
||||
/* translators: 1: Blog name, 2: Post title. */
|
||||
__( '[%1$s] Your comment on "%2$s" has been approved' ),
|
||||
$blogname,
|
||||
$post->post_title
|
||||
@ -2397,7 +2397,7 @@ function wp_new_comment_notify_comment_author( $comment_id ) {
|
||||
|
||||
if ( ! empty( $comment->comment_author ) ) {
|
||||
$notify_message = sprintf(
|
||||
/* translators: 1: comment author's name */
|
||||
/* translators: %s: Comment author's name. */
|
||||
__( 'Howdy %s,' ),
|
||||
$comment->comment_author
|
||||
) . "\r\n\r\n";
|
||||
@ -2406,13 +2406,13 @@ function wp_new_comment_notify_comment_author( $comment_id ) {
|
||||
}
|
||||
|
||||
$notify_message .= sprintf(
|
||||
/* translators: 1: post title */
|
||||
/* translators: %s: Post title. */
|
||||
__( 'Your comment on "%s" has been approved.' ),
|
||||
$post->post_title
|
||||
) . "\r\n\r\n";
|
||||
|
||||
$notify_message .= sprintf(
|
||||
/* translators: 1: comment permalink */
|
||||
/* translators: %s: Comment permalink. */
|
||||
__( 'View comment: %s' ),
|
||||
get_comment_link( $comment )
|
||||
) . "\r\n";
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.7-alpha-50111';
|
||||
$wp_version = '5.7-alpha-50112';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user