i18n - refix total comments

Meant to re-use strings, but I forgot to change the variable name.
This commit is contained in:
infinite-persistence 2021-10-16 11:20:34 +08:00
parent 055d437865
commit 0b0f2848da
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -300,7 +300,7 @@ function CommentList(props: Props) {
title={
(totalComments === 0 && __('Leave a comment')) ||
(totalComments === 1 && __('1 comment')) ||
__('%totalComments% comments', { totalComments })
__('%total_comments% comments', { total_comments: totalComments })
}
titleActions={
<>