aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/timer.py
diff options
context:
space:
mode:
authorIdan Gazit2009-08-26 01:58:35 +0300
committerIdan Gazit2009-08-26 01:58:35 +0300
commit16fe40b7e54ba31e845e6c73c68c0b15d782306a (patch)
tree6f0a9bca9c02189881f05d3b2bb05815e7991fc5 /debug_toolbar/panels/timer.py
parent0b2e7031d9d89571055df5bad3d6cf0586a9ef61 (diff)
parent2edab7a07cec1a89e976c02af2d5b8fb43b18bc2 (diff)
downloaddjango-debug-toolbar-16fe40b7e54ba31e845e6c73c68c0b15d782306a.tar.bz2
Merge commit 'upstream/ui-rf'
Conflicts: debug_toolbar/templates/debug_toolbar/panels/headers.html debug_toolbar/templates/debug_toolbar/panels/logger.html debug_toolbar/templates/debug_toolbar/panels/request_vars.html debug_toolbar/templates/debug_toolbar/panels/settings_vars.html debug_toolbar/templates/debug_toolbar/panels/signals.html debug_toolbar/templates/debug_toolbar/panels/sql.html debug_toolbar/templates/debug_toolbar/panels/template_source.html debug_toolbar/templates/debug_toolbar/panels/timer.html
Diffstat (limited to 'debug_toolbar/panels/timer.py')
-rw-r--r--debug_toolbar/panels/timer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug_toolbar/panels/timer.py b/debug_toolbar/panels/timer.py
index 4ff68db..4e390f6 100644
--- a/debug_toolbar/panels/timer.py
+++ b/debug_toolbar/panels/timer.py
@@ -4,9 +4,9 @@ except ImportError:
pass # Will fail on Win32 systems
import time
from django.template.loader import render_to_string
+from django.utils.translation import ugettext_lazy as _
from debug_toolbar.panels import DebugPanel
-
class TimerDebugPanel(DebugPanel):
"""
Panel that displays the time a response took in milliseconds.
@@ -32,7 +32,7 @@ class TimerDebugPanel(DebugPanel):
self._end_rusage = resource.getrusage(resource.RUSAGE_SELF)
def nav_title(self):
- return 'Time'
+ return _('Time')
def nav_subtitle(self):
if self.has_resource: