1
0
mirror of https://github.com/django/django.git synced 2025-02-23 16:24:46 +00:00

[1.8.x] Used full variable names instead of abbreviation in examples

Thanks to Andrew Ingram for the report.
Backport of 683ece0ec8d12d5e4f8656759ad87ace5792e2d1 from master.
This commit is contained in:
Baptiste Mispelon 2015-04-29 17:21:57 +02:00
parent ec23572f12
commit d5fb31da17

View File

@ -1001,9 +1001,9 @@ interface within your Python code::
The ``ngettext`` function provides an interface to pluralize words and
phrases::
var object_cnt = 1 // or 0, or 2, or 3, ...
var object_count = 1 // or 0, or 2, or 3, ...
s = ngettext('literal for the singular case',
'literal for the plural case', object_cnt);
'literal for the plural case', object_count);
``interpolate``
~~~~~~~~~~~~~~~