Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#10600 closed (fixed)

Broken msgid in r.10140 translations

Reported by: zgoda Owned by: nobody
Component: Translations Version: master
Severity: Keywords: xgettext makemessages
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


I tried to update messages catalog for pl and got:

jarek:~/install/django/django$ LANG=C makemessages -l pl
processing language pl
Error: errors happened while running xgettext on
./contrib/admin/ warning: 'msgid' format string with unnamed arguments cannot be properly localized:
                                         The translator cannot reorder the arguments.
                                         Please consider using a format string with named arguments,
                                         and a mapping instead of a tuple for the arguments.

This error prevents updating django.po for Polish language (and I suppose for others too).

Attachments (1)

admin-options-trans.diff (862 bytes) - added by zgoda 7 years ago.
patch for contrib/admin/ with fixed msgid

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by zgoda

patch for contrib/admin/ with fixed msgid

comment:1 Changed 7 years ago by zgoda

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 7 years ago by mtredinnick

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

(In [10141]) Fixed #10600 -- Allow for format marker reordering in a translatable string.

comment:3 Changed 7 years ago by mtredinnick

Sorry, Jarek. I didn't see you'd attached a patch before I fixed it. My bad. :-(

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