Opened 6 years ago

Closed 5 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 6 years ago.

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by bezidejni

Attachment: blocktrans.diff added

comment:1 Changed 6 years ago by Jonas H.

Triage Stage: UnreviewedAccepted

comment:2 Changed 6 years ago by Jannis Leidel

Triage Stage: AcceptedReady for checkin

comment:3 Changed 6 years ago by Simon Meers

Resolution: fixed
Status: newclosed

In [16218]:

Fixed #16005 -- Error in blocktrans docs -- thanks bezidejni

comment:4 Changed 6 years ago by Simon Meers

In [16219]:

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

Backport of r16218 from trunk.

comment:5 Changed 5 years ago by hraban

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 Changed 5 years ago by Simon Meers

Resolution: fixed
Status: reopenedclosed

This has been fixed in #16072

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