Split the default password nag text to several translatable strings
git-svn-id: http://svn.automattic.com/wordpress/trunk@14170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9aff4a6206
commit
a8f935789b
|
@ -851,9 +851,13 @@ function default_password_nag() {
|
||||||
if ( ! get_user_option('default_password_nag') ) //Short circuit it.
|
if ( ! get_user_option('default_password_nag') ) //Short circuit it.
|
||||||
return;
|
return;
|
||||||
|
|
||||||
echo '<div class="error default-password-nag"><p><strong>' . __('Notice:') . '</strong> ';
|
echo '<div class="error default-password-nag">';
|
||||||
printf(__("You're using the auto-generated password for your account. Would you like to change it to something you'll remember easier?<br/>
|
echo '<p>';
|
||||||
<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');
|
echo '<strong>' . __('Notice:') . '</strong> ';
|
||||||
|
_e('You’re using the auto-generated password for your account. Would you like to change it to something you’ll remember easier?');
|
||||||
|
echo '<br /><br />';
|
||||||
|
printf( '<a href="%s">'.__('Yes, take me to my profile page').'</a> | ', admin_url('profile.php') . '#password' );
|
||||||
|
printf( '<a href="%s" id="default-password-nag-no">'.__('No thanks, do not remind me again').'</a>', '?default_password_nag=0' );
|
||||||
echo '</p></div>';
|
echo '</p></div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue