Use __ngettext() for plurals. Props darkdragon. see #4865

git-svn-id: http://svn.automattic.com/wordpress/trunk@6430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2007-12-20 17:05:06 +00:00
parent 7c1515630d
commit 7f722d1f90
14 changed files with 22 additions and 21 deletions

View File

@@ -119,7 +119,7 @@ class LJ_Import {
}
if ( $num_comments ) {
echo ' ';
printf(__('(%s comments)'), $num_comments);
printf(__ngettext('(%s comment)', '(%s comments)', $num_comments), $num_comments);
}
echo '</li>';
}