diff --git a/modules/tracker.module b/modules/tracker.module index c4c3e9607caf448e789e6c9f8a98ed564a037ec6..383bd5edb8479f1ce9ceb7a62481a8bd8530999d 100644 --- a/modules/tracker.module +++ b/modules/tracker.module @@ -47,7 +47,7 @@ function tracker_posts($id = 0) { $comments = array(); while ($comment = db_fetch_object($cresult)) { - $comments[] = "<li>". l($comment->subject, "node/view/$node->nid#$comment->cid") ." ". t("by") ." ". format_name($comment) ." ". (node_is_new($comment->nid, $comment->timestamp) ? theme("theme_mark") : "") ."</li>\n"; + $comments[] = "<li>". t("%subject by %author", array("%subject" => l($comment->subject, "node/view/$node->nid#$comment->cid"), "%author" => format_name($comment))). " ". (node_is_new($comment->nid, $comment->timestamp) ? theme("theme_mark") : "") ."</li>\n"; } if ($comments) { diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index c4c3e9607caf448e789e6c9f8a98ed564a037ec6..383bd5edb8479f1ce9ceb7a62481a8bd8530999d 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -47,7 +47,7 @@ function tracker_posts($id = 0) { $comments = array(); while ($comment = db_fetch_object($cresult)) { - $comments[] = "<li>". l($comment->subject, "node/view/$node->nid#$comment->cid") ." ". t("by") ." ". format_name($comment) ." ". (node_is_new($comment->nid, $comment->timestamp) ? theme("theme_mark") : "") ."</li>\n"; + $comments[] = "<li>". t("%subject by %author", array("%subject" => l($comment->subject, "node/view/$node->nid#$comment->cid"), "%author" => format_name($comment))). " ". (node_is_new($comment->nid, $comment->timestamp) ? theme("theme_mark") : "") ."</li>\n"; } if ($comments) {