diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-12 10:32:58 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-12 10:32:58 +0100 |
commit | 634860b49d8dcc982ad8a9ed4afd393768675ccb (patch) | |
tree | 89bcfb516558f560ea07b6be3e86287a8066e343 | |
parent | cca9f1d70ca9e3f873e60d9b98065de74d026a3a (diff) |
poll votes - person/people
-rw-r--r-- | lisp/mastodon-tl.el | 4 |
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." |