Don't you love English? What's the plural of "new"? "New", of course ![]()
(that's why we all luuuv English, but hate it as developers)
Most languages will have a plural for "new", so this means comments.module needs format_plural() on line 632 (ver 4.1.0 RC)
But this is tricky Because of the way the locale module works you actually need 2 different words. In my case (I am using locale.module) I just made up a word "newplural" that translates as "new" in English. But what if you are not using locale? I don't know... maybe the Drupalmasters will have an answer. Right now I am using the following solution:
$links[] = l(format_plural($new["count_new"], 'new', 'newplural'), array("id" => $node->nid), "node", $new["id_first_new"], array("title" => t('Jump to first NEW comment of this posting.')));
Comments
Comment #1
dries commentedFixed in future releases. Won't fix in Drupal 4.0.0.
Comment #2
dries commented