﻿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
4539	translation.ugettext loses variable content from blocktrans	permonik@…	Tomáš Kopeček	"Look at the following template:

{{{
{% load i18n %}
{% for spell in spells %}
    {% blocktrans with spell.spell as spell and spell.wave as wave and spell.target as target and spell.caster as caster and spell.count as count%}
        '{{spell}}', '{{wave}}', '{{target}}', '{{caster}}', '{{count}}'
    {% endblocktrans %}
{% endfor %}
}}}

Imagine corresponding correct input list of dictionaries (spells). Output looks like this:

{{{'spell', '', '', 'caster', 'count'}}}

So, variables ''target'' and ''wave'' gets lost. This behaviour heavily depends on other variables, e.g. blocktrans with only ''wave'' and ''target'' works fine.

Behaviour could be seen in actual SVN version (rev. 5465). Simplest view and template are attached. Feel free to ask any questions, I'll be monitoring this ticket."		closed	Internationalization	dev		fixed	blocktrans sprintsept14	permonik@…	Ready for checkin	1	0	0	0	0	0
