Fix singular format regression on forum post text

This commit is contained in:
Joehu 2021-03-21 11:19:07 -07:00
parent e31d583a7f
commit 9bc6cdf042
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ private void updateDisplay(User user)
}
topLinkContainer.AddText("Contributed ");
topLinkContainer.AddLink($@"{user.PostCount:#,##0} forum posts", $"{api.WebsiteRootUrl}/users/{user.Id}/posts", creationParameters: embolden);
topLinkContainer.AddLink("forum post".ToQuantity(user.PostCount, "#,##0"), $"{api.WebsiteRootUrl}/users/{user.Id}/posts", creationParameters: embolden);
addSpacer(topLinkContainer);