diff options
Diffstat (limited to 'tests/i18n/commands/templates/test.html')
-rw-r--r-- | tests/i18n/commands/templates/test.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/i18n/commands/templates/test.html b/tests/i18n/commands/templates/test.html index e7f7ba93eb..b4b896fcef 100644 --- a/tests/i18n/commands/templates/test.html +++ b/tests/i18n/commands/templates/test.html @@ -70,6 +70,9 @@ continued here.{% endcomment %} {% trans "Translatable literal #7.1g"|add:2 context "context #7.1g" as var %} {% trans "Translatable literal #7.1h" | add:"foo" | add:2 context "context #7.1h" as var %} +<!-- Source file inside a msgid, should be left as-is. --> +{% trans "#: templates/test.html.py" %} + {% 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 %} |