Opened 10 years ago

Closed 10 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: UI/UX:

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@…> 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by Gary Wilson <gary.wilson@…>

Attachment: i18n.txt.diff added

comment:1 Changed 10 years ago by Malcolm Tredinnick

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