mirror of
https://github.com/Hopiu/django.git
synced 2026-05-12 01:23:09 +00:00
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.
8 lines
349 B
Text
8 lines
349 B
Text
{% 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' %}
|