Code

Opened 8 years ago

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

Download all attachments as: .zip

Change History (2)

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

comment:1 Changed 8 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.