enable translations for contact form

This commit is contained in:
Jan Dittberner 2015-02-01 20:58:53 +01:00
parent 8c30ec697d
commit 1bee80044c
3 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,9 @@
Changelog Changelog
========= =========
* :bug:`-` fix translation of contact form by using ugettext_lazy and adding
contact_form to INSTALLED_APPS
* :release:`0.11.0 <2015-02-01>` * :release:`0.11.0 <2015-02-01>`
* :feature:`-` add icons to top level navigation * :feature:`-` add icons to top level navigation
* :feature:`-` add contact form * :feature:`-` add contact form

View file

@ -10,7 +10,7 @@ from django.core.mail import send_mail
from django.core.urlresolvers import reverse from django.core.urlresolvers import reverse
from django.template import RequestContext from django.template import RequestContext
from django.template import loader from django.template import loader
from django.utils.translation import ugettext as _ from django.utils.translation import ugettext_lazy as _
from django.contrib.sites.models import RequestSite from django.contrib.sites.models import RequestSite
from django.contrib.sites.models import Site from django.contrib.sites.models import Site

View file

@ -270,6 +270,7 @@ LOCAL_APPS = (
'userdbs', 'userdbs',
'hostingpackages', 'hostingpackages',
'websites', 'websites',
'contact_form',
) )
# See: https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps # See: https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps