From bc149ab22b25c1de47a1b28c58fdbd7c7892eff1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Thu, 12 Jan 2006 16:22:46 +0000 Subject: [PATCH] - Patch #33128 by Morbus: %num -> %count to make format_plural() work. --- modules/tracker.module | 2 +- modules/tracker/tracker.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/tracker.module b/modules/tracker.module index df60cabfd5ae..b7bf8c8b14f4 100644 --- a/modules/tracker.module +++ b/modules/tracker.module @@ -101,7 +101,7 @@ function tracker_page($uid = 0) { if ($new = comment_num_new($node->nid)) { $comments .= '<br />'; - $comments .= l(format_plural($new, '1 new', '%num new'), "node/$node->nid", NULL, NULL, 'new'); + $comments .= l(format_plural($new, '1 new', '%count new'), "node/$node->nid", NULL, NULL, 'new'); } } diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index df60cabfd5ae..b7bf8c8b14f4 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -101,7 +101,7 @@ function tracker_page($uid = 0) { if ($new = comment_num_new($node->nid)) { $comments .= '<br />'; - $comments .= l(format_plural($new, '1 new', '%num new'), "node/$node->nid", NULL, NULL, 'new'); + $comments .= l(format_plural($new, '1 new', '%count new'), "node/$node->nid", NULL, NULL, 'new'); } } -- GitLab