Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#10897 closed (fixed)

ngettext is used in confirmation of bulk-edits in admin

Reported by: Marek Stępniowski Owned by: nobody
Component: contrib.admin Version: 1.1-beta
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Confirmation of bulk-edits in admin is translated with ngettext(). This breaks badly with UnicodeDecodeError when language of the admin interface is other than English (I can confirm this issue with Polish at least). Attached patch fixes this problem.

Attachments (1)

admin-bulk-edits-ungettext.diff (1.2 KB ) - added by Marek Stępniowski 15 years ago.
Patch to replace call to ngettext() where ungettext() should be used

Download all attachments as: .zip

Change History (4)

by Marek Stępniowski, 15 years ago

Patch to replace call to ngettext() where ungettext() should be used

comment:1 by Alex Gaynor, 15 years ago

milestone: 1.1
Triage Stage: UnreviewedReady for checkin

comment:2 by Alex Gaynor, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in r10677

comment:3 by Jacob, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

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