Wrong JText causes double string use 2.5

When registering a new user in FE and username contains a space we get a double display of the "Registration failed:" string in the warning:
Registration failed: Registration failed: Please enter a valid username. No spaces, at least 2 characters and must not contain the following characters: < > \ " ' % ; ( ) &