django1/tests/i18n/commands/templates/plural.djtpl

9 lines
361 B
Plaintext

{% load i18n %}
{% comment %}
This file has a literal with plural forms. When processed first, makemessages
shouldn't create a .po file with duplicate `Plural-Forms` headers
{% endcomment %}
{% blocktrans count number=3 %}{{ number }} Bar{% plural %}{{ number }} Bars{% endblocktrans %}
{% translate 'First `translate`, then `blocktranslate` with a plural' %}