Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#11204 closed (fixed)

Typo in template documentation

Reported by: martin Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

http://docs.djangoproject.com/en/dev/ref/templates/builtins/

pluralize

Returns a plural suffix if the value is not 1. By default, this suffix is 's'.

Example:

You have {{ num_walruses }} walrus{{ num_walrus|pluralize:"es" }}.

we should read:

You have {{ num_walrus }} walrus{{ num_walrus|pluralize:"es" }}.

Attachments (1)

11204.diff (520 bytes) - added by Chris Beaven 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Chris Beaven

Attachment: 11204.diff added

comment:1 Changed 8 years ago by Chris Beaven

Has patch: set
Triage Stage: UnreviewedReady for checkin

comment:2 Changed 8 years ago by Karen Tracey

Resolution: fixed
Status: newclosed

(In [10849]) Fixed #11204 -- Corrected typo in the pluralize doc. Thanks martin and SmileyChris.

comment:3 Changed 8 years ago by Karen Tracey

(In [10850]) [1.0.X] Fixed #11204 -- Corrected typo in the pluralize doc. Thanks martin and SmileyChris.

r10849 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top