The trailing space should be removed from the translated string, either by using %s for the error message or appending the space outside the _() function.