WordPress.org

Make WordPress Core

Changeset 14170


Ignore:
Timestamp:
04/20/2010 05:15:07 PM (8 years ago)
Author:
nbachiyski
Message:

Split the default password nag text to several translatable strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/user.php

    r14033 r14170  
    852852        return;
    853853
    854     echo '<div class="error default-password-nag"><p><strong>' . __('Notice:') . '</strong> ';
    855     printf(__("You're using the auto-generated password for your account. Would you like to change it to something you'll remember easier?<br/>
    856         <a href='%s'>Yes, take me to my profile page</a> | <a href='%s' id='default-password-nag-no'>No thanks, do not remind me again</a>"), admin_url('profile.php') . '#password', '?default_password_nag=0');
     854    echo '<div class="error default-password-nag">';
     855    echo '<p>';
     856    echo '<strong>' . __('Notice:') . '</strong> ';
     857    _e('You&rsquo;re using the auto-generated password for your account. Would you like to change it to something you&rsquo;ll remember easier?');
     858    echo '<br /><br />';
     859    printf( '<a href="%s">'.__('Yes, take me to my profile page').'</a> | ', admin_url('profile.php') . '#password' );
     860    printf( '<a href="%s" id="default-password-nag-no">'.__('No thanks, do not remind me again').'</a>', '?default_password_nag=0' );
    857861    echo '</p></div>';
    858862}
Note: See TracChangeset for help on using the changeset viewer.