[wp-cvs] wordpress wp-login.php,1.25,1.26

Ryan Boren rboren at users.sourceforge.net
Mon Jun 14 23:44:03 UTC 2004


Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26437

Modified Files:
	wp-login.php 
Log Message:
String translation fixups.

Index: wp-login.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-login.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** wp-login.php	13 Jun 2004 16:14:57 -0000	1.25
--- wp-login.php	14 Jun 2004 23:44:00 -0000	1.26
***************
*** 216,228 ****
  
  	if ($m == false) {
! 		echo "<p><?php _e('The e-mail could not be sent.') ?><br />\n";
! 		echo "<?php _e('Possible reason: your host may have disabled the mail() function...') ?></p>";
  		die();
  	} else {
! 		echo "<p><?php _e('The e-mail was sent successfully to $user_login's e-mail address.') ?><br />
! 		<?php _e('<a href='wp-login.php' title=\'Check your e-mail first, of course\'>Click here to login!</a>
! ') ?></p>";
  		// send a copy of password change notification to the admin
! 		mail(get_settings('admin_email'), '[' . get_settings('blogname') . "] Password Lost/Change", "Password Lost and Changed for user: $user_login");
  		die();
  	}
--- 216,227 ----
  
  	if ($m == false) {
! 		 echo '<p>' . __('The e-mail could not be sent.') . "<br />\n";
!          echo  __('Possible reason: your host may have disabled the mail() function...') . "</p>";
  		die();
  	} else {
! 		echo '<p>' .  sprintf(__("The e-mail was sent successfully to %s's e-mail address."), $user_login) . '<br />';
!         echo  "<a href='wp-login.php' title='" . __('Check your e-mail first, of course') . "'>" . __('Click here to login!') . '</a></p>';
  		// send a copy of password change notification to the admin
! 		mail(get_settings('admin_email'), sprintf(__('[%s] Password Lost/Change'), get_settings('blogname')), sprintf(__('Password Lost and Changed for user: %s'), $user_login));
  		die();
  	}




More information about the cvs mailing list