Make WordPress Core


Ignore:
Timestamp:
06/02/2009 07:21:42 AM (16 years ago)
Author:
azaozz
Message:

Add more translator comments for placeholders, props nbachiyski, fixes #10002

File:
1 edited

Legend:

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

    r11489 r11506  
    965965
    966966    if ('comment' == $comment_type) {
     967        /* translators: 1: post id, 2: post title */
    967968        $notify_message  = sprintf( __('New comment on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n";
     969        /* translators: 1: comment author, 2: author IP, 3: author domain */
    968970        $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
    969971        $notify_message .= sprintf( __('E-mail : %s'), $comment->comment_author_email ) . "\r\n";
     
    972974        $notify_message .= __('Comment: ') . "\r\n" . $comment->comment_content . "\r\n\r\n";
    973975        $notify_message .= __('You can see all comments on this post here: ') . "\r\n";
     976        /* translators: 1: blog name, 2: post title */
    974977        $subject = sprintf( __('[%1$s] Comment: "%2$s"'), $blogname, $post->post_title );
    975978    } elseif ('trackback' == $comment_type) {
     979        /* translators: 1: post id, 2: post title */
    976980        $notify_message  = sprintf( __('New trackback on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n";
     981        /* translators: 1: website name, 2: author IP, 3: author domain */
    977982        $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
    978983        $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n";
    979984        $notify_message .= __('Excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n";
    980985        $notify_message .= __('You can see all trackbacks on this post here: ') . "\r\n";
     986        /* translators: 1: blog name, 2: post title */     
    981987        $subject = sprintf( __('[%1$s] Trackback: "%2$s"'), $blogname, $post->post_title );
    982988    } elseif ('pingback' == $comment_type) {
     989        /* translators: 1: post id, 2: post title */
    983990        $notify_message  = sprintf( __('New pingback on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n";
     991        /* translators: 1: comment author, 2: author IP, 3: author domain */
    984992        $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n";
    985993        $notify_message .= sprintf( __('URL    : %s'), $comment->comment_author_url ) . "\r\n";
    986994        $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[...] %s [...]', $comment->comment_content ) . "\r\n\r\n";
    987995        $notify_message .= __('You can see all pingbacks on this post here: ') . "\r\n";
     996        /* translators: 1: blog name, 2: post title */
    988997        $subject = sprintf( __('[%1$s] Pingback: "%2$s"'), $blogname, $post->post_title );
    989998    }
Note: See TracChangeset for help on using the changeset viewer.