tests/i18n/commands/templates/plural.djtpl
raw| 1 | {% load i18n %} |
| 2 | {% comment %} |
| 3 | This file has a literal with plural forms. When processed first, makemessages |
| 4 | shouldn't create a .po file with duplicate `Plural-Forms` headers |
| 5 | {% endcomment %} |
| 6 | {% blocktranslate count number=3 %}{{ number }} Bar{% plural %}{{ number }} Bars{% endblocktranslate %} |
| 7 | |
| 8 | {% translate 'First `translate`, then `blocktranslate` with a plural' %} |