Opened 8 years ago

Closed 8 years ago

Last modified 5 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: UI/UX:

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 8 years ago.
Patch to replace call to ngettext() where ungettext() should be used

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Marek Stępniowski

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

comment:1 Changed 8 years ago by Alex Gaynor

milestone: 1.1
Triage Stage: UnreviewedReady for checkin

comment:2 Changed 8 years ago by Alex Gaynor

Resolution: fixed
Status: newclosed

Fixed in r10677

comment:3 Changed 5 years ago by Jacob

milestone: 1.1

Milestone 1.1 deleted

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