aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-12 10:32:58 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-12 10:32:58 +0100
commit634860b49d8dcc982ad8a9ed4afd393768675ccb (patch)
tree89bcfb516558f560ea07b6be3e86287a8066e343 /lisp
parentcca9f1d70ca9e3f873e60d9b98065de74d026a3a (diff)
poll votes - person/people
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-tl.el4
1 files changed, 3 insertions, 1 deletions
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."