Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#7502 closed (fixed)

Changeset 7694 breaks I18N translation

Reported by: Fraser Nevett Owned by: nobody
Component: contrib.admin Version: newforms-admin
Severity: Keywords: nfa
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

It looks like part of the change made in in [7694] will inadvertently break I18N translation.

I think

	                        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.

Attachments (1)

7502.diff (707 bytes ) - added by arien 16 years ago.
patch as per description

Download all attachments as: .zip

Change History (5)

comment:1 by Marc Fargas, 16 years ago

Keywords: nfa added
milestone: 1.0 alpha
Triage Stage: UnreviewedAccepted

by arien, 16 years ago

Attachment: 7502.diff added

patch as per description

comment:2 by arien, 16 years ago

Has patch: set
Version: SVNnewforms-admin

comment:3 by Brian Rosner, 16 years ago

Resolution: fixed
Status: newclosed

(In [7711]) newforms-admin: Fixed #7502 -- Fixed an i18n breakge introduced in [7694]. Thanks frasern.

comment:4 by Jacob, 13 years ago

milestone: 1.0 alpha

Milestone 1.0 alpha deleted

Note: See TracTickets for help on using tickets.
Back to Top