From ebb05d65d4b9c615791ae674faee407cad1b213f Mon Sep 17 00:00:00 2001 From: Nikolay Bachiyski Date: Tue, 20 Apr 2010 17:15:07 +0000 Subject: [PATCH] Split the default password nag text to several translatable strings git-svn-id: https://develop.svn.wordpress.org/trunk@14170 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/user.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/user.php b/wp-admin/includes/user.php index e0033dc171..1ccf341af3 100644 --- a/wp-admin/includes/user.php +++ b/wp-admin/includes/user.php @@ -851,9 +851,13 @@ function default_password_nag() { if ( ! get_user_option('default_password_nag') ) //Short circuit it. return; - echo '

' . __('Notice:') . ' '; - printf(__("You're using the auto-generated password for your account. Would you like to change it to something you'll remember easier?
- Yes, take me to my profile page | No thanks, do not remind me again"), admin_url('profile.php') . '#password', '?default_password_nag=0'); + echo '

'; + echo '

'; + echo '' . __('Notice:') . ' '; + _e('You’re using the auto-generated password for your account. Would you like to change it to something you’ll remember easier?'); + echo '

'; + printf( ''.__('Yes, take me to my profile page').' | ', admin_url('profile.php') . '#password' ); + printf( ''.__('No thanks, do not remind me again').'', '?default_password_nag=0' ); echo '

'; }