Opened 10 years ago

Closed 9 years ago

#3088 closed defect (fixed)

Filter parameters are not translated in blocktrans

Reported by: diaeresis+bugs@… Owned by: Tomáš Kopeček
Component: Internationalization Version:
Severity: normal Keywords: sprintsept14
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Consider a template with:

{% blocktrans with day|date:_("F j") as date%}Something on {{ date }}{% endblocktrans %}

"F j" is not available in the resulting .po file when running

I found that the problem comes from the templatize function in utils/translations/ but was not able to fix it as I am not good at playing with Lexer/Parser.

Attachments (1)

patch.diff (705 bytes) - added by Tomáš Kopeček 9 years ago.
fixed bug

Download all attachments as: .zip

Change History (8)

comment:1 Changed 10 years ago by Loïc d'Anterroches <diaeresis+bugs@…>

Component: TranslationsInternationalization

Changed to the Internationalization component, as it is not a translation problem.

comment:2 Changed 10 years ago by Simon G. <dev@…>

Triage Stage: UnreviewedAccepted

comment:3 Changed 9 years ago by Tomáš Kopeček

Owner: changed from nobody to Tomáš Kopeček
Status: newassigned

Changed 9 years ago by Tomáš Kopeček

Attachment: patch.diff added

fixed bug

comment:4 Changed 9 years ago by Tomáš Kopeček

Has patch: set

comment:5 Changed 9 years ago by Tomáš Kopeček

Keywords: sprintsept14 added

comment:6 Changed 9 years ago by Tomáš Kopeček

Triage Stage: AcceptedReady for checkin

comment:7 Changed 9 years ago by Adrian Holovaty

Resolution: fixed
Status: assignedclosed

(In [6263]) Fixed #3088 -- Filter parameters are now translated in blocktrans. Thanks, permon

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