]> git.wh0rd.org Git - tt-rss.git/commitdiff
Fix plural forms on archived articles.
authorTomas Chvatal <tchvatal@suse.cz>
Sun, 24 Mar 2013 11:42:50 +0000 (12:42 +0100)
committerTomas Chvatal <tchvatal@suse.cz>
Sun, 24 Mar 2013 11:42:50 +0000 (12:42 +0100)
include/feedbrowser.php

index 5b33fb73c5bac01d5630eb902c05ef4acaa86e37..e5ee4a70d6f96472a2711cee556bfc193a3608ce 100644 (file)
@@ -80,7 +80,7 @@
                                $class = ($feedctr % 2) ? "even" : "odd";
 
                                if ($line['articles_archived'] > 0) {
-                                       $archived = sprintf(__("%d archived articles"), $line['articles_archived']);
+                                       $archived = sprintf(ngettext("%d archived article", "%d archived articles", $line['articles_archived']), $line['articles_archived']);
                                        $archived = "&nbsp;<span class='subscribers'>($archived)</span>";
                                } else {
                                        $archived = '';