Views tooltip isn't behaving for 1.0k - 1.9k views

When looking at a list of topics, and hovering over the number in the Views column, the tooltip for views in the 1.0k-1.9k range displays “this topic has been viewed 1 time” instead of the correct number of views like the others do.

    views_long:
      one: "this topic has been viewed 1 time"
      other: "this topic has been viewed {{number}} times"
7 Likes

Aha can we fix this @eviltrout?

2 Likes

We sure can:

https://github.com/discourse/discourse/commit/0f3dabb54ce5de9dbcdcee5572b135333dfada69

6 Likes