diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2015-04-29 17:21:57 +0200 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2015-04-29 17:21:57 +0200 |
| commit | 683ece0ec8d12d5e4f8656759ad87ace5792e2d1 (patch) | |
| tree | aa28d6e9333ef3693e50714b40bcce173dfc0940 | |
| parent | 25b52d04f6eace3b702adf7c6ab68daf1867c7e3 (diff) | |
Used full variable names instead of abbreviation in examples
Thanks to Andrew Ingram for the report.
| -rw-r--r-- | docs/topics/i18n/translation.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index 8726fc18b2..89b9250add 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -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`` ~~~~~~~~~~~~~~~ |
