aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/templates
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-30 18:16:41 +0100
committerAymeric Augustin2013-12-01 09:40:33 +0100
commite334bf6e4b4975fd87957c473a62c0d889e38cb0 (patch)
tree2f60ad8f111ff7bfcaf041247180ca2505e555f6 /debug_toolbar/templates
parentd30452ee1997b3edd0c772e681c2ce816c730384 (diff)
downloaddjango-debug-toolbar-e334bf6e4b4975fd87957c473a62c0d889e38cb0.tar.bz2
Review translated strings.
- Include trailing colons inside translated strings because some languages (eg. French) need a space before the colon. - Normalize capitalization (title-style didn't seem warranted and looked weird in some cases). - Normalize quotes (not very useful, but we had a random mixture of single and double quotes). - Remove msgstr from the English po file because they're identical to msgid by definition.
Diffstat (limited to 'debug_toolbar/templates')
-rw-r--r--debug_toolbar/templates/debug_toolbar/base.html4
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/cache.html12
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/headers.html6
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/request.html22
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/signals.html6
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/sql.html6
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/sql_explain.html2
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/sql_profile.html4
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/sql_select.html2
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/template_source.html2
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/templates.html8
-rw-r--r--debug_toolbar/templates/debug_toolbar/panels/timer.html8
-rw-r--r--debug_toolbar/templates/debug_toolbar/redirect.html2
13 files changed, 42 insertions, 42 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html
index a9d82dc..52ebb57 100644
--- a/debug_toolbar/templates/debug_toolbar/base.html
+++ b/debug_toolbar/templates/debug_toolbar/base.html
@@ -14,7 +14,7 @@ if(!window.jQuery) document.write('<scr'+'ipt src="//ajax.googleapis.com/ajax/li
<div style="display:none;" id="djDebugToolbar">
<ul id="djDebugPanelList">
{% if toolbar.panels %}
- <li><a id="djHideToolBarButton" href="#" title="{% trans "Hide Toolbar" %}">{% trans "Hide" %} &#187;</a></li>
+ <li><a id="djHideToolBarButton" href="#" title="{% trans "Hide toolbar" %}">{% trans "Hide" %} &#187;</a></li>
{% else %}
<li id="djDebugButton">DEBUG</li>
{% endif %}
@@ -42,7 +42,7 @@ if(!window.jQuery) document.write('<scr'+'ipt src="//ajax.googleapis.com/ajax/li
</ul>
</div>
<div style="display:none;" id="djDebugToolbarHandle">
- <span title="{% trans "Show Toolbar" %}" id="djShowToolBarButton">&#171;</span>
+ <span title="{% trans "Show toolbar" %}" id="djShowToolBarButton">&#171;</span>
</div>
{% for panel in toolbar.panels %}
{% if panel.has_content and panel.enabled %}
diff --git a/debug_toolbar/templates/debug_toolbar/panels/cache.html b/debug_toolbar/templates/debug_toolbar/panels/cache.html
index 95794d5..595afd6 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/cache.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/cache.html
@@ -3,10 +3,10 @@
<table>
<thead>
<tr>
- <th>{% trans "Total Calls" %}</th>
- <th>{% trans "Total Time" %}</th>
- <th>{% trans "Cache Hits" %}</th>
- <th>{% trans "Cache Misses" %}</th>
+ <th>{% trans "Total calls" %}</th>
+ <th>{% trans "Total time" %}</th>
+ <th>{% trans "Cache hits" %}</th>
+ <th>{% trans "Cache misses" %}</th>
</tr>
</thead>
<tbody>
@@ -42,8 +42,8 @@
<tr>
<th colspan="2">{% trans "Time (ms)" %}</th>
<th>{% trans "Type" %}</th>
- <th>{% trans "args" %}</th>
- <th>{% trans "kwargs" %}</th>
+ <th>{% trans "Arguments" %}</th>
+ <th>{% trans "Keyword arguments" %}</th>
<th>{% trans "Backend" %}</th>
</tr>
</thead>
diff --git a/debug_toolbar/templates/debug_toolbar/panels/headers.html b/debug_toolbar/templates/debug_toolbar/panels/headers.html
index c7f01a2..6b43e94 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/headers.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/headers.html
@@ -1,6 +1,6 @@
{% load i18n %}
-<h4>{% trans "Request Headers" %}</h4>
+<h4>{% trans "Request headers" %}</h4>
<table>
<thead>
@@ -19,7 +19,7 @@
</tbody>
</table>
-<h4>{% trans "Response Headers" %}</h4>
+<h4>{% trans "Response headers" %}</h4>
<table>
<thead>
@@ -40,7 +40,7 @@
<h4>{% trans "WSGI environ" %}</h4>
-<p>{% trans "Since the WSGI environ inherits the environment of the server, only a subset is shown below." %}</p>
+<p>{% trans "Since the WSGI environ inherits the environment of the server, only a significant subset is shown below." %}</p>
<table>
<thead>
diff --git a/debug_toolbar/templates/debug_toolbar/panels/request.html b/debug_toolbar/templates/debug_toolbar/panels/request.html
index a8277a4..c3c8d58 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/request.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/request.html
@@ -1,13 +1,13 @@
{% load i18n %}
-<h4>{% trans 'View information' %}</h4>
+<h4>{% trans "View information" %}</h4>
<table>
<thead>
<tr>
- <th>{% trans 'View Function' %}</th>
- <th>{% trans 'Arguments' %}</th>
- <th>{% trans 'Keyword Arguments' %}</th>
- <th>{% trans 'URL Name' %}</th>
+ <th>{% trans "View function" %}</th>
+ <th>{% trans "Arguments" %}</th>
+ <th>{% trans "Keyword arguments" %}</th>
+ <th>{% trans "URL name" %}</th>
</tr>
</thead>
<tbody>
@@ -21,7 +21,7 @@
</table>
{% if cookies %}
- <h4>{% trans "COOKIES Variables" %}</h4>
+ <h4>{% trans "Cookies" %}</h4>
<table>
<colgroup>
<col style="width:20%"/>
@@ -43,11 +43,11 @@
</tbody>
</table>
{% else %}
- <h4>{% trans "No COOKIE data" %}</h4>
+ <h4>{% trans "No cookies" %}</h4>
{% endif %}
{% if session %}
- <h4>{% trans "SESSION Variables" %}</h4>
+ <h4>{% trans "Session data" %}</h4>
<table>
<colgroup>
<col style="width:20%"/>
@@ -69,11 +69,11 @@
</tbody>
</table>
{% else %}
- <h4>{% trans "No SESSION data" %}</h4>
+ <h4>{% trans "No session data" %}</h4>
{% endif %}
{% if get %}
- <h4>{% trans "GET Variables" %}</h4>
+ <h4>{% trans "GET data" %}</h4>
<table>
<colgroup>
<col style="width:20%"/>
@@ -99,7 +99,7 @@
{% endif %}
{% if post %}
- <h4>{% trans "POST Variables" %}</h4>
+ <h4>{% trans "POST data" %}</h4>
<table>
<colgroup>
<col style="width:20%"/>
diff --git a/debug_toolbar/templates/debug_toolbar/panels/signals.html b/debug_toolbar/templates/debug_toolbar/panels/signals.html
index 96b863a..ac32f37 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/signals.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/signals.html
@@ -2,9 +2,9 @@
<table>
<thead>
<tr>
- <th>{% trans 'Signal' %}</th>
- <th>{% trans 'Providing Args' %}</th>
- <th>{% trans 'Receivers' %}</th>
+ <th>{% trans "Signal" %}</th>
+ <th>{% trans "Providing" %}</th>
+ <th>{% trans "Receivers" %}</th>
</tr>
</thead>
<tbody>
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql.html b/debug_toolbar/templates/debug_toolbar/panels/sql.html
index 599f194..4d51736 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html
@@ -15,9 +15,9 @@
<thead>
<tr>
<th class="color">&#160;</th>
- <th class="query" colspan="2">{% trans 'Query' %}</th>
- <th class="timeline">{% trans 'Timeline' %}</th>
- <th class="time">{% trans 'Time (ms)' %}</th>
+ <th class="query" colspan="2">{% trans "Query" %}</th>
+ <th class="timeline">{% trans "Timeline" %}</th>
+ <th class="time">{% trans "Time (ms)" %}</th>
<th class="actions">{% trans "Action" %}</th>
</tr>
</thead>
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html b/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html
index 0d47ada..7c85148 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql_explain.html
@@ -1,7 +1,7 @@
{% load i18n %}
<div class="djDebugPanelTitle">
<a class="djDebugClose djDebugBack" href="">{% trans "Back" %}</a>
- <h3>{% trans "SQL Explained" %}</h3>
+ <h3>{% trans "SQL explained" %}</h3>
</div>
<div class="djDebugPanelContent">
<div class="scroll">
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql_profile.html b/debug_toolbar/templates/debug_toolbar/panels/sql_profile.html
index c0d90b4..c6676be 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql_profile.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql_profile.html
@@ -1,7 +1,7 @@
{% load i18n %}
<div class="djDebugPanelTitle">
<a class="djDebugClose djDebugBack" href="">{% trans "Back" %}</a>
- <h3>{% trans "SQL Profiled" %}</h3>
+ <h3>{% trans "SQL profiled" %}</h3>
</div>
<div class="djDebugPanelContent">
<div class="scroll">
@@ -34,7 +34,7 @@
</table>
{% else %}
<dl>
- <dt>{% trans 'Error' %}</dt>
+ <dt>{% trans "Error" %}</dt>
<dd>{{ result_error }}</dd>
</dl>
{% endif %}
diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql_select.html b/debug_toolbar/templates/debug_toolbar/panels/sql_select.html
index 7a57c75..7d587bd 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/sql_select.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/sql_select.html
@@ -1,7 +1,7 @@
{% load i18n %}
<div class="djDebugPanelTitle">
<a class="djDebugClose djDebugBack" href="">{% trans "Back" %}</a>
- <h3>{% trans "SQL Selected" %}</h3>
+ <h3>{% trans "SQL selected" %}</h3>
</div>
<div class="djDebugPanelContent">
<div class="scroll">
diff --git a/debug_toolbar/templates/debug_toolbar/panels/template_source.html b/debug_toolbar/templates/debug_toolbar/panels/template_source.html
index 7dedde3..f827d1a 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/template_source.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/template_source.html
@@ -1,7 +1,7 @@
{% load i18n %}
<div class="djDebugPanelTitle">
<a class="djDebugClose djDebugBack" href="">{% trans "Back" %}</a>
- <h3>{% trans 'Template Source' %}: <code>{{ template_name }}</code></h3>
+ <h3>{% trans "Template source:" %} <code>{{ template_name }}</code></h3>
</div>
<div class="djDebugPanelContent">
<div class="scroll">
diff --git a/debug_toolbar/templates/debug_toolbar/panels/templates.html b/debug_toolbar/templates/debug_toolbar/panels/templates.html
index 18da4c9..644b4d6 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/templates.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/templates.html
@@ -18,14 +18,14 @@
<dd><samp>{{ template.template.origin_name|addslashes }}</samp></dd>
{% if template.context %}
<dd>
- <div class="djTemplateShowContextDiv"><a class="djTemplateShowContext"><span class="toggleArrow">&#x25B6;</span> {% trans 'Toggle Context' %}</a></div>
+ <div class="djTemplateShowContextDiv"><a class="djTemplateShowContext"><span class="toggleArrow">&#x25B6;</span> {% trans "Toggle context" %}</a></div>
<div class="djTemplateHideContextDiv" style="display:none;"><code>{{ template.context }}</code></div>
</dd>
{% endif %}
{% endfor %}
</dl>
{% else %}
- <p>{% trans 'None' %}</p>
+ <p>{% trans "None" %}</p>
{% endif %}
<h4>{% blocktrans count context_processors|length as context_processors_count %}Context processor{% plural %}Context processors{% endblocktrans %}</h4>
@@ -34,13 +34,13 @@
{% for key, value in context_processors.items %}
<dt><strong>{{ key|escape }}</strong></dt>
<dd>
- <div class="djTemplateShowContextDiv"><a class="djTemplateShowContext"><span class="toggleArrow">&#x25B6;</span> {% trans 'Toggle Context' %}</a></div>
+ <div class="djTemplateShowContextDiv"><a class="djTemplateShowContext"><span class="toggleArrow">&#x25B6;</span> {% trans "Toggle context" %}</a></div>
<div class="djTemplateHideContextDiv" style="display:none;"><code>{{ value|escape }}</code></div>
</dd>
{% endfor %}
</dl>
{% else %}
- <p>{% trans 'None' %}</p>
+ <p>{% trans "None" %}</p>
{% endif %}
<script src="{% static 'debug_toolbar/js/toolbar.template.js' %}"></script>
diff --git a/debug_toolbar/templates/debug_toolbar/panels/timer.html b/debug_toolbar/templates/debug_toolbar/panels/timer.html
index 11c5984..cab0648 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/timer.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/timer.html
@@ -1,5 +1,5 @@
{% load i18n %}{% load static from staticfiles %}
-<h4>{% trans 'Resource Usage' %}</h4>
+<h4>{% trans "Resource usage" %}</h4>
<table>
<colgroup>
<col style="width:20%"/>
@@ -23,7 +23,7 @@
<!-- This hidden div is populated and displayed by code in toolbar.timer.js -->
<div id="djDebugBrowserTiming" style="display:none">
- <h4>{% trans 'Browser Timing' %}</h4>
+ <h4>{% trans "Browser timing" %}</h4>
<table>
<colgroup>
<col style="width:20%"/>
@@ -32,8 +32,8 @@
</colgroup>
<thead>
<tr>
- <th>{% trans "Timing Attribute" %}</th>
- <th class="timeline">{% trans 'Timeline' %}</th>
+ <th>{% trans "Timing attribute" %}</th>
+ <th class="timeline">{% trans "Timeline" %}</th>
<th class="time">{% trans "Milliseconds since navigation start (+length)" %}</th>
</tr>
</thead>
diff --git a/debug_toolbar/templates/debug_toolbar/redirect.html b/debug_toolbar/templates/debug_toolbar/redirect.html
index f2dde2d..365fb48 100644
--- a/debug_toolbar/templates/debug_toolbar/redirect.html
+++ b/debug_toolbar/templates/debug_toolbar/redirect.html
@@ -5,7 +5,7 @@
</head>
<body>
<h1>{{ status_line }}</h1>
-<h2>{% trans "Location" %}: <a id="redirect_to" href="{{ redirect_to }}">{{ redirect_to }}</a></h2>
+<h2>{% trans "Location:" %} <a id="redirect_to" href="{{ redirect_to }}">{{ redirect_to }}</a></h2>
<p class="notice">
{% 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." %}
</p>