mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Used full variable names instead of abbreviation in examples
Thanks to Andrew Ingram for the report.
This commit is contained in:
parent
25b52d04f6
commit
683ece0ec8
@ -1021,9 +1021,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…
Reference in New Issue
Block a user