Fix "more reply" pluralization

This commit is contained in:
Zed 2019-07-03 12:20:35 +02:00
parent 15826a1e1e
commit 779b97db4d
1 changed files with 2 additions and 1 deletions

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>