aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar
diff options
context:
space:
mode:
authorPercy Perez-Pinedo2009-01-04 16:32:52 -0800
committerPercy Perez-Pinedo2009-01-04 16:32:52 -0800
commit2339b5e95a2ecf0cc64ccef8d50e669f5caff69a (patch)
treeb3936eac6e4a852aedbacc53880f5e8877c654dc /debug_toolbar
parent88fbcdcaaf9d8cced4d321ffed395b7937b9aa2a (diff)
downloaddjango-debug-toolbar-2339b5e95a2ecf0cc64ccef8d50e669f5caff69a.tar.bz2
added "trans" to base and redirect templates
Diffstat (limited to 'debug_toolbar')
-rw-r--r--debug_toolbar/templates/debug_toolbar/base.html3
-rw-r--r--debug_toolbar/templates/debug_toolbar/redirect.html6
2 files changed, 4 insertions, 5 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html
index a6c8aef..fca6256 100644
--- a/debug_toolbar/templates/debug_toolbar/base.html
+++ b/debug_toolbar/templates/debug_toolbar/base.html
@@ -1,3 +1,4 @@
+{% load i18n %}
<script type="text/javascript" charset="utf-8">
if (typeof jQuery == 'undefined') {
var jquery_url = '{{ BASE_URL }}/__debug__/m/jquery.js';
@@ -26,7 +27,7 @@
{% for panel in panels %}
{% if panel.has_content %}
<div id="{{ panel.dom_id }}" class="panelContent">
- <a href="" class="close">Close</a>
+ <a href="" class="close">{% trans "Close" %}</a>
{{ panel.content|safe }}
</div>
{% endif %}
diff --git a/debug_toolbar/templates/debug_toolbar/redirect.html b/debug_toolbar/templates/debug_toolbar/redirect.html
index d0585ca..cdc08b9 100644
--- a/debug_toolbar/templates/debug_toolbar/redirect.html
+++ b/debug_toolbar/templates/debug_toolbar/redirect.html
@@ -6,11 +6,9 @@
<h1>HttpResponseRedirect</h1>
<p>Location: <a href="{{ redirect_to }}">{{ redirect_to }}</a></p>
<p class="notice">
- {% trans
- "The Django Debug Toolbar has intercepted a redirect to the above URL for
+ {% trans "The Django Debug Toolbar has intercepted a redirect to the above URL for
debug viewing purposes. You can click the above link to continue with the
- redirect as normal. If you'd like to disable this feature, set the"
- %}
+ redirect as normal. If you'd like to disable this feature, set the" %}
<code>DEBUG_TOOLBAR_CONFIG</code> dictionary's key
<code>INTERCEPT_REDIRECTS</code> to <code>False</code>.
</p>