diff --git a/js/Headlines.js b/js/Headlines.js index 78c9651cb..dcb8bdb2d 100755 --- a/js/Headlines.js +++ b/js/Headlines.js @@ -270,6 +270,18 @@ define(["dojo/_base/declare"], function (declare) { ${__('Originally from:')} ${hl.orig_feed[0]} ` : ""; + let comments = ""; + + if (hl.comments) { + let comments_msg = __("comments"); + + if (hl.num_comments > 0) { + comments_msg = hl.num_comments + " " + ngettext("comment", "comments", hl.num_comments) + } + + comments = `(${comments_msg})`; + } + row = `
@@ -320,6 +332,7 @@ define(["dojo/_base/declare"], function (declare) { ${hl.tags_str} (+) + ${comments}
${hl.buttons}