aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPercy Perez-Pinedo2009-01-02 23:19:45 -0800
committerPercy Perez-Pinedo2009-01-02 23:19:45 -0800
commit5151e5ff87ab56352df8d6979c14542aa18b2538 (patch)
treecae1644ac2195e2d7784d0bed399239d259a7cfe
parent3ac08ae820d3db86e924ab7f7798999e55aede91 (diff)
downloaddjango-debug-toolbar-5151e5ff87ab56352df8d6979c14542aa18b2538.tar.bz2
working on translating the django toolbar into Spanish. Translating panel template: cache.html
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/cache.html19
1 files changed, 10 insertions, 9 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/panels/cache.html b/debug_toolbar/templates/debug_toolbar/panels/cache.html
index 3142783..7667740 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/cache.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/cache.html
@@ -1,3 +1,4 @@
+{% load i18n %}
<h3>Cache Usage</h3>
<table>
<colgroup>
@@ -11,13 +12,13 @@
<col width="12%"/>
</colgroup>
<tr>
- <th>Total Calls</th>
+ <th>{% trans "Total Calls" %}</th>
<td>{{ cache_calls }}</td>
- <th>Total Time</th>
+ <th>{% trans "Total Time" %}</th>
<td>{{ cache_time }}ms</td>
- <th>Hits</th>
+ <th>{% trans "Hits" %}</th>
<td>{{ cache.hits }}</td>
- <th>Misses</th>
+ <th>{% trans "Misses" %}</th>
<td>{{ cache.misses }}</td>
</tr>
<tr>
@@ -32,14 +33,14 @@
</tr>
</table>
{% if cache.calls %}
-<h3>Breakdown</h3>
+<h3>{% trans "Breakdown" %}</h3>
<table>
<thead>
<tr>
- <th>Time&nbsp;(ms)</th>
- <th>Type</th>
- <th>Parameters</th>
- <th>Function</th>
+ <th>{% trans "Time&nbsp;(ms)" %}</th>
+ <th>{% trans "Type" %}</th>
+ <th>{% trans "Parameters" %}</th>
+ <th>{% trans "Function" %}</th>
</tr>
</thead>
<tbody>