| Issue 20: | Template Syntax Error: 'blocktrans' doesn't allow other block tags... | |
| 1 person starred this issue and may be notified of changes. | Back to list |
After install via svn i get the following template error:
'blocktrans' doesn't allow other block tags (seen u'plural') inside it
Sorry, iam new in django, don't know if its realy a bug.
line:
{% blocktrans with forum.threads as thread_count and forum.posts as
post_count %}{{ thread_count }} thread, {{ post_count }} posts{% plural
%}{{ thread_count }} threads, {{ post_count }} posts{% endblock %}
fix:
{% blocktrans with forum.threads as thread_count and forum.posts as
post_count %}{{ thread_count }} thread, {{ thread_count }} threads, {{
post_count }} posts{% endblocktrans %}
I removed "{{ post_count }} posts{% plural %}" and changed "endblock" in
"endblocktrans".
May 28, 2008
#1
s.ko...@dms-arts.com
May 28, 2008
Fixed, will be in SVN shortly. Thank you!
Status:
Fixed
|