summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-01-12 16:22:46 +0000
committerDries Buytaert <dries@buytaert.net>2006-01-12 16:22:46 +0000
commitbc149ab22b25c1de47a1b28c58fdbd7c7892eff1 (patch)
treed4cb133bed33d4edf7a441031468e3132b815d03
parent6e45b2f9c30f0e190c4746656667208d86a37bd8 (diff)
downloadbrdo-bc149ab22b25c1de47a1b28c58fdbd7c7892eff1.tar.gz
brdo-bc149ab22b25c1de47a1b28c58fdbd7c7892eff1.tar.bz2
- Patch #33128 by Morbus: %num -> %count to make format_plural() work.
-rw-r--r--modules/tracker.module2
-rw-r--r--modules/tracker/tracker.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/tracker.module b/modules/tracker.module
index df60cabfd..b7bf8c8b1 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 df60cabfd..b7bf8c8b1 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');
}
}