Opened 13 years ago

Closed 13 years ago

#16005 closed Bug (fixed)

Missing and operator in blocktrans documentation

Reported by: bezidejni Owned by: bezidejni
Component: Documentation Version: 1.3
Severity: Normal Keywords: blocktrans
Cc: hraban Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The documentation says:

If you need to bind more than one expression inside a blocktrans tag, separate the pieces with and:

{% blocktrans with book_t=book|title author_t=author|title %}
This is {{ book_t }} by {{ author_t }}
{% endblocktrans %}

But as you can see, the and operator is missing between two expressions.

Attachments (1)

blocktrans.diff (588 bytes ) - added by bezidejni 13 years ago.

Download all attachments as: .zip

Change History (7)

by bezidejni, 13 years ago

Attachment: blocktrans.diff added

comment:1 by Jonas H., 13 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Jannis Leidel, 13 years ago

Triage Stage: AcceptedReady for checkin

comment:3 by Simon Meers, 13 years ago

Resolution: fixed
Status: newclosed

In [16218]:

(The changeset message doesn't reference this ticket)

comment:4 by Simon Meers, 13 years ago

In [16219]:

[1.3.X] Fixed #16005 -- Error in blocktrans docs -- thanks bezidejni

Backport of r16218 from trunk.

comment:5 by hraban, 13 years ago

Cc: hraban added
Has patch: unset
Resolution: fixed
Status: closedreopened
UI/UX: unset

the currently distributed version of Django 1.3 doesn’t understand "and" in blocktrans any more, so the documentation has to be reverted to the previous state

comment:6 by Simon Meers, 13 years ago

Resolution: fixed
Status: reopenedclosed

This has been fixed in #16072

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