diff options
| author | Percy Perez-Pinedo | 2009-01-04 16:32:52 -0800 | 
|---|---|---|
| committer | Percy Perez-Pinedo | 2009-01-04 16:32:52 -0800 | 
| commit | 2339b5e95a2ecf0cc64ccef8d50e669f5caff69a (patch) | |
| tree | b3936eac6e4a852aedbacc53880f5e8877c654dc /debug_toolbar/templates | |
| parent | 88fbcdcaaf9d8cced4d321ffed395b7937b9aa2a (diff) | |
| download | django-debug-toolbar-2339b5e95a2ecf0cc64ccef8d50e669f5caff69a.tar.bz2 | |
added "trans" to base and redirect templates
Diffstat (limited to 'debug_toolbar/templates')
| -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>  | 
