Make WordPress Core

Ticket #31999: 31999.patch

File 31999.patch, 2.8 KB (added by pavelevap, 11 years ago)
  • src/wp-includes/pluggable.php

     
    14241424        switch ( $comment->comment_type ) {
    14251425                case 'trackback':
    14261426                        $notify_message  = sprintf( __( 'New trackback on your post "%s"' ), $post->post_title ) . "\r\n";
    1427                         /* translators: 1: website name, 2: author IP, 3: author domain */
     1427                        /* translators: 1: website name, 2: website IP, 3: website hostname */
    14281428                        $notify_message .= sprintf( __('Website: %1$s (IP: %2$s, %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
    14291429                        $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n";
    14301430                        $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment->comment_content ) . "\r\n\r\n";
     
    14341434                        break;
    14351435                case 'pingback':
    14361436                        $notify_message  = sprintf( __( 'New pingback on your post "%s"' ), $post->post_title ) . "\r\n";
    1437                         /* translators: 1: comment author, 2: author IP, 3: author domain */
     1437      /* translators: 1: website name, 2: website IP, 3: website hostname */
    14381438                        $notify_message .= sprintf( __('Website: %1$s (IP: %2$s, %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
    14391439                        $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n";
    14401440                        $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment->comment_content ) . "\r\n\r\n";
     
    15601560                case 'trackback':
    15611561                        $notify_message  = sprintf( __('A new trackback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n";
    15621562                        $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n";
     1563      /* translators: 1: website name, 2: website IP, 3: website hostname */
    15631564                        $notify_message .= sprintf( __( 'Website: %1$s (IP: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
    15641565                        $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n";
    15651566                        $notify_message .= __('Trackback excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n";
     
    15671568                case 'pingback':
    15681569                        $notify_message  = sprintf( __('A new pingback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n";
    15691570                        $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n";
     1571      /* translators: 1: website name, 2: website IP, 3: website hostname */
    15701572                        $notify_message .= sprintf( __( 'Website: %1$s (IP: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
    15711573                        $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n";
    15721574                        $notify_message .= __('Pingback excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n";