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:
parent
ec23572f12
commit
d5fb31da17
@ -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``
|
||||
~~~~~~~~~~~~~~~
|
||||
|
Loading…
x
Reference in New Issue
Block a user