diff options
Diffstat (limited to 'classes/feeds.php')
-rw-r--r-- | classes/feeds.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index 3b765d6bd..394444345 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -701,10 +701,13 @@ class Feeds extends Handler_Protected { } else { $comments_url = htmlspecialchars($line["link"]); } - $entry_comments = "<a target='_blank' href=\"$comments_url\">$num_comments comments</a>"; + $entry_comments = "<a class=\"postComments\" + target='_blank' href=\"$comments_url\">$num_comments ". + _ngettext("comment", "comments", $num_comments)."</a>"; + } else { if ($line["comments"] && $line["link"] != $line["comments"]) { - $entry_comments = "<a target='_blank' href=\"".htmlspecialchars($line["comments"])."\">comments</a>"; + $entry_comments = "<a class=\"postComments\" target='_blank' href=\"".htmlspecialchars($line["comments"])."\">".__("comments")."</a>"; } } |