1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #17375 -- Changed makemessages to use xgettext with --files-from

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.
This commit is contained in:
Sergey Kolosov
2015-08-25 02:28:23 +03:00
committed by Tim Graham
parent 7ac0cd445e
commit e75882332c
5 changed files with 226 additions and 104 deletions

View File

@@ -80,3 +80,9 @@ continued here.{% endcomment %}
should be trimmed.
{% endblocktrans %}
{% trans "I'm on line 82" %}
{% blocktrans trimmed count counter=mylist|length %}
First `trans`, then `blocktrans` with a plural
{% plural %}
Plural for a `trans` and `blocktrans` collision case
{% endblocktrans %}