| Issue 21: | Invalid block tag: 'blocktrans' with notify.txt | |
| 1 person starred this issue and may be notified of changes. | Back to list |
When using the template i get the error:
Invalid block tag: 'blocktrans' with notify.txt
two fixes:
1: missing "{% load i18n %}" at the top of notify.txt
2: missing "with"
old:
{% blocktrans site.name as site_name and site.domain as domain and
thread.get_absolute_url as url %}You received this message because you
subscribed to a forum thread at {{ site_name }}. Login at this URL to
update your subscriptions: http://{{ domain }}{{ url }}{% endblocktrans %}
new:
{% blocktrans with site.name as site_name and site.domain as domain and
thread.get_absolute_url as url %}You received this message because you
subscribed to a forum thread at {{ site_name }}. Login at this URL to
update your subscriptions: http://{{ domain }}{{ url }}{% endblocktrans %}
May 28, 2008
Project Member
#1
rwpoul...@gmail.com
Status:
Fixed
|