mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
UX: always use short reply counts (no word)
This commit is contained in:
parent
03cd0afed3
commit
b3e7c78be5
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue