summaryrefslogtreecommitdiff
path: root/modules/tracker/tracker.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-01-21 22:44:25 +0000
committerDries Buytaert <dries@buytaert.net>2003-01-21 22:44:25 +0000
commit9a23223e253d95377123a9b4b49a54cc8cdbe744 (patch)
treef3817e25046234ada392e4c5ed1aa0d1177db454 /modules/tracker/tracker.module
parentef0acbf2ddbfdfb8d639c317b82fa40daa6e1c5b (diff)
downloadbrdo-9a23223e253d95377123a9b4b49a54cc8cdbe744.tar.gz
brdo-9a23223e253d95377123a9b4b49a54cc8cdbe744.tar.bz2
- Applied Ori's format_plural() patch; see mailing list for details.
NOTE: some modules in the contributions repository might need to be updated.
Diffstat (limited to 'modules/tracker/tracker.module')
-rw-r--r--modules/tracker/tracker.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module
index 065893063..725cf1895 100644
--- a/modules/tracker/tracker.module
+++ b/modules/tracker/tracker.module
@@ -37,7 +37,7 @@ function tracker_comments($id = 0) {
}
while ($node = db_fetch_object($sresult)) {
- $output .= format_plural($node->comments, "comment", "comments") ." ". t("attached to node") ." ". l($node->title, "node/view/$node->nid") .":\n";
+ $output .= format_plural($node->comments, "1 comment", "%count comments") ." ". t("attached to node") ." ". l($node->title, "node/view/$node->nid") .":\n";
if ($id) {
$cresult = db_query("SELECT c.*, u.name FROM comments c LEFT JOIN users u ON c.uid = u.uid WHERE c.timestamp > $period AND c.uid = '%d' AND c.nid = '%d' ORDER BY cid DESC", $id, $node->nid);