Skip to content

Commit ee16ddf

Browse files
zahidkizmazsyphar
authored andcommitted
feat: use pluralize in order to have correct pluralization by the crate count
1 parent 77304a4 commit ee16ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/releases/build_queue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
benefit from new features in rustdoc.
9999
</p>
100100
{%- if !expand_rebuild_queue -%}
101-
<p>There are currently {{ rebuild_queue.len() }} crates in the rebuild queue.</p>
101+
<p>There are currently {{ rebuild_queue.len() }} crate{{ rebuild_queue.len()|pluralize }} in the rebuild queue.</p>
102102
<p><a href="?expand=1">Show</a></p>
103103
{%- endif -%}
104104
</div>

0 commit comments

Comments
 (0)