diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-06-08 05:04:10 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-06-08 05:04:10 +0000 |
| commit | 29f55c8dbb298bcaa5af0b3949cd1a1c39620b8d (patch) | |
| tree | 1b010d3df8395a0600ed1fdc158bbd42e4fcc53d /django/contrib/auth/views.py | |
| parent | 2abfd5dd586c4f6fb619de561b2194687021e256 (diff) | |
Fixed #2106 -- Made collapse-block JavaScript translatable. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/contrib/auth/views.py')
| -rw-r--r-- | django/contrib/auth/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/views.py b/django/contrib/auth/views.py index f917bab952..6d908ee025 100644 --- a/django/contrib/auth/views.py +++ b/django/contrib/auth/views.py @@ -36,7 +36,7 @@ def logout(request, next_page=None, template_name='registration/logged_out.html' try: del request.session[SESSION_KEY] except KeyError: - return render_to_response(template_name, {'title': 'Logged out'}, context_instance=RequestContext(request)) + return render_to_response(template_name, {'title': _('Logged out')}, context_instance=RequestContext(request)) else: # Redirect to this page until the session has been cleared. return HttpResponseRedirect(next_page or request.path) |
