diff options
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/base.html | 3 | ||||
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/redirect.html | 6 |
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> |
