From 5151e5ff87ab56352df8d6979c14542aa18b2538 Mon Sep 17 00:00:00 2001 From: Percy Perez-Pinedo Date: Fri, 2 Jan 2009 23:19:45 -0800 Subject: working on translating the django toolbar into Spanish. Translating panel template: cache.html --- .../templates/debug_toolbar/panels/cache.html | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'debug_toolbar/templates') 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 %}
| Total Calls | +{% trans "Total Calls" %} | {{ cache_calls }} | -Total Time | +{% trans "Total Time" %} | {{ cache_time }}ms | -Hits | +{% trans "Hits" %} | {{ cache.hits }} | -Misses | +{% trans "Misses" %} | {{ cache.misses }} |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Time (ms) | -Type | -Parameters | -Function | +{% trans "Time (ms)" %} | +{% trans "Type" %} | +{% trans "Parameters" %} | +{% trans "Function" %} |
|---|
| Key | -Value | +{% trans "Key" %} | +{% trans "Value" %} | ||||
|---|---|---|---|---|---|---|---|
| {% trans "Key" %} | -{% trans "Value" %} | +{% trans Value %} |
| Level | -Time | -Message | -Location | +{% trans "Level" %} | +{% trans "Time" %} | +{% trans "Message" %} | +{% trans "Location" %} |
|---|
No messages logged.
+{% trans "No messages logged" %}.
{% endif %} -- cgit v1.2.3 From 77c0f4d0b1bb7392b5893cc2fc055ec7605c4fed Mon Sep 17 00:00:00 2001 From: Percy Perez-Pinedo Date: Fri, 2 Jan 2009 23:39:15 -0800 Subject: adding i18n to request_vars template --- debug_toolbar/templates/debug_toolbar/panels/request_vars.html | 1 + 1 file changed, 1 insertion(+) (limited to 'debug_toolbar/templates') diff --git a/debug_toolbar/templates/debug_toolbar/panels/request_vars.html b/debug_toolbar/templates/debug_toolbar/panels/request_vars.html index fe317ae..0885711 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/request_vars.html +++ b/debug_toolbar/templates/debug_toolbar/panels/request_vars.html @@ -1,3 +1,4 @@ +{% load i18n %}| {% trans "Key" %} | -{% trans Value %} | +{% trans "Value" %} | |
|---|---|---|---|
| Key | -Value | +{% trans "Key" %} | +{% trans "Value" %} |
None
+{% trans "None" %}
{% endif %}None
+{% trans "None" %}
{% endif %}| Key | -Value | +{% trans "Key" %} | +{% trans "Value" %} |
|---|
None
+{% trans "None" %}
{% endif %}| Key | -Value | +{% trans "Key" %} | +{% trans "Value" %} |
|---|
None
+{% trans "None" %}
{% endif %} -- cgit v1.2.3 From 88fbcdcaaf9d8cced4d321ffed395b7937b9aa2a Mon Sep 17 00:00:00 2001 From: Percy Perez-Pinedo Date: Sun, 4 Jan 2009 15:07:34 -0800 Subject: added "trans" to the templates to be translated --- debug_toolbar/templates/debug_toolbar/panels/settings_vars.html | 5 +++-- debug_toolbar/templates/debug_toolbar/panels/sql.html | 7 ++++--- debug_toolbar/templates/debug_toolbar/panels/sql_explain.html | 7 ++++--- debug_toolbar/templates/debug_toolbar/panels/sql_profile.html | 7 ++++--- debug_toolbar/templates/debug_toolbar/panels/sql_select.html | 9 +++++---- .../templates/debug_toolbar/panels/template_source.html | 3 ++- debug_toolbar/templates/debug_toolbar/panels/timer.html | 5 +++-- debug_toolbar/templates/debug_toolbar/redirect.html | 7 +++++-- 8 files changed, 30 insertions(+), 20 deletions(-) (limited to 'debug_toolbar/templates') diff --git a/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html b/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html index 1d332bf..1e84edf 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html +++ b/debug_toolbar/templates/debug_toolbar/panels/settings_vars.html @@ -1,9 +1,10 @@ +{% load i18n %}{{ settings.SETTINGS_MODULE }}| Setting | -Value | +{% trans "Setting" %} | +{% trans "Value" %} |
|---|
| Time (ms) | -Action | -Query | +{% trans "Time (ms)" %} | +{% trans "Action" %} | +{% trans "Query" %} |
|---|
Empty set
+{% trans "Empty set" %}
{% endif %} diff --git a/debug_toolbar/templates/debug_toolbar/panels/template_source.html b/debug_toolbar/templates/debug_toolbar/panels/template_source.html index 572522b..e716691 100644 --- a/debug_toolbar/templates/debug_toolbar/panels/template_source.html +++ b/debug_toolbar/templates/debug_toolbar/panels/template_source.html @@ -1,3 +1,4 @@ -« Back +{% load i18n %} +« {% trans "Back" %}| Key | -Value | +{% trans "Key" %} | +{% trans "Value" %} |
|---|