summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2015-04-29 17:21:57 +0200
committerBaptiste Mispelon <bmispelon@gmail.com>2015-04-29 17:24:03 +0200
commitd5fb31da17373091805bcecec62cfb4359287eac (patch)
tree3b1ed6ca12522d9099d061671ae188cf6538a91e /docs
parentec23572f12ac5a599090bbb290a047931b75bdbd (diff)
[1.8.x] Used full variable names instead of abbreviation in examples
Thanks to Andrew Ingram for the report. Backport of 683ece0ec8d12d5e4f8656759ad87ace5792e2d1 from master.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/i18n/translation.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt
index cf9d569d97..3a88add712 100644
--- a/docs/topics/i18n/translation.txt
+++ b/docs/topics/i18n/translation.txt
@@ -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``
~~~~~~~~~~~~~~~