From a8f935789b8f608c697a4eb55c887de48bdc0186 Mon Sep 17 00:00:00 2001 From: nbachiyski Date: Tue, 20 Apr 2010 17:15:07 +0000 Subject: [PATCH] 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 --- 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 '

'; }