diff --git a/framework/core/js/src/forum/components/PostStreamScrubber.js b/framework/core/js/src/forum/components/PostStreamScrubber.js index 4fe6b3ace7..ba166bc674 100644 --- a/framework/core/js/src/forum/components/PostStreamScrubber.js +++ b/framework/core/js/src/forum/components/PostStreamScrubber.js @@ -64,7 +64,7 @@ export default class PostStreamScrubber extends Component {
- {icon('fas fa-angle-double-up')} {app.translator.trans('core.forum.post_scrubber.original_post_link')} + {icon('fas fa-angle-double-up')} {this.firstPostLabel()}
@@ -79,12 +79,12 @@ export default class PostStreamScrubber extends Component {
- {app.translator.trans('core.forum.post_scrubber.unread_text', { count: unreadCount })} + {this.unreadLabel(unreadCount)}
- {icon('fas fa-angle-double-down')} {app.translator.trans('core.forum.post_scrubber.now_link')} + {icon('fas fa-angle-double-down')} {this.lastPostLabel()}
@@ -92,6 +92,18 @@ export default class PostStreamScrubber extends Component { ); } + firstPostLabel() { + return app.translator.trans('core.forum.post_scrubber.original_post_link'); + } + + unreadLabel(unreadCount) { + return app.translator.trans('core.forum.post_scrubber.unread_text', { count: unreadCount }); + } + + lastPostLabel() { + return app.translator.trans('core.forum.post_scrubber.now_link'); + } + onupdate(vnode) { super.onupdate(vnode);