PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/regressiontests/i18n/commands/templates/test.html

https://code.google.com/p/mango-py/
HTML | 59 lines | 48 code | 11 blank | 0 comment | 0 complexity | d24bc14ef8d1282c8034a886c2f52d25 MD5 | raw file
 1{% load i18n %}
 2{% comment %}Translators: Django comment block for translators
 3string's meaning unveiled
 4{% endcomment %}
 5{% trans "This literal should be included." %}
 6{% trans "This literal should also be included wrapped or not wrapped depending on the use of the --no-wrap option." %}
 7
 8{# Translators: Django template comment for translators #}
 9<p>{% blocktrans %}I think that 100% is more that 50% of anything.{% endblocktrans %}</p>
10{% blocktrans with 'txt' as obj %}I think that 100% is more that 50% of {{ obj }}.{% endblocktrans %}
11
12{% comment %}Some random comment
13Some random comment
14Translators: One-line translator comment #1
15{% endcomment %}
16{% trans "Translatable literal #1a" %}
17
18{% comment %}Some random comment
19Some random comment
20Translators: Two-line translator comment #1
21continued here.
22{% endcomment %}
23{% trans "Translatable literal #1b" %}
24
25{% comment %}Some random comment
26Translators: One-line translator comment #2
27{% endcomment %}
28{% trans "Translatable literal #2a" %}
29
30{% comment %}Some random comment
31Translators: Two-line translator comment #2
32continued here.
33{% endcomment %}
34{% trans "Translatable literal #2b" %}
35
36{% comment %}
37    Translators: One-line translator comment #3
38{% endcomment %}
39{% trans "Translatable literal #3a" %}
40
41{% comment %}
42Translators: Two-line translator comment #3
43continued here.
44{% endcomment %}
45{% trans "Translatable literal #3b" %}
46
47{% comment %} Translators: One-line translator comment #4{% endcomment %}
48{% trans "Translatable literal #4a" %}
49
50{% comment %}  Translators: Two-line translator comment #4
51continued here.{% endcomment %}
52{% trans "Translatable literal #4b" %}
53
54{% comment %} Translators: One-line translator comment #5 -- with non ASCII characters: áéíóúö{% endcomment %}
55{% trans "Translatable literal #5a" %}
56
57{% comment %}  Translators: Two-line translator comment #5 -- with non ASCII characters: áéíóúö
58continued here.{% endcomment %}
59{% trans "Translatable literal #6b" %}