From bf9e0e342da3ed2f74ee0ec34e75bdcbedde40a9 Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Sat, 27 Apr 2019 18:08:39 +0200 Subject: [2.2.x] Refs #20122 -- Corrected documentation of pluralize template filter. Backport of e3968df527c4d378677f4784fb1bc0c86950fcf8 from master --- docs/ref/templates/builtins.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index bad69a75d2..daa4a48ee6 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -1992,8 +1992,8 @@ If ``value`` is ``800-COLLECT``, the output will be ``800-2655328``. ``pluralize`` ------------- -Returns a plural suffix if the value is not 1. By default, this suffix is -``'s'``. +Returns a plural suffix if the value is not ``1``, ``'1'``, or an object of +length 1. By default, this suffix is ``'s'``. Example:: -- cgit v1.3