Opened 18 years ago

Closed 16 years ago

#2839 closed defect (worksforme)

Filter translation ignores "By"

Reported by: patrick@… Owned by: nobody
Component: contrib.admin Version: dev
Severity: normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

in the admin-interface, the word "By" is not translated in the filters.

Change History (4)

comment:1 by Ramiro Morales, 18 years ago

Are you talking about just the German translation or are you saying the there are literals missing the necessary _() to appear as a translatable literals? (in the last case this affects all translations, but I can't find such unstranslated literals occurrence in the admin app, could you point to the exact page/place?).

Also, are you using a recent SVN checkout of the Django trunk or some specific revision?.

comment:2 by Adrian Holovaty, 18 years ago

patrickk leaves this comment:

in filterspecs, line 40

t.append(_('<h3>By %s:</h3>\n<ul>\n') % self.title())

in filter.html, line 2

<h3>{% blocktrans with title|escape as filter_title %} By
{{ filter_title }} {% endblocktrans %}</h3>

in django.po, line 354:

"<h3>By %s:</h3>\n
"<ul>\n"
msgstr ""
"<h3>Nach %s:</h3>\n"
"<ul>\n"

in my view, that somehow doesn´t fit together.
in filter.html, the translated title doesn´t include "<h3>" - the
translation-file looks for <h3> though.

i´m using the latest SVN.

comment:3 by Simon G. <dev@…>, 18 years ago

Triage Stage: UnreviewedAccepted

comment:4 by Ivan Giuliani, 16 years ago

Resolution: worksforme
Status: newclosed

I haven't been able to reproduce the problem. Since this a 2 years old bug probably has been fixed at some point in the past, so closing as worksforme.

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