From 6f0b606518c3fcde91e15b0129efc71ddd136a0a Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 3 Nov 2008 23:35:34 +0000 Subject: [PATCH] Localization for wp-mail. Props filosofo. fixes #8051 git-svn-id: https://develop.svn.wordpress.org/trunk@9504 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 +?>