mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-12 11:06:30 +00:00
Fix "more reply" pluralization
This commit is contained in:
parent
15826a1e1e
commit
779b97db4d
1 changed files with 2 additions and 1 deletions
|
@ -144,7 +144,8 @@
|
||||||
#if thread.more != 0:
|
#if thread.more != 0:
|
||||||
#let num = if thread.more != -1: $thread.more & " " else: ""
|
#let num = if thread.more != -1: $thread.more & " " else: ""
|
||||||
<div class="status-el more-replies">
|
<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>
|
</div>
|
||||||
#end if
|
#end if
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue