From d5fb31da17373091805bcecec62cfb4359287eac Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Wed, 29 Apr 2015 17:21:57 +0200 Subject: [PATCH] [1.8.x] Used full variable names instead of abbreviation in examples Thanks to Andrew Ingram for the report. Backport of 683ece0ec8d12d5e4f8656759ad87ace5792e2d1 from master. --- 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 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`` ~~~~~~~~~~~~~~~