WordPress.org

Make WordPress Core

Changeset 9504


Ignore:
Timestamp:
11/03/08 23:35:34 (5 years ago)
Author:
ryan
Message:

Localization for wp-mail. Props filosofo. fixes #8051

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-mail.php

    r9503 r9504  
    186186    do_action('publish_phone', $post_ID); 
    187187 
    188     echo "\n<p><b>Author:</b> " . wp_specialchars($post_author) . "</p>"; 
    189     echo "\n<p><b>Posted title:</b> " . wp_specialchars($post_title) . "<br />"; 
     188    echo "\n<p>" . sprintf(__('<strong>Author:</strong> %s'), wp_specialchars($post_author)) . '</p>'; 
     189    echo "\n<p>" . sprintf(__('<strong>Posted title:</strong> %s'), wp_specialchars($post_title)) . '</p>'; 
    190190 
    191191    if(!$pop3->delete($i)) { 
    192         echo '<p>Oops '.wp_specialchars($pop3->ERROR).'</p></div>'; 
     192        echo '<p>' . sprintf(__('Oops: %s'), wp_specialchars($pop3->ERROR)) . '</p>'; 
    193193        $pop3->reset(); 
    194194        exit; 
    195195    } else { 
    196         echo "<p>Mission complete, message <strong>$i</strong> deleted.</p>"; 
     196        echo '<p>' . sprintf(__('Mission complete.  Message <strong>%s</strong> deleted.'), $i) . '</p>'; 
    197197    } 
    198198 
Note: See TracChangeset for help on using the changeset viewer.