diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-01-21 22:44:25 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-01-21 22:44:25 +0000 |
commit | 9a23223e253d95377123a9b4b49a54cc8cdbe744 (patch) | |
tree | f3817e25046234ada392e4c5ed1aa0d1177db454 /modules/comment/comment.module | |
parent | ef0acbf2ddbfdfb8d639c317b82fa40daa6e1c5b (diff) | |
download | brdo-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/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 38c5b3c80..d1afd7cd4 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -621,10 +621,10 @@ function comment_link($type, $node = 0, $main = 0) { $new = comment_num_new($node->nid); if ($all) { - $links[] = l(format_plural($all, "comment", "comments"), "node/view/$node->nid#comment", array("title" => t('Jump to first comment of this posting.'))); + $links[] = l(format_plural($all, "1 comment", "%count comments"), "node/view/$node->nid#comment", array("title" => t("Jump to the first comment of this posting."))); if ($new) { - $links[] = l("$new ". t("new"), "node/view/$node->nid#new", array("title" => t('Jump to first new comment of this posting.'))); + $links[] = l(format_plural($new, "1 new comment", "%count new comments"), "node/view/$node->nid#new", array("title" => t("Jump to the first new comment of this posting."))); } } else { |