diff options
| author | Jannis Leidel | 2012-03-31 21:39:15 +0200 | 
|---|---|---|
| committer | Jannis Leidel | 2012-03-31 21:39:19 +0200 | 
| commit | 2870dcdf320a7b0864cd59e775111a2618d3f1ec (patch) | |
| tree | aaa8271b98b96204e1058588b1df755b5e439bcc | |
| parent | faf0645551435370399f18b4ace56e3535671b21 (diff) | |
| download | django-debug-toolbar-2870dcdf320a7b0864cd59e775111a2618d3f1ec.tar.bz2 | |
Fixed an i18n snafu with pluralization.
| -rw-r--r-- | debug_toolbar/locale/de/LC_MESSAGES/django.mo | bin | 5770 -> 5769 bytes | |||
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/panels/templates.html | 6 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/debug_toolbar/locale/de/LC_MESSAGES/django.mo b/debug_toolbar/locale/de/LC_MESSAGES/django.moBinary files differ index 665da63..7a55447 100644 --- a/debug_toolbar/locale/de/LC_MESSAGES/django.mo +++ b/debug_toolbar/locale/de/LC_MESSAGES/django.mo 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 %} -<h4>{% trans 'Template path' %}{{ template_dirs|length|pluralize }}</h4> +<h4>{% blocktrans count template_count=template_dirs|length %}Template path{% plural %}Template paths{% endblocktrans %}</h4>  {% if template_dirs %}  	<ol>  	{% for template in template_dirs %} @@ -10,7 +10,7 @@  	<p>None</p>  {% endif %} -<h4>{% trans "Template" %}{{ templates|length|pluralize }}</h4> +<h4>{% blocktrans count template_count=template_dirs|length %}Template{% plural %}Templates{% endblocktrans %}</h4>  {% if templates %}  <dl>  {% for template in templates %} @@ -28,7 +28,7 @@  	<p>{% trans 'None' %}</p>  {% endif %} -<h4>{% trans 'Context processor' %}{{ context_processors|length|pluralize }}</h4> +<h4>{% blocktrans count context_processors_count=context_processors|length %}Context processor{% plural %}Context processors{% endblocktrans %}</h4>  {% if context_processors %}  <dl>  {% for key, value in context_processors.iteritems %} | 
