Changeset 7694 breaks I18N translation
|Reported by:||Fraser Nevett||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
It looks like part of the change made in in  will inadvertently break I18N translation.
message = _("Your e-mail address is not your username." " Try '%s' instead." % user.username)
should probably be
message = _("Your e-mail address is not your username." " Try '%s' instead.") % user.username
so that the string substitution is done after the translated version of the text is loaded. Otherwise there would have to be a translated version of this string for every possible username.
Change History (5)
comment:1 Changed 8 years ago by
|milestone:||→ 1.0 alpha|
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|