Changeset 11506 for trunk/wp-includes/pluggable.php
- Timestamp:
- 06/02/2009 07:21:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r11489 r11506 965 965 966 966 if ('comment' == $comment_type) { 967 /* translators: 1: post id, 2: post title */ 967 968 $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 */ 968 970 $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 969 971 $notify_message .= sprintf( __('E-mail : %s'), $comment->comment_author_email ) . "\r\n"; … … 972 974 $notify_message .= __('Comment: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 973 975 $notify_message .= __('You can see all comments on this post here: ') . "\r\n"; 976 /* translators: 1: blog name, 2: post title */ 974 977 $subject = sprintf( __('[%1$s] Comment: "%2$s"'), $blogname, $post->post_title ); 975 978 } elseif ('trackback' == $comment_type) { 979 /* translators: 1: post id, 2: post title */ 976 980 $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 */ 977 982 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 978 983 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 979 984 $notify_message .= __('Excerpt: ') . "\r\n" . $comment->comment_content . "\r\n\r\n"; 980 985 $notify_message .= __('You can see all trackbacks on this post here: ') . "\r\n"; 986 /* translators: 1: blog name, 2: post title */ 981 987 $subject = sprintf( __('[%1$s] Trackback: "%2$s"'), $blogname, $post->post_title ); 982 988 } elseif ('pingback' == $comment_type) { 989 /* translators: 1: post id, 2: post title */ 983 990 $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 */ 984 992 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 985 993 $notify_message .= sprintf( __('URL : %s'), $comment->comment_author_url ) . "\r\n"; 986 994 $notify_message .= __('Excerpt: ') . "\r\n" . sprintf('[...] %s [...]', $comment->comment_content ) . "\r\n\r\n"; 987 995 $notify_message .= __('You can see all pingbacks on this post here: ') . "\r\n"; 996 /* translators: 1: blog name, 2: post title */ 988 997 $subject = sprintf( __('[%1$s] Pingback: "%2$s"'), $blogname, $post->post_title ); 989 998 }
Note: See TracChangeset
for help on using the changeset viewer.