Skip to content

Commit 4e42c65

Browse files
committed
Fixed double plural 's' caused by the use of 'pluralize' in the template *and* plural forms for the group headers returned by fill_in_search_attributes(). Fixes issue ietf-tools#1077.
- Legacy-Id: 5914
1 parent 63b9850 commit 4e42c65

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/idrfc/views_search.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,11 @@ def fill_in_search_attributes(docs):
156156
d.latest_revision_date = d.time
157157

158158
if d.get_state_slug() == "rfc":
159-
d.search_heading = "RFCs"
159+
d.search_heading = "RFC"
160160
elif d.get_state_slug() == "active":
161-
d.search_heading = "Active Internet-Drafts"
161+
d.search_heading = "Active Internet-Draft"
162162
else:
163-
d.search_heading = "Old Internet-Drafts"
163+
d.search_heading = "Old Internet-Draft"
164164

165165
d.expirable = expirable_draft(d)
166166

0 commit comments

Comments
 (0)