﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
17375	'makemessages' ignores plural from 'blocktrans'	ahagenbruch	Sergey Kolosov	"I have two files with equal strings to translate, in the first file
with `trans` and in the second file with `blocktrans` and a plural form:

{{{
a.html:
{% trans 'My string' %}
}}}

{{{
b.html:
{% blocktrans count counter=mylist|length %}My string{% plural %}My strings{% endblocktrans %}
}}}

and when I run `django-admin.py makemessages -l de` I get

{{{
django.po
#: templates/a.html:108
#: templates/b.html:3
msgid ""My string""
msgstr """"
}}}

and not as you'd expect

{{{
django.po
#: templates/a.html:108
#: templates/b.html:3
msgid ""My string""
msgid_plural ""My strings""
msgstr[0] """"
msgstr[1] """"
}}}

I can reproduce this for similar structures in other files.
`blocktrans` strings that don't have `trans` equivalents in other
files correctly produce entries with plural forms in the .po file.
"	Bug	closed	Internationalization	dev	Normal	fixed		Maciej Wiśniowski m17.admin@…	Ready for checkin	1	0	0	0	0	0
