UX: always use short reply counts (no word)
This commit is contained in:
parent
03cd0afed3
commit
b3e7c78be5
|
@ -41,9 +41,8 @@ createWidget('timeline-scroller', {
|
||||||
html(attrs) {
|
html(attrs) {
|
||||||
const { current, total, date } = attrs;
|
const { current, total, date } = attrs;
|
||||||
|
|
||||||
const repliesKey = (total < 1000) ? 'replies' : 'replies_short';
|
|
||||||
const contents = [
|
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) {
|
if (date) {
|
||||||
|
|
Loading…
Reference in New Issue