From ff04fe06250b7640b62379708b27ae31630150a0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 2 Sep 2013 12:58:14 +0400 Subject: use plurals for comment/comments link in article, properly translate comments string, add feed title to article in zoom mode --- classes/feeds.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'classes/feeds.php') 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 = "$num_comments comments"; + $entry_comments = "$num_comments ". + _ngettext("comment", "comments", $num_comments).""; + } else { if ($line["comments"] && $line["link"] != $line["comments"]) { - $entry_comments = "comments"; + $entry_comments = "".__("comments").""; } } -- cgit v1.2.3-54-g00ecf