Opened 18 years ago

Closed 18 years ago

#2347 closed defect (fixed)

[patch] document the use of multiple template expressions for the {% blocktrans %} tag

Reported by: Gary Wilson <gary.wilson@…> Owned by: Jacob
Component: Documentation Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

To translate multiple template expressions, separate them with the word and:

{% blocktrans with book_name|title as book and author_name|title as author %}
This is {{ book }} by {{ author }}.
{% endblocktrans %}

Attachments (1)

i18n.txt.diff (652 bytes ) - added by Gary Wilson <gary.wilson@…> 18 years ago.

Download all attachments as: .zip

Change History (2)

by Gary Wilson <gary.wilson@…>, 18 years ago

Attachment: i18n.txt.diff added

comment:1 by Malcolm Tredinnick, 18 years ago

Resolution: fixed
Status: newclosed

(In [3345]) Fixed #2347 -- documented the use of "and" in the blocktrans template tag.

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