Make WordPress Core

Changeset 1420 for trunk/wp-login.php


Ignore:
Timestamp:
06/13/2004 04:14:58 PM (22 years ago)
Author:
rboren
Message:

Mark some strings for translation and improve string consistency. From Albert. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000024

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r1369 r1420  
    183183<input type="hidden" name="action" value="retrievepassword" />
    184184<label><?php _e('Login:') ?> <input type="text" name="user_login" id="user_login" value="" size="12" /></label><br />
    185 <label><?php _e('Email:') ?> <input type="text" name="email" id="email" value="" size="12" /></label><br />
     185<label><?php _e('E-mail:') ?> <input type="text" name="email" id="email" value="" size="12" /></label><br />
    186186<input type="submit" name="Submit2" value="OK" class="search">
    187187
     
    204204        $user_email = $user_data->user_email;
    205205
    206         if (!$user_email || $user_email != $_POST['email']) die(sprintf(__('Sorry, that user does not seem to exist in our database. Perhaps you have the wrong username or email address? <a href="%s">Try again</a>.'), 'wp-login.php?action=lostpassword'));
     206        if (!$user_email || $user_email != $_POST['email']) die(sprintf(__('Sorry, that user does not seem to exist in our database. Perhaps you have the wrong username or e-mail address? <a href="%s">Try again</a>.'), 'wp-login.php?action=lostpassword'));
    207207        // Generate something random for a password... md5'ing current time with a rand salt
    208208    $user_pass = substr((MD5("time" . rand(1,16000))), 0, 6);
     
    216216
    217217        if ($m == false) {
    218                 echo "<p>The email could not be sent.<br />\n";
    219                 echo "Possible reason: your host may have disabled the mail() function...</p>";
     218                echo "<p><?php _e('The e-mail could not be sent.') ?><br />\n";
     219                echo "<?php _e('Possible reason: your host may have disabled the mail() function...') ?></p>";
    220220                die();
    221221        } else {
    222                 echo "<p>The email was sent successfully to $user_login's email address.<br />
    223                 <a href='wp-login.php' title='Check your email first, of course'>Click here to login!</a></p>";
     222                echo "<p><?php _e('The e-mail was sent successfully to $user_login's e-mail address.') ?><br />
     223                <?php _e('<a href='wp-login.php' title=\'Check your e-mail first, of course\'>Click here to login!</a>
     224') ?></p>";
    224225                // send a copy of password change notification to the admin
    225226                mail(get_settings('admin_email'), '[' . get_settings('blogname') . "] Password Lost/Change", "Password Lost and Changed for user: $user_login");
Note: See TracChangeset for help on using the changeset viewer.