Skip to content

Commit

Permalink
Fixed regression introduced by a962286, changed ugettext to ugettext_…
Browse files Browse the repository at this point in the history
…lazy.
  • Loading branch information
loic authored and timgraham committed Sep 7, 2013
1 parent 97a626d commit ec47de7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions django/contrib/admin/sites.py
Expand Up @@ -11,7 +11,7 @@
from django.template.response import TemplateResponse from django.template.response import TemplateResponse
from django.utils import six from django.utils import six
from django.utils.text import capfirst from django.utils.text import capfirst
from django.utils.translation import ugettext as _ from django.utils.translation import ugettext_lazy, ugettext as _
from django.views.decorators.cache import never_cache from django.views.decorators.cache import never_cache
from django.conf import settings from django.conf import settings


Expand All @@ -36,13 +36,13 @@ class AdminSite(object):
""" """


# Text to put at the end of each page's <title>. # Text to put at the end of each page's <title>.
site_title = _('Django site admin') site_title = ugettext_lazy('Django site admin')


# Text to put in each page's <h1>. # Text to put in each page's <h1>.
site_header = _('Django administration') site_header = ugettext_lazy('Django administration')


# Text to put at the top of the admin index page. # Text to put at the top of the admin index page.
index_title = _('Site administration') index_title = ugettext_lazy('Site administration')


login_form = None login_form = None
index_template = None index_template = None
Expand Down

0 comments on commit ec47de7

Please sign in to comment.