#9506 closed (fixed)
Missing i18n string in django.contrib.admin.options
Reported by: | Petar Marić | Owned by: | Karen Tracey |
---|---|---|---|
Component: | Internationalization | Version: | dev |
Severity: | Keywords: | i18n | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Source line 559:
raise Http404('%s object with primary key %r does not exist.' % (force_unicode(opts.verbose_name), escape(object_id)))
Expected:
raise Http404(_('%s object with primary key %r does not exist.') % (force_unicode(opts.verbose_name), escape(object_id)))
Attachments (1)
Change History (9)
by , 16 years ago
Attachment: | 9506_1.0.1.diff added |
---|
comment:1 by , 16 years ago
Component: | Translations → Internationalization |
---|---|
Triage Stage: | Unreviewed → Accepted |
Patch attached, please commit ASAP to have translations in time for 1.0.1 if possible ;)
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 16 years ago
comment:4 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
The convention used in this patch prevents locale catalog updating:
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:559: 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.
comment:6 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:7 by , 16 years ago
comment:8 by , 16 years ago
Note:
See TracTickets
for help on using tickets.
Patch