Bugfix: reference to gettext in template causes 500 error.