From 634860b49d8dcc982ad8a9ed4afd393768675ccb Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sat, 12 Nov 2022 10:32:58 +0100 Subject: poll votes - person/people --- lisp/mastodon-tl.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lisp/mastodon-tl.el') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index e0268af..df167be 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -1009,7 +1009,9 @@ this just means displaying toot client." options "\n") "\n" - (propertize (format "%s people | " vote-count) + (propertize (if (= vote-count 1) + (format "%s person | " vote-count) + (format "%s people | " vote-count)) 'face 'font-lock-comment-face) (let ((str (if expired-p "Poll expired." -- cgit v1.2.3