Changeset 6188
- Timestamp:
- 10/04/2007 07:38:35 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/user.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/user.php
r6026 r6188 88 88 } else { 89 89 if ((empty ( $pass1 ) && !empty ( $pass2 ) ) || (empty ( $pass2 ) && !empty ( $pass1 ) ) ) 90 $errors->add( 'pass', __( "<strong>ERROR</strong>: you typed your new password only once."));90 $errors->add( 'pass', __( '<strong>ERROR</strong>: You entered your new password only once.' )); 91 91 } 92 92 … … 97 97 /* checking the password has been typed twice the same */ 98 98 if ( $pass1 != $pass2 ) 99 $errors->add( 'pass', __( '<strong>ERROR</strong>: Please typethe same password in the two password fields.' ));99 $errors->add( 'pass', __( '<strong>ERROR</strong>: Please enter the same password in the two password fields.' )); 100 100 101 101 if (!empty ( $pass1 )) … … 103 103 104 104 if ( !$update && !validate_username( $user->user_login ) ) 105 $errors->add( 'user_login', __( '<strong>ERROR</strong>: This username is invalid. Please enter a valid username.' ));105 $errors->add( 'user_login', __( '<strong>ERROR</strong>: This username is invalid. Please enter a valid username.' )); 106 106 107 107 if (!$update && username_exists( $user->user_login )) 108 $errors->add( 'user_login', __( '<strong>ERROR</strong>: This username is already registered , please choose another one.' ));108 $errors->add( 'user_login', __( '<strong>ERROR</strong>: This username is already registered. Please choose another one.' )); 109 109 110 110 /* checking e-mail address */ 111 111 if ( empty ( $user->user_email ) ) { 112 $errors->add( 'user_email', __( "<strong>ERROR</strong>: please type an e-mail address"));112 $errors->add( 'user_email', __( '<strong>ERROR</strong>: Please enter an e-mail address.' )); 113 113 } else 114 114 if (!is_email( $user->user_email ) ) { 115 $errors->add( 'user_email', __( "<strong>ERROR</strong>: the email address isn't correct" ));115 $errors->add( 'user_email', __( "<strong>ERROR</strong>: The e-mail address isn't correct." )); 116 116 } 117 117
Note: See TracChangeset
for help on using the changeset viewer.