From 683ece0ec8d12d5e4f8656759ad87ace5792e2d1 Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Wed, 29 Apr 2015 17:21:57 +0200 Subject: [PATCH] Used full variable names instead of abbreviation in examples Thanks to Andrew Ingram for the report. --- docs/topics/i18n/translation.txt | 4 ++-- 1 file 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`` ~~~~~~~~~~~~~~~