Make WordPress Core


Ignore:
Timestamp:
04/11/2010 10:41:54 AM (15 years ago)
Author:
dd32
Message:

Tweak new strings for better typography. Props demetris. Fixes #12962

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable.php

    r13878 r14070  
    10341034
    10351035    if ('comment' == $comment_type) {
    1036         $notify_message  = sprintf( __('New comment on your post "%s"'),$post->post_title ) . "\r\n";
     1036        $notify_message  = sprintf( __( 'New comment on your post “%s”' ), $post->post_title ) . "\r\n";
    10371037        /* translators: 1: comment author, 2: author IP, 3: author domain */
    10381038        $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
     
    10451045        $subject = sprintf( __('[%1$s] Comment: "%2$s"'), $blogname, $post->post_title );
    10461046    } elseif ('trackback' == $comment_type) {
    1047         $notify_message  = sprintf( __('New trackback on your post "%s"'), $post->post_title ) . "\r\n";
     1047        $notify_message  = sprintf( __( 'New trackback on your post ”%s”' ), $post->post_title ) . "\r\n";
    10481048        /* translators: 1: website name, 2: author IP, 3: author domain */
    10491049        $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
     
    10541054        $subject = sprintf( __('[%1$s] Trackback: "%2$s"'), $blogname, $post->post_title );
    10551055    } elseif ('pingback' == $comment_type) {
    1056         $notify_message  = sprintf( __('New pingback on your post "%s"'), $post->post_title ) . "\r\n";
     1056        $notify_message  = sprintf( __( 'New pingback on your post ”%s”' ), $post->post_title ) . "\r\n";
    10571057        /* translators: 1: comment author, 2: author IP, 3: author domain */
    10581058        $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
     
    11271127    {
    11281128        case 'trackback':
    1129             $notify_message  = sprintf( __('A new trackback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n";
     1129            $notify_message  = sprintf( __('A new trackback on the post ”%s” is waiting for your approval'), $post->post_title ) . "\r\n";
    11301130            $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n";
    11311131            $notify_message .= sprintf( __('Website : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
     
    11341134            break;
    11351135        case 'pingback':
    1136             $notify_message  = sprintf( __('A new pingback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n";
     1136            $notify_message  = sprintf( __('A new pingback on the post ”%s” is waiting for your approval'), $post->post_title ) . "\r\n";
    11371137            $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n";
    11381138            $notify_message .= sprintf( __('Website : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
     
    11411141            break;
    11421142        default: //Comments
    1143             $notify_message  = sprintf( __('A new comment on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n";
     1143            $notify_message  = sprintf( __('A new comment on the post ”%s” is waiting for your approval'), $post->post_title ) . "\r\n";
    11441144            $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n";
    11451145            $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
Note: See TracChangeset for help on using the changeset viewer.