Make WordPress Core

Changeset 50112


Ignore:
Timestamp:
01/31/2021 05:35:11 PM (6 years ago)
Author:
SergeyBiryukov
Message:

I18N: Correct placeholders in translator comments in wp_new_comment_notify_comment_author().

Follow-up to [42827], [45932], [50109].

See #33717.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment.php

    r50109 r50112  
    23902390
    23912391        $subject = sprintf(
    2392                 /* translators: 1: blog name, 2: post title */
     2392                /* translators: 1: Blog name, 2: Post title. */
    23932393                __( '[%1$s] Your comment on "%2$s" has been approved' ),
    23942394                $blogname,
     
    23982398        if ( ! empty( $comment->comment_author ) ) {
    23992399                $notify_message = sprintf(
    2400                         /* translators: 1: comment author's name */
     2400                        /* translators: %s: Comment author's name. */
    24012401                        __( 'Howdy %s,' ),
    24022402                        $comment->comment_author
     
    24072407
    24082408        $notify_message .= sprintf(
    2409                 /* translators: 1: post title */
     2409                /* translators: %s: Post title. */
    24102410                __( 'Your comment on "%s" has been approved.' ),
    24112411                $post->post_title
     
    24132413
    24142414        $notify_message .= sprintf(
    2415                 /* translators: 1: comment permalink */
     2415                /* translators: %s: Comment permalink. */
    24162416                __( 'View comment: %s' ),
    24172417                get_comment_link( $comment )
Note: See TracChangeset for help on using the changeset viewer.