From ef0e3ffb4453a178ce42105e0a003007f2ac398b Mon Sep 17 00:00:00 2001 From: Steven Wittens <steven@10.no-reply.drupal.org> Date: Sun, 8 Jan 2006 03:41:48 +0000 Subject: [PATCH] - #33128: Format plural for %n new --- 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 a7de92e22da0..df60cabfd5ae 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(t('%num new', array('%num' => $new)), "node/$node->nid", NULL, NULL, 'new'); + $comments .= l(format_plural($new, '1 new', '%num new'), "node/$node->nid", NULL, NULL, 'new'); } } diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index a7de92e22da0..df60cabfd5ae 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(t('%num new', array('%num' => $new)), "node/$node->nid", NULL, NULL, 'new'); + $comments .= l(format_plural($new, '1 new', '%num new'), "node/$node->nid", NULL, NULL, 'new'); } } -- GitLab