2010-02-16 12:14:27 +00:00
|
|
|
{% load i18n %}
|
2011-03-19 12:56:38 +00:00
|
|
|
{% comment %}Translators: Django comment block for translators
|
|
|
|
string's meaning unveiled
|
|
|
|
{% endcomment %}
|
2010-11-04 12:08:37 +00:00
|
|
|
{% trans "This literal should be included." %}
|
2010-11-04 14:06:24 +00:00
|
|
|
{% trans "This literal should also be included wrapped or not wrapped depending on the use of the --no-wrap option." %}
|
2010-11-17 15:37:33 +00:00
|
|
|
|
|
|
|
{# Translators: Django template comment for translators #}
|
|
|
|
<p>{% blocktrans %}I think that 100% is more that 50% of anything.{% endblocktrans %}</p>
|
|
|
|
{% blocktrans with 'txt' as obj %}I think that 100% is more that 50% of {{ obj }}.{% endblocktrans %}
|
2011-03-19 12:56:38 +00:00
|
|
|
|
|
|
|
{% comment %}Some random comment
|
|
|
|
Some random comment
|
|
|
|
Translators: One-line translator comment #1
|
|
|
|
{% endcomment %}
|
|
|
|
{% trans "Translatable literal #1a" %}
|
|
|
|
|
|
|
|
{% comment %}Some random comment
|
|
|
|
Some random comment
|
|
|
|
Translators: Two-line translator comment #1
|
|
|
|
continued here.
|
|
|
|
{% endcomment %}
|
|
|
|
{% trans "Translatable literal #1b" %}
|
|
|
|
|
|
|
|
{% comment %}Some random comment
|
|
|
|
Translators: One-line translator comment #2
|
|
|
|
{% endcomment %}
|
|
|
|
{% trans "Translatable literal #2a" %}
|
|
|
|
|
|
|
|
{% comment %}Some random comment
|
|
|
|
Translators: Two-line translator comment #2
|
|
|
|
continued here.
|
|
|
|
{% endcomment %}
|
|
|
|
{% trans "Translatable literal #2b" %}
|
|
|
|
|
|
|
|
{% comment %}
|
|
|
|
Translators: One-line translator comment #3
|
|
|
|
{% endcomment %}
|
|
|
|
{% trans "Translatable literal #3a" %}
|
|
|
|
|
|
|
|
{% comment %}
|
|
|
|
Translators: Two-line translator comment #3
|
|
|
|
continued here.
|
|
|
|
{% endcomment %}
|
|
|
|
{% trans "Translatable literal #3b" %}
|
|
|
|
|
|
|
|
{% comment %} Translators: One-line translator comment #4{% endcomment %}
|
|
|
|
{% trans "Translatable literal #4a" %}
|
|
|
|
|
|
|
|
{% comment %} Translators: Two-line translator comment #4
|
|
|
|
continued here.{% endcomment %}
|
|
|
|
{% trans "Translatable literal #4b" %}
|
2011-04-18 20:00:10 +00:00
|
|
|
|
|
|
|
{% comment %} Translators: One-line translator comment #5 -- with non ASCII characters: áéíóúö{% endcomment %}
|
|
|
|
{% trans "Translatable literal #5a" %}
|
|
|
|
|
|
|
|
{% comment %} Translators: Two-line translator comment #5 -- with non ASCII characters: áéíóúö
|
|
|
|
continued here.{% endcomment %}
|
|
|
|
{% trans "Translatable literal #6b" %}
|
2011-10-19 04:59:47 +00:00
|
|
|
|
|
|
|
{% trans "Translatable literal #7a" context "Special trans context #1" %}
|
|
|
|
{% trans "Translatable literal #7b" as var context "Special trans context #2" %}
|
|
|
|
{% trans "Translatable literal #7c" context "Special trans context #3" as var %}
|
|
|
|
|
|
|
|
{% blocktrans context "Special blocktrans context #1" %}Translatable literal #8a{% endblocktrans %}
|
|
|
|
{% blocktrans count 2 context "Special blocktrans context #2" %}Translatable literal #8b-singular{% plural %}Translatable literal #8b-plural{% endblocktrans %}
|
|
|
|
{% blocktrans context "Special blocktrans context #3" count 2 %}Translatable literal #8c-singular{% plural %}Translatable literal #8c-plural{% endblocktrans %}
|
|
|
|
{% blocktrans with a=1 context "Special blocktrans context #4" %}Translatable literal #8d {{ a }}{% endblocktrans %}
|