Index: trunk/phase3/includes/specials/SpecialChangePassword.php |
— | — | @@ -207,7 +207,7 @@ |
208 | 208 | protected function attemptReset( $newpass, $retype ) { |
209 | 209 | $user = User::newFromName( $this->mUserName ); |
210 | 210 | if( !$user || $user->isAnon() ) { |
211 | | - throw new PasswordError( 'no such user' ); |
| 211 | + throw new PasswordError( wfMsg( 'nosuchusershort', $this->mUserName ) ); |
212 | 212 | } |
213 | 213 | |
214 | 214 | if( $newpass !== $retype ) { |