From 0f33f00e430a2a8a431491dd6f4042d1db276153 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 3 Nov 2008 23:35:34 +0000 Subject: [PATCH] Localization for wp-mail. Props filosofo. fixes #8051 git-svn-id: http://svn.automattic.com/wordpress/trunk@9504 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-mail.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-mail.php b/wp-mail.php index 027c32253b..492da84801 100644 --- a/wp-mail.php +++ b/wp-mail.php @@ -185,19 +185,19 @@ for ($i=1; $i <= $count; $i++) : do_action('publish_phone', $post_ID); - echo "\n

Author: " . wp_specialchars($post_author) . "

"; - echo "\n

Posted title: " . wp_specialchars($post_title) . "
"; + echo "\n

" . sprintf(__('Author: %s'), wp_specialchars($post_author)) . '

'; + echo "\n

" . sprintf(__('Posted title: %s'), wp_specialchars($post_title)) . '

'; if(!$pop3->delete($i)) { - echo '

Oops '.wp_specialchars($pop3->ERROR).'

'; + echo '

' . sprintf(__('Oops: %s'), wp_specialchars($pop3->ERROR)) . '

'; $pop3->reset(); exit; } else { - echo "

Mission complete, message $i deleted.

"; + echo '

' . sprintf(__('Mission complete. Message %s deleted.'), $i) . '

'; } endfor; $pop3->quit(); -?> \ No newline at end of file +?>