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: | 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)
Change History (2)
by , 18 years ago
Attachment: | i18n.txt.diff added |
---|
comment:1 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [3345]) Fixed #2347 -- documented the use of "and" in the blocktrans template tag.