Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10897 closed (fixed)

ngettext is used in confirmation of bulk-edits in admin

Reported by: zuber 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 zuber 6 years ago.
Patch to replace call to ngettext() where ungettext() should be used

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by zuber

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

comment:1 Changed 6 years ago by Alex

  • milestone set to 1.1
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 6 years ago by Alex

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r10677

comment:3 Changed 4 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

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