Debian Codegraph @

testing/testapp/templates/i18n_test.html

raw symbols SCIP
1 {% blocktrans with bar=foo %}
2 Foo {{ bar }}
3 {% endblocktrans %}
4
5 {% trans v_index %}
6 {% trans 'Year' as t_year %}
7 <th>{{ table_sort('date_start', t_year) }}</th>
8
9 <p>{% blocktrans %}1 Hello {{ user }}!{% endblocktrans %}</p>
10
11 <p>{% blocktrans user=user.username %}2 Hello {{ user }}!{% endblocktrans %}</p>
12
13 <p>
14 {% blocktrans book_title=book.title, author=author.name %}
15 3 This is {{ book_title }} by {{ author }}
16 {% endblocktrans %}
17 </p>
18
19 <p>
20 {% blocktrans count=list|length %}
21 4 There is {{ count }} {{ name }} object.
22 {% plural %}
23 4 There are {{ count }} {{ name }} objects.
24 {% endblocktrans %}
25 </p>
26
27 <p>{% trans '5 Hello World!' %}</p>
28
29 {# couldnt get this one to work..#}
30 <p>{# _('6 Hello, %(user)s!6)|format(user=user.username) #}</p>
31
32 <p>
33 {% blocktrans %}
34 #{{ invoice_count }} invoice
35 {% plural %}
36 #{{ invoice_count }} invoices
37 {% endblocktrans %}
38 </p>
39
40 </p>
41 {% blocktrans trimmed %}
42 #{{ trimmed_invoice_count }} trimmed invoice
43 {% plural %}
44 #{{ trimmed_invoice_count }} trimmed invoices
45 {% endblocktrans %}
46 </p>