From e43d66aec655433705fd9651582781dc32ef2ab0 Mon Sep 17 00:00:00 2001 From: Kenneth Belitzky Date: Sat, 10 Oct 2009 01:21:56 +0800 Subject: added missing trans tags inside templates --- .../templates/debug_toolbar/panels/request_vars.html | 8 ++++---- debug_toolbar/templates/debug_toolbar/panels/signals.html | 4 ++-- debug_toolbar/templates/debug_toolbar/panels/sql.html | 4 ++-- .../templates/debug_toolbar/panels/template_source.html | 2 +- debug_toolbar/templates/debug_toolbar/panels/templates.html | 12 ++++++------ debug_toolbar/templates/debug_toolbar/redirect.html | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) (limited to 'debug_toolbar') diff --git a/debug_toolbar/templates/debug_toolbar/panels/request_vars.html b/debug_toolbar/templates/debug_toolbar/panels/request_vars.html index 3fdbf74..83482e3 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/request_vars.html +++ b/debug_toolbar/templates/debug_toolbar/panels/request_vars.html @@ -1,5 +1,5 @@ {% load i18n %} -

COOKIES Variables

+

{% trans 'COOKIES Variables' %}

{% if cookies %} @@ -25,7 +25,7 @@

{% trans "No COOKIE data" %}

{% endif %} -

SESSION Variables

+

{% trans 'SESSION Variables' %}

{% if session %}
@@ -51,7 +51,7 @@

{% trans "No SESSION data" %}

{% endif %} -

GET Variables

+

{% trans 'GET Variables' %}

{% if get %}
@@ -73,7 +73,7 @@

{% trans "No GET data" %}

{% endif %} -

POST Variables

+

{% trans 'POST Variables' %}

{% if post %}
diff --git a/debug_toolbar/templates/debug_toolbar/panels/signals.html b/debug_toolbar/templates/debug_toolbar/panels/signals.html index d6d681c..75c1e22 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/signals.html +++ b/debug_toolbar/templates/debug_toolbar/panels/signals.html @@ -3,8 +3,8 @@ - - + + diff --git a/debug_toolbar/templates/debug_toolbar/panels/sql.html b/debug_toolbar/templates/debug_toolbar/panels/sql.html index 15466f6..c275bea 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/sql.html +++ b/debug_toolbar/templates/debug_toolbar/panels/sql.html @@ -4,8 +4,8 @@ - - + + diff --git a/debug_toolbar/templates/debug_toolbar/panels/template_source.html b/debug_toolbar/templates/debug_toolbar/panels/template_source.html index 7074f4f..c4044c9 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 %}
{% trans "Back" %} -

Template Source: {{ template_name }}

+

{% trans 'Template Source' %}: {{ template_name }}

diff --git a/debug_toolbar/templates/debug_toolbar/panels/templates.html b/debug_toolbar/templates/debug_toolbar/panels/templates.html index 6107876..dcd5d85 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/templates.html +++ b/debug_toolbar/templates/debug_toolbar/panels/templates.html @@ -1,5 +1,5 @@ {% load i18n %} -

Template path{{ template_dirs|length|pluralize }}

+

{% trans 'Template path' %} {{ template_dirs|length|pluralize }}

{% if template_dirs %}
    {% for template in template_dirs %} @@ -18,27 +18,27 @@
    {{ template.template.origin_name|addslashes }}
    {% if template.context %}
    - +
    {% endif %} {% endfor %} {% else %} -

    None

    +

    {% trans 'None' %}

    {% endif %} -

    Context processor{{ context_processors|length|pluralize }}

    +

    {% trans 'Context processor' %} {{ context_processors|length|pluralize }}

    {% if context_processors %}
    {% for key, value in context_processors.iteritems %}
    {{ key|escape }}
    - +
    {% endfor %}
    {% else %} -

    None

    +

    {% trans 'None' %}

    {% endif %} diff --git a/debug_toolbar/templates/debug_toolbar/redirect.html b/debug_toolbar/templates/debug_toolbar/redirect.html index 93dd67c..250e3e8 100644 --- a/debug_toolbar/templates/debug_toolbar/redirect.html +++ b/debug_toolbar/templates/debug_toolbar/redirect.html @@ -4,7 +4,7 @@

    HttpResponseRedirect

    -

    Location: {{ redirect_to }}

    +

    {% trans 'Location' %}: {{ redirect_to }}

    {% 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 DEBUG_TOOLBAR_CONFIG dictionary's key INTERCEPT_REDIRECTS to False." %}

    -- cgit v1.2.3
{% trans "Signal" %}Providing ArgsReceivers{% trans 'Providing Args' %}{% trans 'Receivers' %}
{% trans "Time" %} (ms) {% trans "Action" %}StacktraceQuery{% trans 'Stacktrace' %}{% trans 'Query' %}