mirror of
https://github.com/django/django.git
synced 2024-12-24 01:55:49 +00:00
e75882332c
Changed the way makemessages invokes xgettext from one call per translatable file to one call per locale directory (using --files-from). This allows to avoid https://savannah.gnu.org/bugs/index.php?35027 and, as a positive side effect, speeds up localization build.
9 lines
349 B
Plaintext
9 lines
349 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 %}
|
|
|
|
{% trans 'First `trans`, then `blocktrans` with a plural' %}
|