UX: always use short reply counts (no word)

This commit is contained in:
Jeff Atwood 2016-05-24 10:32:10 -07:00 committed by Robin Ward
parent 03cd0afed3
commit b3e7c78be5
No known key found for this signature in database
GPG key ID: 0E091E2B4ED1B83D

View file

@ -41,9 +41,8 @@ createWidget('timeline-scroller', {
html(attrs) {
const { current, total, date } = attrs;
const repliesKey = (total < 1000) ? 'replies' : 'replies_short';
const contents = [
h('div.timeline-replies', I18n.t(`topic.timeline.${repliesKey}`, { current, total }))
h('div.timeline-replies', I18n.t(`topic.timeline.replies_short`, { current, total }))
];
if (date) {