Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#10600 closed (fixed)

Broken msgid in r.10140 translations

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

Description

I tried to update messages catalog for pl and got:

jarek:~/install/django/django$ LANG=C django-admin.py makemessages -l pl
processing language pl
Error: errors happened while running xgettext on options.py
./contrib/admin/options.py:498: 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 Jarek Zgoda 16 years ago.
patch for contrib/admin/options.py with fixed msgid

Download all attachments as: .zip

Change History (4)

by Jarek Zgoda, 16 years ago

Attachment: admin-options-trans.diff added

patch for contrib/admin/options.py with fixed msgid

comment:1 by Jarek Zgoda, 16 years ago

Has patch: set

comment:2 by Malcolm Tredinnick, 16 years ago

Resolution: fixed
Status: newclosed

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

comment:3 by Malcolm Tredinnick, 16 years ago

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