From 2870dcdf320a7b0864cd59e775111a2618d3f1ec Mon Sep 17 00:00:00 2001
From: Jannis Leidel
Date: Sat, 31 Mar 2012 21:39:15 +0200
Subject: Fixed an i18n snafu with pluralization.
---
debug_toolbar/templates/debug_toolbar/panels/templates.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'debug_toolbar/templates')
diff --git a/debug_toolbar/templates/debug_toolbar/panels/templates.html b/debug_toolbar/templates/debug_toolbar/panels/templates.html
index 9a1a16d..27db187 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 %}
-
{% trans 'Template path' %}{{ template_dirs|length|pluralize }}
+{% blocktrans count template_count=template_dirs|length %}Template path{% plural %}Template paths{% endblocktrans %}
{% if template_dirs %}
{% for template in template_dirs %}
@@ -10,7 +10,7 @@
None
{% endif %}
-{% trans "Template" %}{{ templates|length|pluralize }}
+{% blocktrans count template_count=template_dirs|length %}Template{% plural %}Templates{% endblocktrans %}
{% if templates %}
{% for template in templates %}
@@ -28,7 +28,7 @@
{% trans 'None' %}
{% endif %}
-{% trans 'Context processor' %}{{ context_processors|length|pluralize }}
+{% blocktrans count context_processors_count=context_processors|length %}Context processor{% plural %}Context processors{% endblocktrans %}
{% if context_processors %}
{% for key, value in context_processors.iteritems %}
--
cgit v1.2.3