Skip to content

Commit 7e21f31

Browse files
committed
Merge pull request #6 from darkpixel/master
Pluralize
2 parents 0a5471c + cca5367 commit 7e21f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ If you also want to show how many people are looking at the same page::
200200
{% visitors_on_page as same_page %}
201201
<p>
202202
{{ same_page }} of {{ visitors }} active user{{ visitors|pluralize }}
203-
{% ifequal same_page 1 %}is{% else %}are{% endifequal %} reading this page
203+
{{ same_page|pluralize:"is,are" }} reading this page
204204
</p>
205205

206206
If you don't want particular areas of your site to be tracked, you may define a

0 commit comments

Comments
 (0)