summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2010-12-01 15:06:25 +0000
committerRamiro Morales <cramm0@gmail.com>2010-12-01 15:06:25 +0000
commit4858a8d9f3621eb053dfadd9f733db8b325f0b75 (patch)
tree8e26f1f6f05a7b4f5017a3b19a3244089e3cc9f3 /docs
parent2fa22a4b6414235a38fa646b2c6e17e49630185f (diff)
Removed reference to potential exception during template rendering-time from the ungettext() documentation. Exceptions at that point should be considered and reported as a bug.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/i18n/internationalization.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/topics/i18n/internationalization.txt b/docs/topics/i18n/internationalization.txt
index 5eff7dec5e..1bd5cb0cd0 100644
--- a/docs/topics/i18n/internationalization.txt
+++ b/docs/topics/i18n/internationalization.txt
@@ -214,8 +214,7 @@ cardinality of the elements at play.
You would get a ``a format specification for argument 'name', as in
'msgstr[0]', doesn't exist in 'msgid'`` error when running
- ``django-admin.py compilemessages`` or a ``KeyError`` Python exception at
- runtime.
+ ``django-admin.py compilemessages``.
.. _contextual-markers:
@@ -469,7 +468,7 @@ A more complex example::
That will cost $ {{ amount }} per {{ years }} years.
{% endblocktrans %}
-When you both use the pluralization feature and bind values to local variables
+When you use both the pluralization feature and bind values to local variables
in addition to the counter value, keep in mind that the ``blocktrans``
construct is internally converted to an ``ungettext`` call. This means the
same :ref:`notes regarding ungettext variables <pluralization-var-notes>`