Changeset 13432 for trunk/wp-includes/pluggable.php
- Timestamp:
- 02/26/2010 05:18:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r13385 r13432 984 984 985 985 if ('comment' == $comment_type) { 986 /* translators: 1: post id, 2: post title */ 987 $notify_message = sprintf( __('New comment on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 986 $notify_message = sprintf( __('New comment on your post "%s"'),$post->post_title ) . "\r\n"; 988 987 /* translators: 1: comment author, 2: author IP, 3: author domain */ 989 988 $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; … … 996 995 $subject = sprintf( __('[%1$s] Comment: "%2$s"'), $blogname, $post->post_title ); 997 996 } elseif ('trackback' == $comment_type) { 998 /* translators: 1: post id, 2: post title */ 999 $notify_message = sprintf( __('New trackback on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 997 $notify_message = sprintf( __('New trackback on your post "%s"'), $post->post_title ) . "\r\n"; 1000 998 /* translators: 1: website name, 2: author IP, 3: author domain */ 1001 999 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; … … 1006 1004 $subject = sprintf( __('[%1$s] Trackback: "%2$s"'), $blogname, $post->post_title ); 1007 1005 } elseif ('pingback' == $comment_type) { 1008 /* translators: 1: post id, 2: post title */ 1009 $notify_message = sprintf( __('New pingback on your post #%1$s "%2$s"'), $comment->comment_post_ID, $post->post_title ) . "\r\n"; 1006 $notify_message = sprintf( __('New pingback on your post "%s"'), $post->post_title ) . "\r\n"; 1010 1007 /* translators: 1: comment author, 2: author IP, 3: author domain */ 1011 1008 $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; … … 1080 1077 { 1081 1078 case 'trackback': 1082 $notify_message = sprintf( __('A new trackback on the post #%1$s "%2$s" is waiting for your approval'), $post->ID, $post->post_title ) . "\r\n";1079 $notify_message = sprintf( __('A new trackback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 1083 1080 $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 1084 1081 $notify_message .= sprintf( __('Website : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; … … 1087 1084 break; 1088 1085 case 'pingback': 1089 $notify_message = sprintf( __('A new pingback on the post #%1$s "%2$s" is waiting for your approval'), $post->ID, $post->post_title ) . "\r\n";1086 $notify_message = sprintf( __('A new pingback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 1090 1087 $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 1091 1088 $notify_message .= sprintf( __('Website : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; … … 1094 1091 break; 1095 1092 default: //Comments 1096 $notify_message = sprintf( __('A new comment on the post #%1$s "%2$s" is waiting for your approval'), $post->ID, $post->post_title ) . "\r\n";1093 $notify_message = sprintf( __('A new comment on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 1097 1094 $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 1098 1095 $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.