Fix "more reply" pluralization

This commit is contained in:
Zed 2019-07-03 12:20:35 +02:00
parent 15826a1e1e
commit 779b97db4d

View file

@ -144,7 +144,8 @@
#if thread.more != 0:
#let num = if thread.more != -1: $thread.more & " " else: ""
<div class="status-el more-replies">
<a class="more-replies-text" title="Not implemented yet">${num}more replies</a>
#let reply = if thread.more == 1: "reply" else: "replies"
<a class="more-replies-text" title="Not implemented yet">${num}more ${reply}</a>
</div>
#end if
</div>